Author: jhb Date: Fri May 22 17:21:22 2020 New Revision: 361393 URL: https://svnweb.freebsd.org/changeset/base/361393
Log: Correct the minimum key length for Camellia to 16 bytes (128 bits). MFC after: 1 week Modified: head/sys/opencrypto/cryptodev.h Modified: head/sys/opencrypto/cryptodev.h ============================================================================== --- head/sys/opencrypto/cryptodev.h Fri May 22 16:53:39 2020 (r361392) +++ head/sys/opencrypto/cryptodev.h Fri May 22 17:21:22 2020 (r361393) @@ -134,7 +134,7 @@ #define AES_MAX_KEY RIJNDAEL_MAX_KEY #define AES_XTS_MIN_KEY (2 * AES_MIN_KEY) #define AES_XTS_MAX_KEY (2 * AES_MAX_KEY) -#define CAMELLIA_MIN_KEY 8 +#define CAMELLIA_MIN_KEY 16 #define CAMELLIA_MAX_KEY 32 /* Maximum hash algorithm result length */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"