Lines Matching refs:child

71 	struct crypto_skcipher *child;
80 struct crypto_shash *child;
91 struct crypto_aead *child;
231 struct crypto_skcipher *child = ctx->child;
233 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK);
234 crypto_skcipher_set_flags(child,
237 return crypto_skcipher_setkey(child, key, keylen);
246 struct crypto_skcipher *child;
255 child = ctx->child;
257 skcipher_request_set_tfm(subreq, child);
351 ctx->child = cipher;
362 crypto_free_skcipher(ctx->child);
442 ctx->child = hash;
456 hash = crypto_clone_shash(ctx->child);
460 nctx->child = hash;
468 crypto_free_shash(ctx->child);
475 struct crypto_shash *child = ctx->child;
477 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK);
478 crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) &
480 return crypto_shash_setkey(child, key, keylen);
536 struct crypto_shash *child = ctx->child;
543 desc->tfm = child;
612 struct crypto_shash *child = ctx->child;
619 desc->tfm = child;
645 desc->tfm = ctx->child;
723 struct crypto_aead *child = ctx->child;
725 return crypto_aead_setkey(child, key, keylen);
732 struct crypto_aead *child = ctx->child;
734 return crypto_aead_setauthsize(child, authsize);
738 struct crypto_aead *child, int err,
758 aead_request_set_tfm(subreq, child);
788 struct crypto_aead *child;
791 child = ctx->child;
792 cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->encrypt,
800 struct crypto_aead *child;
803 child = ctx->child;
804 cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->decrypt,
845 ctx->child = cipher;
855 crypto_free_aead(ctx->child);
980 return ctx->child;
1030 return ctx->child;
1087 return ctx->child;