Lines Matching refs:ahash
719 static int cc_hash_setkey(struct crypto_ahash *ahash, const u8 *key, in cc_hash_setkey() argument
732 ctx = crypto_ahash_ctx(ahash); in cc_hash_setkey()
736 blocksize = crypto_tfm_alg_blocksize(&ahash->base); in cc_hash_setkey()
737 digestsize = crypto_ahash_digestsize(ahash); in cc_hash_setkey()
903 crypto_ahash_set_flags(ahash, CRYPTO_TFM_RES_BAD_KEY_LEN); in cc_hash_setkey()
917 static int cc_xcbc_setkey(struct crypto_ahash *ahash, in cc_xcbc_setkey() argument
921 struct cc_hash_ctx *ctx = crypto_ahash_ctx(ahash); in cc_xcbc_setkey()
994 crypto_ahash_set_flags(ahash, CRYPTO_TFM_RES_BAD_KEY_LEN); in cc_xcbc_setkey()
1006 static int cc_cmac_setkey(struct crypto_ahash *ahash, in cc_cmac_setkey() argument
1009 struct cc_hash_ctx *ctx = crypto_ahash_ctx(ahash); in cc_cmac_setkey()
1502 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in cc_hash_export() local
1503 struct cc_hash_ctx *ctx = crypto_ahash_ctx(ahash); in cc_hash_export()
1528 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in cc_hash_import() local
1529 struct cc_hash_ctx *ctx = crypto_ahash_ctx(ahash); in cc_hash_import()