Lines Matching refs:blockcipher
62 struct crypto_cipher *blockcipher; member
148 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
149 crypto_cipher_set_flags(tctx->blockcipher, in adiantum_setkey()
152 err = crypto_cipher_setkey(tctx->blockcipher, keyp, in adiantum_setkey()
421 crypto_cipher_encrypt_one(tctx->blockcipher, rbuf.bytes, in adiantum_crypt()
456 crypto_cipher_decrypt_one(tctx->blockcipher, rbuf.bytes, in adiantum_crypt()
503 struct crypto_cipher *blockcipher; in adiantum_init_tfm() local
510 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn); in adiantum_init_tfm()
511 if (IS_ERR(blockcipher)) { in adiantum_init_tfm()
512 err = PTR_ERR(blockcipher); in adiantum_init_tfm()
517 tctx->blockcipher = blockcipher; in adiantum_init_tfm()
538 crypto_free_cipher(tctx->blockcipher); in adiantum_exit_tfm()