diff options
Diffstat (limited to 'src/regress/lib/libcrypto/aead/aeadtest.c')
| -rw-r--r-- | src/regress/lib/libcrypto/aead/aeadtest.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/regress/lib/libcrypto/aead/aeadtest.c b/src/regress/lib/libcrypto/aead/aeadtest.c index 4322194f82..910aa5b3d4 100644 --- a/src/regress/lib/libcrypto/aead/aeadtest.c +++ b/src/regress/lib/libcrypto/aead/aeadtest.c | |||
| @@ -57,20 +57,20 @@ | |||
| 57 | /* This program tests an AEAD against a series of test vectors from a file. The | 57 | /* This program tests an AEAD against a series of test vectors from a file. The |
| 58 | * test vector file consists of key-value lines where the key and value are | 58 | * test vector file consists of key-value lines where the key and value are |
| 59 | * separated by a colon and optional whitespace. The keys are listed in | 59 | * separated by a colon and optional whitespace. The keys are listed in |
| 60 | * |NAMES|, below. The values are hex-encoded data. | 60 | * NAMES, below. The values are hex-encoded data. |
| 61 | * | 61 | * |
| 62 | * After a number of key-value lines, a blank line or EOF indicates the end of | 62 | * After a number of key-value lines, a blank line indicates the end of the |
| 63 | * the test case. | 63 | * test case. |
| 64 | * | 64 | * |
| 65 | * For example, here's a valid test case: | 65 | * For example, here's a valid test case: |
| 66 | * | 66 | * |
| 67 | * AEAD: chacha20-poly1305 | 67 | * AEAD: chacha20-poly1305 |
| 68 | * KEY: 5a19f3173586b4c42f8412f4d5a786531b3231753e9e00998aec12fda8df10e4 | 68 | * KEY: bcb2639bf989c6251b29bf38d39a9bdce7c55f4b2ac12a39c8a37b5d0a5cc2b5 |
| 69 | * NONCE: 978105dfce667bf4 | 69 | * NONCE: 1e8b4c510f5ca083 |
| 70 | * IN: 6a4583908d | 70 | * IN: 8c8419bc27 |
| 71 | * AD: b654574932 | 71 | * AD: 34ab88c265 |
| 72 | * CT: 5294265a60 | 72 | * CT: 1a7c2f33f5 |
| 73 | * TAG: 1d45758621762e061368e68868e2f929 | 73 | * TAG: 2875c659d0f2808de3a40027feff91a4 |
| 74 | */ | 74 | */ |
| 75 | 75 | ||
| 76 | #define BUF_MAX 1024 | 76 | #define BUF_MAX 1024 |
