diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index c003b124a5..989ac0df26 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wycheproof.go,v 1.52 2018/09/15 22:07:52 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.53 2018/09/15 22:09:08 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
@@ -570,7 +570,7 @@ func checkAesCcmOrGcm(algorithm string, ctx *C.EVP_CIPHER_CTX, doEncrypt int, ke | |||
570 | 570 | ||
571 | // There are no acceptable CCM cases. All acceptable GCM tests | 571 | // There are no acceptable CCM cases. All acceptable GCM tests |
572 | // pass. They have len(IV) <= 48. NIST SP 800-38D, 5.2.1.1, p.8, | 572 | // pass. They have len(IV) <= 48. NIST SP 800-38D, 5.2.1.1, p.8, |
573 | // allows 1 <= len(IV) 2^64-1, but notes: | 573 | // allows 1 <= len(IV) <= 2^64-1, but notes: |
574 | // "For IVs it is recommended that implementations restrict | 574 | // "For IVs it is recommended that implementations restrict |
575 | // support to the length of 96 bits, to promote | 575 | // support to the length of 96 bits, to promote |
576 | // interoperability, efficiency and simplicity of design." | 576 | // interoperability, efficiency and simplicity of design." |