Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2020 17:21:22 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361393 - head/sys/opencrypto
Message-ID:  <202005221721.04MHLM8Z027278@repo.freebsd.org>

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



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