Lines Matching refs:derived
274 struct n2_ahash_alg derived; member
284 return container_of(ahash_alg, struct n2_hmac_alg, derived.alg); in n2_hmac_alg()
635 ds = n2alg->derived.digest_size; in n2_hmac_async_digest()
650 memcpy(&rctx->u, n2alg->derived.hash_init, in n2_hmac_async_digest()
651 n2alg->derived.hw_op_hashsz); in n2_hmac_async_digest()
653 return n2_do_async_digest(req, n2alg->derived.hmac_type, in n2_hmac_async_digest()
654 n2alg->derived.hw_op_hashsz, ds, in n2_hmac_async_digest()
1313 list_for_each_entry_safe(hmac, hmac_tmp, &hmac_algs, derived.entry) { in __n2_unregister_algs()
1314 crypto_unregister_ahash(&hmac->derived.alg); in __n2_unregister_algs()
1315 list_del(&hmac->derived.entry); in __n2_unregister_algs()
1377 memcpy(&p->derived, n2ahash, sizeof(struct n2_ahash_alg)); in __n2_register_one_hmac()
1378 INIT_LIST_HEAD(&p->derived.entry); in __n2_register_one_hmac()
1380 ahash = &p->derived.alg; in __n2_register_one_hmac()
1392 list_add(&p->derived.entry, &hmac_algs); in __n2_register_one_hmac()
1396 list_del(&p->derived.entry); in __n2_register_one_hmac()