summaryrefslogtreecommitdiffstats
path: root/cryptodev_main.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-24 18:56:53 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-26 00:31:35 +0200
commit2c3943aab40b4c0b34809153c29f3a3a4eaebe72 (patch)
tree4c61c3838958506886549887be23855167c5ead5 /cryptodev_main.c
parentf84ea240b18ce93ae26030ce28d19af4bc9962a1 (diff)
downloadkernel-crypto-2c3943aab40b4c0b34809153c29f3a3a4eaebe72.tar.gz
kernel-crypto-2c3943aab40b4c0b34809153c29f3a3a4eaebe72.tar.xz
kernel-crypto-2c3943aab40b4c0b34809153c29f3a3a4eaebe72.zip
Added AES in CTR mode.
Diffstat (limited to 'cryptodev_main.c')
-rw-r--r--cryptodev_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cryptodev_main.c b/cryptodev_main.c
index 3cb96fb6a98..7ed09116e25 100644
--- a/cryptodev_main.c
+++ b/cryptodev_main.c
@@ -136,6 +136,9 @@ crypto_create_session(struct fcrypt *fcr, struct session_op *sop)
case CRYPTO_CAMELLIA_CBC:
alg_name = "cbc(camelia)";
break;
+ case CRYPTO_AES_CTR:
+ alg_name = "ctr(aes)";
+ break;
case CRYPTO_NULL:
alg_name = "ecb(cipher_null)";
break;