From f0bf3a75d8d21bf5b622e58622ab5158461df98c Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 22 Jun 2010 10:51:49 +0200 Subject: [PATCH] allow using the null cipher --- cryptodev_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cryptodev_main.c b/cryptodev_main.c index 6328624..790dac3 100644 --- a/cryptodev_main.c +++ b/cryptodev_main.c @@ -129,6 +129,9 @@ crypto_create_session(struct fcrypt *fcr, struct session_op *sop) case CRYPTO_CAMELLIA_CBC: alg_name = "cbc(camelia)"; break; + case CRYPTO_NULL: + alg_name = "ecb(cipher_null)"; + break; default: dprintk(1,KERN_DEBUG,"%s: bad cipher: %d\n", __func__, sop->cipher); return -EINVAL; -- 2.11.4.GIT