Lines Matching defs:blockcipher
71 struct crypto_cipher *blockcipher;
159 crypto_cipher_clear_flags(tctx->blockcipher, CRYPTO_TFM_REQ_MASK);
160 crypto_cipher_set_flags(tctx->blockcipher,
163 err = crypto_cipher_setkey(tctx->blockcipher, keyp,
292 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->rbuf.bytes,
352 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->rbuf.bytes,
402 struct crypto_cipher *blockcipher;
411 blockcipher = crypto_spawn_cipher(&ictx->blockcipher_spawn);
412 if (IS_ERR(blockcipher)) {
413 err = PTR_ERR(blockcipher);
424 tctx->blockcipher = blockcipher;
442 crypto_free_cipher(blockcipher);
453 crypto_free_cipher(tctx->blockcipher);