summaryrefslogtreecommitdiffstats
path: root/sys/crypto
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-03-10 13:02:58 +0000
committermarkm <markm@FreeBSD.org>2001-03-10 13:02:58 +0000
commite4e06e65a1f35bffdc245a857945222ecec2eef0 (patch)
treecf920135b3a59b86ab07e8d9b909e6ea629cbcb6 /sys/crypto
parentdd7c5ed96242f5c6ee85e4cd893fe1a0c845f283 (diff)
downloadFreeBSD-src-e4e06e65a1f35bffdc245a857945222ecec2eef0.zip
FreeBSD-src-e4e06e65a1f35bffdc245a857945222ecec2eef0.tar.gz
Kernel crypto need binary key material, not symbolic ascii.
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/rijndael/rijndael_local.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/crypto/rijndael/rijndael_local.h b/sys/crypto/rijndael/rijndael_local.h
index 240e3ff..23e909c 100644
--- a/sys/crypto/rijndael/rijndael_local.h
+++ b/sys/crypto/rijndael/rijndael_local.h
@@ -1,4 +1,5 @@
/* $KAME: rijndael_local.h,v 1.3 2000/10/02 17:14:27 itojun Exp $ */
+/* $FreeBSD$ */
/* the file should not be used from outside */
typedef u_int8_t BYTE;
@@ -8,3 +9,5 @@ typedef u_int32_t word32;
#define MAXKC RIJNDAEL_MAXKC
#define MAXROUNDS RIJNDAEL_MAXROUNDS
+
+#define BINARY_KEY_MATERIAL 1
OpenPOWER on IntegriCloud