Lines Matching defs:tfm

287 	struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
288 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
305 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
306 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
307 u32 digestsize = crypto_ahash_digestsize(tfm);
325 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
326 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
327 u32 digestsize = crypto_ahash_digestsize(tfm);
345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
346 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
347 u32 digestsize = crypto_ahash_digestsize(tfm);
368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
369 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
370 u32 digestsize = crypto_ahash_digestsize(tfm);
421 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
422 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
423 u32 digestsize = crypto_ahash_digestsize(tfm);
559 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
560 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
561 unsigned int block_size = crypto_tfm_alg_blocksize(&tfm->base);
635 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
636 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
637 u32 digestsize = crypto_ahash_digestsize(tfm);
715 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
716 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
1110 static int cc_get_hash_len(struct crypto_tfm *tfm)
1112 struct cc_hash_ctx *ctx = crypto_tfm_ctx(tfm);
1120 static int cc_cra_init(struct crypto_tfm *tfm)
1122 struct cc_hash_ctx *ctx = crypto_tfm_ctx(tfm);
1124 container_of(tfm->__crt_alg, struct hash_alg_common, base);
1130 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm),
1137 ctx->hash_len = cc_get_hash_len(tfm);
1141 static void cc_cra_exit(struct crypto_tfm *tfm)
1143 struct cc_hash_ctx *ctx = crypto_tfm_ctx(tfm);
1153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1154 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
1156 unsigned int block_size = crypto_tfm_alg_blocksize(&tfm->base);
1221 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1222 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
1229 u32 digestsize = crypto_ahash_digestsize(tfm);
1342 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1343 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
1350 u32 digestsize = crypto_ahash_digestsize(tfm);
1423 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
1424 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
1426 u32 digestsize = crypto_ahash_digestsize(tfm);
2077 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq);
2078 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);
2134 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq);
2135 struct cc_hash_ctx *ctx = crypto_ahash_ctx(tfm);