Lines Matching refs:child
23 struct crypto_cipher *child; member
30 struct crypto_cipher *child = ctx->child; in crypto_cbc_setkey() local
33 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cbc_setkey()
34 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_cbc_setkey()
36 err = crypto_cipher_setkey(child, key, keylen); in crypto_cbc_setkey()
37 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_cbc_setkey()
97 struct crypto_cipher *child = ctx->child; in crypto_cbc_encrypt() local
105 nbytes = crypto_cbc_encrypt_inplace(desc, &walk, child); in crypto_cbc_encrypt()
107 nbytes = crypto_cbc_encrypt_segment(desc, &walk, child); in crypto_cbc_encrypt()
176 struct crypto_cipher *child = ctx->child; in crypto_cbc_decrypt() local
184 nbytes = crypto_cbc_decrypt_inplace(desc, &walk, child); in crypto_cbc_decrypt()
186 nbytes = crypto_cbc_decrypt_segment(desc, &walk, child); in crypto_cbc_decrypt()
204 ctx->child = cipher; in crypto_cbc_init_tfm()
211 crypto_free_cipher(ctx->child); in crypto_cbc_exit_tfm()