Lines Matching refs:child
91 struct crypto_cipher *child; member
141 struct crypto_cipher *child = ctx->child; in crypto_kw_decrypt() local
144 crypto_cipher_alignmask(child)); in crypto_kw_decrypt()
193 crypto_cipher_decrypt_one(child, (u8*)block, in crypto_kw_decrypt()
226 struct crypto_cipher *child = ctx->child; in crypto_kw_encrypt() local
229 crypto_cipher_alignmask(child)); in crypto_kw_encrypt()
277 crypto_cipher_encrypt_one(child, (u8 *)block, in crypto_kw_encrypt()
309 struct crypto_cipher *child = ctx->child; in crypto_kw_setkey() local
312 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_kw_setkey()
313 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_kw_setkey()
315 err = crypto_cipher_setkey(child, key, keylen); in crypto_kw_setkey()
316 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_kw_setkey()
332 ctx->child = cipher; in crypto_kw_init_tfm()
340 crypto_free_cipher(ctx->child); in crypto_kw_exit_tfm()