Lines Matching refs:ahash
699 static int cc_hash_setkey(struct crypto_ahash *ahash, const u8 *key, in cc_hash_setkey() argument
712 ctx = crypto_ahash_ctx(ahash); in cc_hash_setkey()
716 blocksize = crypto_tfm_alg_blocksize(&ahash->base); in cc_hash_setkey()
717 digestsize = crypto_ahash_digestsize(ahash); in cc_hash_setkey()
876 crypto_ahash_set_flags(ahash, CRYPTO_TFM_RES_BAD_KEY_LEN); in cc_hash_setkey()
887 static int cc_xcbc_setkey(struct crypto_ahash *ahash, in cc_xcbc_setkey() argument
891 struct cc_hash_ctx *ctx = crypto_ahash_ctx(ahash); in cc_xcbc_setkey()
959 crypto_ahash_set_flags(ahash, CRYPTO_TFM_RES_BAD_KEY_LEN); in cc_xcbc_setkey()
969 static int cc_cmac_setkey(struct crypto_ahash *ahash, in cc_cmac_setkey() argument
972 struct cc_hash_ctx *ctx = crypto_ahash_ctx(ahash); in cc_cmac_setkey()
1455 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in cc_hash_export() local
1456 struct cc_hash_ctx *ctx = crypto_ahash_ctx(ahash); in cc_hash_export()
1481 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in cc_hash_import() local
1482 struct cc_hash_ctx *ctx = crypto_ahash_ctx(ahash); in cc_hash_import()