Lines Matching defs:blockcipher
44 struct crypto_cipher *blockcipher;
136 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK);
137 crypto_cipher_set_flags(tctx->blockcipher,
140 err = crypto_cipher_setkey(tctx->blockcipher, key, keylen);
153 crypto_cipher_encrypt_one(tctx->blockcipher, hbar, hbar);
157 crypto_cipher_encrypt_one(tctx->blockcipher, tctx->L, tctx->L);
301 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->first_block,
304 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->first_block,
340 struct crypto_cipher *blockcipher;
349 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn);
350 if (IS_ERR(blockcipher)) {
351 err = PTR_ERR(blockcipher);
362 tctx->blockcipher = blockcipher;
379 crypto_free_cipher(blockcipher);
389 crypto_free_cipher(tctx->blockcipher);
492 * xctr and blockcipher.