Lines Matching refs:child
29 struct crypto_cipher *child; member
37 struct crypto_cipher *child = ctx->tweak; in setkey() local
54 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in setkey()
55 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in setkey()
57 err = crypto_cipher_setkey(child, key + keylen/2, keylen/2); in setkey()
61 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in setkey()
64 child = ctx->child; in setkey()
67 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in setkey()
68 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in setkey()
70 err = crypto_cipher_setkey(child, key, keylen/2); in setkey()
74 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in setkey()
102 .tfm = crypto_cipher_tfm(ctx->child), in crypt()
155 crypto_cipher_alg(ctx->child)->cia_encrypt); in encrypt()
166 crypto_cipher_alg(ctx->child)->cia_decrypt); in decrypt()
259 ctx->child = cipher; in init_tfm()
263 crypto_free_cipher(ctx->child); in init_tfm()
270 crypto_free_cipher(ctx->child); in init_tfm()
283 crypto_free_cipher(ctx->child); in exit_tfm()