Lines Matching defs:blockcipher
42 struct crypto_cipher *blockcipher;
103 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK);
104 crypto_cipher_set_flags(tctx->blockcipher,
107 err = crypto_cipher_setkey(tctx->blockcipher, key, keylen);
120 crypto_cipher_encrypt_one(tctx->blockcipher, hbar, hbar);
124 crypto_cipher_encrypt_one(tctx->blockcipher, tctx->L, tctx->L);
240 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->first_block,
243 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->first_block,
279 struct crypto_cipher *blockcipher;
286 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn);
287 if (IS_ERR(blockcipher)) {
288 err = PTR_ERR(blockcipher);
293 tctx->blockcipher = blockcipher;
312 crypto_free_cipher(tctx->blockcipher);