Lines Matching refs:parent
569 static int crypto_rfc4309_setkey(struct crypto_aead *parent, const u8 *key, in crypto_rfc4309_setkey() argument
572 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey()
582 crypto_aead_set_flags(child, crypto_aead_get_flags(parent) & in crypto_rfc4309_setkey()
587 static int crypto_rfc4309_setauthsize(struct crypto_aead *parent, in crypto_rfc4309_setauthsize() argument
590 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize()
778 static int crypto_cbcmac_digest_setkey(struct crypto_shash *parent, in crypto_cbcmac_digest_setkey() argument
781 struct cbcmac_tfm_ctx *ctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_setkey()
801 struct crypto_shash *parent = pdesc->tfm; in crypto_cbcmac_digest_update() local
802 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_update()
805 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_update()
806 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_update()
827 struct crypto_shash *parent = pdesc->tfm; in crypto_cbcmac_digest_final() local
828 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cbcmac_digest_final()
831 int bs = crypto_shash_digestsize(parent); in crypto_cbcmac_digest_final()
832 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_final()