Lines Matching refs:child

72 	struct crypto_skcipher *child;  member
81 struct crypto_shash *child; member
92 struct crypto_aead *child; member
237 struct crypto_skcipher *child = ctx->child; in cryptd_skcipher_setkey() local
239 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_skcipher_setkey()
240 crypto_skcipher_set_flags(child, in cryptd_skcipher_setkey()
243 return crypto_skcipher_setkey(child, key, keylen); in cryptd_skcipher_setkey()
252 struct crypto_skcipher *child; in cryptd_skcipher_prepare() local
261 child = ctx->child; in cryptd_skcipher_prepare()
263 skcipher_request_set_tfm(subreq, child); in cryptd_skcipher_prepare()
357 ctx->child = cipher; in cryptd_skcipher_init_tfm()
368 crypto_free_skcipher(ctx->child); in cryptd_skcipher_exit_tfm()
448 ctx->child = hash; in cryptd_hash_init_tfm()
462 hash = crypto_clone_shash(ctx->child); in cryptd_hash_clone_tfm()
466 nctx->child = hash; in cryptd_hash_clone_tfm()
474 crypto_free_shash(ctx->child); in cryptd_hash_exit_tfm()
481 struct crypto_shash *child = ctx->child; in cryptd_hash_setkey() local
483 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
484 crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) & in cryptd_hash_setkey()
486 return crypto_shash_setkey(child, key, keylen); in cryptd_hash_setkey()
542 struct crypto_shash *child = ctx->child; in cryptd_hash_init() local
549 desc->tfm = child; in cryptd_hash_init()
618 struct crypto_shash *child = ctx->child; in cryptd_hash_digest() local
625 desc->tfm = child; in cryptd_hash_digest()
651 desc->tfm = ctx->child; in cryptd_hash_import()
729 struct crypto_aead *child = ctx->child; in cryptd_aead_setkey() local
731 return crypto_aead_setkey(child, key, keylen); in cryptd_aead_setkey()
738 struct crypto_aead *child = ctx->child; in cryptd_aead_setauthsize() local
740 return crypto_aead_setauthsize(child, authsize); in cryptd_aead_setauthsize()
744 struct crypto_aead *child, int err, in cryptd_aead_crypt() argument
764 aead_request_set_tfm(subreq, child); in cryptd_aead_crypt()
794 struct crypto_aead *child; in cryptd_aead_encrypt() local
797 child = ctx->child; in cryptd_aead_encrypt()
798 cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->encrypt, in cryptd_aead_encrypt()
806 struct crypto_aead *child; in cryptd_aead_decrypt() local
809 child = ctx->child; in cryptd_aead_decrypt()
810 cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->decrypt, in cryptd_aead_decrypt()
851 ctx->child = cipher; in cryptd_aead_init_tfm()
861 crypto_free_aead(ctx->child); in cryptd_aead_exit_tfm()
986 return ctx->child; in cryptd_skcipher_child()
1036 return ctx->child; in cryptd_ahash_child()
1093 return ctx->child; in cryptd_aead_child()