Lines Matching refs:child
26 struct crypto_cipher *child; member
33 struct crypto_cipher *child = ctx->child; in crypto_pcbc_setkey() local
36 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_pcbc_setkey()
37 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_pcbc_setkey()
39 err = crypto_cipher_setkey(child, key, keylen); in crypto_pcbc_setkey()
40 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_pcbc_setkey()
104 struct crypto_cipher *child = ctx->child; in crypto_pcbc_encrypt() local
113 child); in crypto_pcbc_encrypt()
116 child); in crypto_pcbc_encrypt()
184 struct crypto_cipher *child = ctx->child; in crypto_pcbc_decrypt() local
193 child); in crypto_pcbc_decrypt()
196 child); in crypto_pcbc_decrypt()
214 ctx->child = cipher; in crypto_pcbc_init_tfm()
221 crypto_free_cipher(ctx->child); in crypto_pcbc_exit_tfm()