From 44235702d14e18100544a229932323de489fda69 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 27 Nov 2019 11:57:33 +0000 Subject: New failure mode for AES-CCM: "very long nonce". --- src/regress/lib/libcrypto/wycheproof/wycheproof.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index 6cc739e831..09e74aae8b 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go @@ -1,4 +1,4 @@ -/* $OpenBSD: wycheproof.go,v 1.88 2019/11/27 10:09:29 tb Exp $ */ +/* $OpenBSD: wycheproof.go,v 1.89 2019/11/27 11:57:33 tb Exp $ */ /* * Copyright (c) 2018 Joel Sing * Copyright (c) 2018 Theo Buehler @@ -620,7 +620,7 @@ func checkAesAead(algorithm string, ctx *C.EVP_CIPHER_CTX, doEncrypt int, ret = C.EVP_CIPHER_CTX_ctrl(ctx, ctrlSetIVLen, C.int(ivLen), nil) if ret != 1 { if wt.Comment == "Nonce is too long" || wt.Comment == "Invalid nonce size" || - wt.Comment == "0 size IV is not valid" { + wt.Comment == "0 size IV is not valid" || wt.Comment == "Very long nonce" { return true } fmt.Printf("FAIL: Test case %d (%q) [%v] %v - setting IV len to %d failed. got %d, want %v\n", -- cgit v1.2.3-55-g6feb