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/11/sys/opencrypto/cryptodev.h
Directory Properties:
  stable/11/   (props changed)

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

Modified: stable/11/sys/opencrypto/cryptodev.h
==============================================================================
--- stable/11/sys/opencrypto/cryptodev.h        Wed Aug 26 21:29:59 2020        
(r364841)
+++ stable/11/sys/opencrypto/cryptodev.h        Wed Aug 26 21:35:28 2020        
(r364842)
@@ -148,7 +148,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 */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to