• Home
  • Raw
  • Download

Lines Matching refs:child

63 	struct crypto_blkcipher *child;  member
72 struct crypto_shash *child; member
82 struct crypto_aead *child; member
210 struct crypto_blkcipher *child = ctx->child; in cryptd_blkcipher_setkey() local
213 crypto_blkcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_blkcipher_setkey()
214 crypto_blkcipher_set_flags(child, crypto_ablkcipher_get_flags(parent) & in cryptd_blkcipher_setkey()
216 err = crypto_blkcipher_setkey(child, key, keylen); in cryptd_blkcipher_setkey()
217 crypto_ablkcipher_set_flags(parent, crypto_blkcipher_get_flags(child) & in cryptd_blkcipher_setkey()
223 struct crypto_blkcipher *child, in cryptd_blkcipher_crypt() argument
241 desc.tfm = child; in cryptd_blkcipher_crypt()
265 struct crypto_blkcipher *child = ctx->child; in cryptd_blkcipher_encrypt() local
267 cryptd_blkcipher_crypt(ablkcipher_request_cast(req), child, err, in cryptd_blkcipher_encrypt()
268 crypto_blkcipher_crt(child)->encrypt); in cryptd_blkcipher_encrypt()
274 struct crypto_blkcipher *child = ctx->child; in cryptd_blkcipher_decrypt() local
276 cryptd_blkcipher_crypt(ablkcipher_request_cast(req), child, err, in cryptd_blkcipher_decrypt()
277 crypto_blkcipher_crt(child)->decrypt); in cryptd_blkcipher_decrypt()
316 ctx->child = cipher; in cryptd_blkcipher_init_tfm()
326 crypto_free_blkcipher(ctx->child); in cryptd_blkcipher_exit_tfm()
447 ctx->child = hash; in cryptd_hash_init_tfm()
458 crypto_free_shash(ctx->child); in cryptd_hash_exit_tfm()
465 struct crypto_shash *child = ctx->child; in cryptd_hash_setkey() local
468 crypto_shash_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_hash_setkey()
469 crypto_shash_set_flags(child, crypto_ahash_get_flags(parent) & in cryptd_hash_setkey()
471 err = crypto_shash_setkey(child, key, keylen); in cryptd_hash_setkey()
472 crypto_ahash_set_flags(parent, crypto_shash_get_flags(child) & in cryptd_hash_setkey()
509 struct crypto_shash *child = ctx->child; in cryptd_hash_init() local
517 desc->tfm = child; in cryptd_hash_init()
601 struct crypto_shash *child = ctx->child; in cryptd_hash_digest() local
609 desc->tfm = child; in cryptd_hash_digest()
638 desc->tfm = ctx->child; in cryptd_hash_import()
713 struct crypto_aead *child = ctx->child; in cryptd_aead_setkey() local
715 return crypto_aead_setkey(child, key, keylen); in cryptd_aead_setkey()
722 struct crypto_aead *child = ctx->child; in cryptd_aead_setauthsize() local
724 return crypto_aead_setauthsize(child, authsize); in cryptd_aead_setauthsize()
728 struct crypto_aead *child, in cryptd_aead_crypt() argument
745 aead_request_set_tfm(req, child); in cryptd_aead_crypt()
763 struct crypto_aead *child = ctx->child; in cryptd_aead_encrypt() local
767 cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->encrypt); in cryptd_aead_encrypt()
773 struct crypto_aead *child = ctx->child; in cryptd_aead_decrypt() local
777 cryptd_aead_crypt(req, child, err, crypto_aead_alg(child)->decrypt); in cryptd_aead_decrypt()
814 ctx->child = cipher; in cryptd_aead_init_tfm()
824 crypto_free_aead(ctx->child); in cryptd_aead_exit_tfm()
967 return ctx->child; in cryptd_ablkcipher_child()
1017 return ctx->child; in cryptd_ahash_child()
1074 return ctx->child; in cryptd_aead_child()