Searched refs:blockcipher (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/crypto/ |
A D | hctr2.c | 44 struct crypto_cipher *blockcipher; member 137 crypto_cipher_set_flags(tctx->blockcipher, in hctr2_setkey() 140 err = crypto_cipher_setkey(tctx->blockcipher, key, keylen); in hctr2_setkey() 153 crypto_cipher_encrypt_one(tctx->blockcipher, hbar, hbar); in hctr2_setkey() 340 struct crypto_cipher *blockcipher; in hctr2_init_tfm() local 349 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn); in hctr2_init_tfm() 350 if (IS_ERR(blockcipher)) { in hctr2_init_tfm() 351 err = PTR_ERR(blockcipher); in hctr2_init_tfm() 362 tctx->blockcipher = blockcipher; in hctr2_init_tfm() 379 crypto_free_cipher(blockcipher); in hctr2_init_tfm() [all …]
|
A D | adiantum.c | 72 struct crypto_cipher *blockcipher; member 161 crypto_cipher_set_flags(tctx->blockcipher, in adiantum_setkey() 164 err = crypto_cipher_setkey(tctx->blockcipher, keyp, in adiantum_setkey() 293 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->rbuf.bytes, in adiantum_finish() 402 struct crypto_cipher *blockcipher; in adiantum_init_tfm() local 411 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn); in adiantum_init_tfm() 412 if (IS_ERR(blockcipher)) { in adiantum_init_tfm() 413 err = PTR_ERR(blockcipher); in adiantum_init_tfm() 424 tctx->blockcipher = blockcipher; in adiantum_init_tfm() 442 crypto_free_cipher(blockcipher); in adiantum_init_tfm() [all …]
|
A D | Kconfig | 759 This blockcipher mode is a variant of CTR mode using XORs and little-endian
|
Completed in 9 milliseconds