diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-05-11 19:28:09 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-05-19 21:02:24 +0100 |
commit | c3fc7d9ac5d1f424119dd44ce9565735931f452a (patch) | |
tree | a2afe806c29049b7f531acb946a9c830c1d0dac9 /test/evp_test.h | |
parent | aabe3a359197d99867abaab8a4beb42003ee7d79 (diff) |
Add support for multiple update calls in evp_test
Allow multiple "Input" lines to call the update function multiple times.
Add "Ncopy" keyword to copy the input buffer. So for example:
Input = "a"
Ncopy = 1024
Will create a buffer consisting of 1024 "a" characters.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3451)
Diffstat (limited to 'test/evp_test.h')
-rw-r--r-- | test/evp_test.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/evp_test.h b/test/evp_test.h new file mode 100644 index 0000000000..5402e1e806 --- /dev/null +++ b/test/evp_test.h @@ -0,0 +1,11 @@ +/* + * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + +typedef struct evp_test_buffer_st EVP_TEST_BUFFER; +DEFINE_STACK_OF(EVP_TEST_BUFFER) |