Searched refs:blockcipher (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | hctr2.c | 44 struct crypto_cipher *blockcipher; member 136 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in hctr2_setkey() 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() 157 crypto_cipher_encrypt_one(tctx->blockcipher, tctx->L, tctx->L); in hctr2_setkey() 302 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->first_block, in hctr2_crypt() 305 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->first_block, in hctr2_crypt() 341 struct crypto_cipher *blockcipher; in hctr2_init_tfm() local 350 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn); in hctr2_init_tfm() [all …]
|
D | adiantum.c | 72 struct crypto_cipher *blockcipher; member 160 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey() 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() 353 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->rbuf.bytes, in adiantum_crypt() 403 struct crypto_cipher *blockcipher; in adiantum_init_tfm() local 412 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn); in adiantum_init_tfm() 413 if (IS_ERR(blockcipher)) { in adiantum_init_tfm() 414 err = PTR_ERR(blockcipher); in adiantum_init_tfm() [all …]
|
D | Kconfig | 513 XCTR: XOR Counter mode. This blockcipher mode is a variant of CTR mode
|