Lines Matching refs:ahash

360 	struct crypto_ahash *ahash = __crypto_ahash_cast(tfm);  in n2_hash_cra_init()  local
361 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_init()
374 crypto_ahash_set_reqsize(ahash, (sizeof(struct n2_hash_req_ctx) + in n2_hash_cra_init()
386 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in n2_hash_cra_exit() local
387 struct n2_hash_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hash_cra_exit()
395 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in n2_hmac_cra_init() local
396 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_init()
419 crypto_ahash_set_reqsize(ahash, (sizeof(struct n2_hash_req_ctx) + in n2_hmac_cra_init()
435 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in n2_hmac_cra_exit() local
436 struct n2_hmac_ctx *ctx = crypto_ahash_ctx(ahash); in n2_hmac_cra_exit()
1429 struct ahash_alg *ahash; in __n2_register_one_hmac() local
1440 ahash = &p->derived.alg; in __n2_register_one_hmac()
1441 ahash->digest = n2_hmac_async_digest; in __n2_register_one_hmac()
1442 ahash->setkey = n2_hmac_async_setkey; in __n2_register_one_hmac()
1444 base = &ahash->halg.base; in __n2_register_one_hmac()
1453 err = crypto_register_ahash(ahash); in __n2_register_one_hmac()
1469 struct ahash_alg *ahash; in __n2_register_one_ahash() local
1482 ahash = &p->alg; in __n2_register_one_ahash()
1483 ahash->init = n2_hash_async_init; in __n2_register_one_ahash()
1484 ahash->update = n2_hash_async_update; in __n2_register_one_ahash()
1485 ahash->final = n2_hash_async_final; in __n2_register_one_ahash()
1486 ahash->finup = n2_hash_async_finup; in __n2_register_one_ahash()
1487 ahash->digest = n2_hash_async_digest; in __n2_register_one_ahash()
1489 halg = &ahash->halg; in __n2_register_one_ahash()
1504 err = crypto_register_ahash(ahash); in __n2_register_one_ahash()