Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2020 16:12:14 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363368 - head/sys/crypto/via
Message-ID:  <202007201612.06KGCECI083673@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Mon Jul 20 16:12:14 2020
New Revision: 363368
URL: https://svnweb.freebsd.org/changeset/base/363368

Log:
  padlock: fix Via Padlock with 192-bit keys
  
  It's been broken since a typo in r359374
  
  Reviewed by:	jhb
  MFC after:	2 weeks
  Sponsored by:	Axcient
  Differential Revision:	https://reviews.freebsd.org/D25710

Modified:
  head/sys/crypto/via/padlock_cipher.c

Modified: head/sys/crypto/via/padlock_cipher.c
==============================================================================
--- head/sys/crypto/via/padlock_cipher.c	Mon Jul 20 14:28:26 2020	(r363367)
+++ head/sys/crypto/via/padlock_cipher.c	Mon Jul 20 16:12:14 2020	(r363368)
@@ -124,7 +124,7 @@ padlock_cipher_setup(struct padlock_session *ses,
 {
 	union padlock_cw *cw;
 
-	if (csp->csp_cipher_klen != 16 && csp->csp_cipher_klen != 25 &&
+	if (csp->csp_cipher_klen != 16 && csp->csp_cipher_klen != 24 &&
 	    csp->csp_cipher_klen != 32) {
 		return (EINVAL);
 	}



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