Lines Matching refs:tfm

28 	struct qce_aead_ctx *ctx = crypto_tfm_ctx(async_req->tfm);
188 struct crypto_aead *tfm = crypto_aead_reqtfm(req);
190 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm);
332 struct crypto_aead *tfm = crypto_aead_reqtfm(req);
333 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm);
412 struct crypto_aead *tfm = crypto_aead_reqtfm(req);
413 struct qce_aead_ctx *ctx = crypto_tfm_ctx(async_req->tfm);
429 rctx->ivsize = crypto_aead_ivsize(tfm);
504 struct crypto_aead *tfm = crypto_aead_reqtfm(req);
506 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm);
507 struct qce_alg_template *tmpl = to_aead_tmpl(tfm);
508 unsigned int blocksize = crypto_aead_blocksize(tfm);
565 static int qce_aead_ccm_setkey(struct crypto_aead *tfm, const u8 *key,
568 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm);
569 unsigned long flags = to_aead_tmpl(tfm)->alg_flags;
595 static int qce_aead_setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen)
597 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm);
599 unsigned long flags = to_aead_tmpl(tfm)->alg_flags;
612 err = verify_aead_des_key(tfm, authenc_keys.enckey, authenc_keys.enckeylen);
616 err = verify_aead_des3_key(tfm, authenc_keys.enckey, authenc_keys.enckeylen);
651 static int qce_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize)
653 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm);
654 unsigned long flags = to_aead_tmpl(tfm)->alg_flags;
667 static int qce_aead_init(struct crypto_aead *tfm)
669 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm);
672 ctx->fallback = crypto_alloc_aead(crypto_tfm_alg_name(&tfm->base),
678 crypto_aead_set_reqsize_dma(tfm, sizeof(struct qce_aead_reqctx) +
683 static void qce_aead_exit(struct crypto_aead *tfm)
685 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm);