diff options
| author | tb <> | 2020-01-26 02:46:26 +0000 |
|---|---|---|
| committer | tb <> | 2020-01-26 02:46:26 +0000 |
| commit | 8119c56d733839a24e6e5a184459e583e8bb54ec (patch) | |
| tree | 705c9a196566023ee30a2bb94cfd59c2ee4ddb8e /src/regress/lib/libcrypto/evp/evptest.c | |
| parent | 64c993b7220a260540d3a56c92c1195e9e554e64 (diff) | |
| download | openbsd-8119c56d733839a24e6e5a184459e583e8bb54ec.tar.gz openbsd-8119c56d733839a24e6e5a184459e583e8bb54ec.tar.bz2 openbsd-8119c56d733839a24e6e5a184459e583e8bb54ec.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; |
