Lines Matching refs:parent
40 static int hmac_setkey(struct crypto_shash *parent, in hmac_setkey() argument
43 int bs = crypto_shash_blocksize(parent); in hmac_setkey()
44 int ds = crypto_shash_digestsize(parent); in hmac_setkey()
45 int ss = crypto_shash_statesize(parent); in hmac_setkey()
46 char *ipad = crypto_shash_ctx_aligned(parent); in hmac_setkey()
115 struct crypto_shash *parent = pdesc->tfm; in hmac_final() local
116 int ds = crypto_shash_digestsize(parent); in hmac_final()
117 int ss = crypto_shash_statesize(parent); in hmac_final()
118 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_final()
130 struct crypto_shash *parent = pdesc->tfm; in hmac_finup() local
131 int ds = crypto_shash_digestsize(parent); in hmac_finup()
132 int ss = crypto_shash_statesize(parent); in hmac_finup()
133 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_finup()
141 static int hmac_init_tfm(struct crypto_shash *parent) in hmac_init_tfm() argument
144 struct shash_instance *inst = shash_alg_instance(parent); in hmac_init_tfm()
146 struct hmac_ctx *ctx = hmac_ctx(parent); in hmac_init_tfm()
152 parent->descsize = sizeof(struct shash_desc) + in hmac_init_tfm()
159 static void hmac_exit_tfm(struct crypto_shash *parent) in hmac_exit_tfm() argument
161 struct hmac_ctx *ctx = hmac_ctx(parent); in hmac_exit_tfm()