Lines Matching refs:parent
44 static int hmac_setkey(struct crypto_shash *parent, in hmac_setkey() argument
47 int bs = crypto_shash_blocksize(parent); in hmac_setkey()
48 int ds = crypto_shash_digestsize(parent); in hmac_setkey()
49 int ss = crypto_shash_statesize(parent); in hmac_setkey()
50 char *ipad = crypto_shash_ctx_aligned(parent); in hmac_setkey()
59 shash->flags = crypto_shash_get_flags(parent) in hmac_setkey()
126 struct crypto_shash *parent = pdesc->tfm; in hmac_final() local
127 int ds = crypto_shash_digestsize(parent); in hmac_final()
128 int ss = crypto_shash_statesize(parent); in hmac_final()
129 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_final()
143 struct crypto_shash *parent = pdesc->tfm; in hmac_finup() local
144 int ds = crypto_shash_digestsize(parent); in hmac_finup()
145 int ss = crypto_shash_statesize(parent); in hmac_finup()
146 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_finup()
158 struct crypto_shash *parent = __crypto_shash_cast(tfm); in hmac_init_tfm() local
162 struct hmac_ctx *ctx = hmac_ctx(parent); in hmac_init_tfm()
168 parent->descsize = sizeof(struct shash_desc) + in hmac_init_tfm()