Lines Matching refs:child
35 struct crypto_aead *child; member
642 struct crypto_aead *child = ctx->child; in crypto_rfc4309_setkey() local
651 crypto_aead_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_rfc4309_setkey()
652 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4309_setkey()
654 err = crypto_aead_setkey(child, key, keylen); in crypto_rfc4309_setkey()
655 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4309_setkey()
675 return crypto_aead_setauthsize(ctx->child, authsize); in crypto_rfc4309_setauthsize()
683 struct crypto_aead *child = ctx->child; in crypto_rfc4309_crypt() local
684 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), in crypto_rfc4309_crypt()
685 crypto_aead_alignmask(child) + 1); in crypto_rfc4309_crypt()
693 aead_request_set_tfm(subreq, child); in crypto_rfc4309_crypt()
728 ctx->child = aead; in crypto_rfc4309_init_tfm()
744 crypto_free_aead(ctx->child); in crypto_rfc4309_exit_tfm()