Lines Matching refs:child
31 struct crypto_aead *child; member
55 struct crypto_cipher *child; member
606 struct crypto_aead *child = ctx->child; in crypto_rfc4309_setkey() local
615 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
616 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4309_setkey()
618 err = crypto_aead_setkey(child, key, keylen); in crypto_rfc4309_setkey()
619 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4309_setkey()
639 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()
648 struct crypto_aead *child = ctx->child; in crypto_rfc4309_crypt() local
650 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), in crypto_rfc4309_crypt()
651 crypto_aead_alignmask(child) + 1); in crypto_rfc4309_crypt()
675 aead_request_set_tfm(subreq, child); in crypto_rfc4309_crypt()
718 ctx->child = aead; in crypto_rfc4309_init_tfm()
735 crypto_free_aead(ctx->child); in crypto_rfc4309_exit_tfm()
837 return crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cbcmac_digest_setkey()
858 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_update()
884 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_final()
906 ctx->child = cipher; in cbcmac_init_tfm()
914 crypto_free_cipher(ctx->child); in cbcmac_exit_tfm()