Module Name: src
Committed By: drochner
Date: Mon May 23 13:54:00 UTC 2011
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
being here, export camellia-cbc through crypto(4) to allow userland tests
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/opencrypto/cryptodev.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/opencrypto/cryptodev.c
diff -u src/sys/opencrypto/cryptodev.c:1.59 src/sys/opencrypto/cryptodev.c:1.60
--- src/sys/opencrypto/cryptodev.c:1.59 Mon May 23 13:51:10 2011
+++ src/sys/opencrypto/cryptodev.c Mon May 23 13:53:59 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: cryptodev.c,v 1.59 2011/05/23 13:51:10 drochner Exp $ */
+/* $NetBSD: cryptodev.c,v 1.60 2011/05/23 13:53:59 drochner Exp $ */
/* $FreeBSD: src/sys/opencrypto/cryptodev.c,v 1.4.2.4 2003/06/03 00:09:02 sam Exp $ */
/* $OpenBSD: cryptodev.c,v 1.53 2002/07/10 22:21:30 mickey Exp $ */
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.59 2011/05/23 13:51:10 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cryptodev.c,v 1.60 2011/05/23 13:53:59 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1521,6 +1521,9 @@
case CRYPTO_AES_CBC:
txform = &enc_xform_rijndael128;
break;
+ case CRYPTO_CAMELLIA_CBC:
+ txform = &enc_xform_camellia;
+ break;
case CRYPTO_AES_CTR:
txform = &enc_xform_aes_ctr;
break;