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