diff mbox

crypto: testmgr - mark ctr(des3_ede) as fips_allowed

Message ID 1490041685-25947-1-git-send-email-marcelo.cerri@canonical.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Marcelo Henrique Cerri March 20, 2017, 8:28 p.m. UTC
3DES is missing the fips_allowed flag for CTR mode.

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
---
 crypto/testmgr.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephan Mueller March 20, 2017, 8:32 p.m. UTC | #1
Am Montag, 20. März 2017, 21:28:05 CET schrieb Marcelo Henrique Cerri:

Hi Marcelo,

> 3DES is missing the fips_allowed flag for CTR mode.
> 
> Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>

Acked-by: Stephan Mueller <smueller@chronox.de>

Ciao
Stephan
Herbert Xu March 24, 2017, 2:14 p.m. UTC | #2
On Mon, Mar 20, 2017 at 05:28:05PM -0300, Marcelo Henrique Cerri wrote:
> 3DES is missing the fips_allowed flag for CTR mode.
> 
> Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>

Patch applied.  Thanks.
diff mbox

Patch

diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 89f1dd1f4b13..cd075c7d8ee1 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2645,6 +2645,7 @@  static const struct alg_test_desc alg_test_descs[] = {
 	}, {
 		.alg = "ctr(des3_ede)",
 		.test = alg_test_skcipher,
+		.fips_allowed = 1,
 		.suite = {
 			.cipher = {
 				.enc = __VECS(des3_ede_ctr_enc_tv_template),