Lines Matching refs:parent
568 static int crypto_rfc4309_setkey(struct crypto_aead *parent, const u8 *key,
571 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent);
581 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) &
586 static int crypto_rfc4309_setauthsize(struct crypto_aead *parent,
589 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent);
777 static int crypto_cbcmac_digest_setkey(struct crypto_shash *parent,
780 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent);
800 struct crypto_shash *parent = pdesc->tfm;
801 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent);
804 int bs = crypto_shash_digestsize(parent);
805 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs;
826 struct crypto_shash *parent = pdesc->tfm;
827 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent);
830 int bs = crypto_shash_digestsize(parent);
831 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs;