Lines Matching refs:parent
602 static int crypto_rfc4309_setkey(struct crypto_aead *parent, const u8 *key, in crypto_rfc4309_setkey() argument
605 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey()
616 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4309_setkey()
619 crypto_aead_set_flags(parent, crypto_aead_get_flags(child) & in crypto_rfc4309_setkey()
625 static int crypto_rfc4309_setauthsize(struct crypto_aead *parent, in crypto_rfc4309_setauthsize() argument
628 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize()
832 static int crypto_cbcmac_digest_setkey(struct crypto_shash *parent, in crypto_cbcmac_digest_setkey() argument
835 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_setkey()
855 struct crypto_shash *parent = pdesc->tfm; in crypto_cbcmac_digest_update() local
856 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_update()
859 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_update()
860 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_update()
881 struct crypto_shash *parent = pdesc->tfm; in crypto_cbcmac_digest_final() local
882 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_final()
885 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_final()
886 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_final()