Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 21:35:28 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r364842 - in stable: 11/sys/opencrypto 12/sys/opencrypto
Message-ID:  <202008262135.07QLZSvY089205@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008262135.07QLZSvY089205>