crypto/qat: unify asymmetric functions