Lines Matching refs:child
35 struct crypto_aead *child; member
669 struct crypto_aead *child = ctx->child; in crypto_rfc4309_setkey() local
678 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
679 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4309_setkey()
681 err = crypto_aead_setkey(child, key, keylen); in crypto_rfc4309_setkey()
682 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4309_setkey()
702 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()
711 struct crypto_aead *child = ctx->child; in crypto_rfc4309_crypt() local
713 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), in crypto_rfc4309_crypt()
714 crypto_aead_alignmask(child) + 1); in crypto_rfc4309_crypt()
738 aead_request_set_tfm(subreq, child); in crypto_rfc4309_crypt()
781 ctx->child = aead; in crypto_rfc4309_init_tfm()
798 crypto_free_aead(ctx->child); in crypto_rfc4309_exit_tfm()