Lines Matching refs:child
22 struct crypto_cipher *child; member
29 struct crypto_cipher *child = ctx->child; in crypto_ecb_setkey() local
32 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_ecb_setkey()
33 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_ecb_setkey()
35 err = crypto_cipher_setkey(child, key, keylen); in crypto_ecb_setkey()
36 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_ecb_setkey()
76 struct crypto_cipher *child = ctx->child; in crypto_ecb_encrypt() local
79 return crypto_ecb_crypt(desc, &walk, child, in crypto_ecb_encrypt()
80 crypto_cipher_alg(child)->cia_encrypt); in crypto_ecb_encrypt()
90 struct crypto_cipher *child = ctx->child; in crypto_ecb_decrypt() local
93 return crypto_ecb_crypt(desc, &walk, child, in crypto_ecb_decrypt()
94 crypto_cipher_alg(child)->cia_decrypt); in crypto_ecb_decrypt()
108 ctx->child = cipher; in crypto_ecb_init_tfm()
115 crypto_free_cipher(ctx->child); in crypto_ecb_exit_tfm()