Lines Matching refs:blockcipher
72 struct crypto_cipher *blockcipher; member
163 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
164 crypto_cipher_set_flags(tctx->blockcipher, in adiantum_setkey()
167 err = crypto_cipher_setkey(tctx->blockcipher, keyp, in adiantum_setkey()
170 crypto_cipher_get_flags(tctx->blockcipher) & in adiantum_setkey()
301 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->rbuf.bytes, in adiantum_finish()
361 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->rbuf.bytes, in adiantum_crypt()
411 struct crypto_cipher *blockcipher; in adiantum_init_tfm() local
420 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn); in adiantum_init_tfm()
421 if (IS_ERR(blockcipher)) { in adiantum_init_tfm()
422 err = PTR_ERR(blockcipher); in adiantum_init_tfm()
433 tctx->blockcipher = blockcipher; in adiantum_init_tfm()
451 crypto_free_cipher(blockcipher); in adiantum_init_tfm()
462 crypto_free_cipher(tctx->blockcipher); in adiantum_exit_tfm()