svn commit: r364842 - in stable: 11/sys/opencrypto 12/sys/opencrypto

John Baldwin jhb at FreeBSD.org
Wed Aug 26 21:35:29 UTC 2020


Author: jhb
Date: Wed Aug 26 21:35:28 2020
New Revision: 364842
URL: https://svnweb.freebsd.org/changeset/base/364842

Log:
  MFC 361393: Correct the minimum key length for Camellia to 16 bytes (128 bits).

Modified:
  stable/12/sys/opencrypto/cryptodev.h
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/opencrypto/cryptodev.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/12/sys/opencrypto/cryptodev.h
==============================================================================
--- stable/12/sys/opencrypto/cryptodev.h	Wed Aug 26 21:29:59 2020	(r364841)
+++ stable/12/sys/opencrypto/cryptodev.h	Wed Aug 26 21:35:28 2020	(r364842)
@@ -158,7 +158,7 @@
 #define	AES_XTS_MAX_KEY		(2 * AES_MAX_KEY)
 #define	ARC4_MIN_KEY		1
 #define	ARC4_MAX_KEY		32
-#define	CAMELLIA_MIN_KEY	8
+#define	CAMELLIA_MIN_KEY	16
 #define	CAMELLIA_MAX_KEY	32
 
 /* Maximum hash algorithm result length */


More information about the svn-src-all mailing list