diff options
author | tb <> | 2020-01-26 02:46:26 +0000 |
---|---|---|
committer | tb <> | 2020-01-26 02:46:26 +0000 |
commit | 60984277ad432f0d9bb390855ec2cdcb9924329a (patch) | |
tree | 705c9a196566023ee30a2bb94cfd59c2ee4ddb8e /src/regress/lib/libcrypto/evp/evptest.c | |
parent | bf09b4f4a38c86a5a7590e1d92314441c4864ecc (diff) | |
download | openbsd-60984277ad432f0d9bb390855ec2cdcb9924329a.tar.gz openbsd-60984277ad432f0d9bb390855ec2cdcb9924329a.tar.bz2 openbsd-60984277ad432f0d9bb390855ec2cdcb9924329a.zip |
Adjust tests to match the change in EVP_chacha20().
Test vectors taken from OpenSSL 1.1.1d (under OpenSSL's old license).
Diffstat (limited to 'src/regress/lib/libcrypto/evp/evptest.c')
-rw-r--r-- | src/regress/lib/libcrypto/evp/evptest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/evp/evptest.c b/src/regress/lib/libcrypto/evp/evptest.c index ac15a55aaa..8dc9fc0bbe 100644 --- a/src/regress/lib/libcrypto/evp/evptest.c +++ b/src/regress/lib/libcrypto/evp/evptest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evptest.c,v 1.8 2019/03/17 18:33:01 tb Exp $ */ | 1 | /* $OpenBSD: evptest.c,v 1.9 2020/01/26 02:46:26 tb Exp $ */ |
2 | /* Written by Ben Laurie, 2001 */ | 2 | /* Written by Ben Laurie, 2001 */ |
3 | /* | 3 | /* |
4 | * Copyright (c) 2001 The OpenSSL Project. All rights reserved. | 4 | * Copyright (c) 2001 The OpenSSL Project. All rights reserved. |
@@ -350,7 +350,7 @@ main(int argc, char **argv) | |||
350 | #endif | 350 | #endif |
351 | 351 | ||
352 | for (;;) { | 352 | for (;;) { |
353 | char line[4096]; | 353 | char line[8 * 1024]; |
354 | char *p; | 354 | char *p; |
355 | char *cipher; | 355 | char *cipher; |
356 | unsigned char *iv, *key, *plaintext, *ciphertext; | 356 | unsigned char *iv, *key, *plaintext, *ciphertext; |