Add support for multiple update calls in evp_test
authorDr. Stephen Henson <steve@openssl.org>
Thu, 11 May 2017 18:28:09 +0000 (19:28 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 19 May 2017 20:02:24 +0000 (21:02 +0100)
commitc3fc7d9ac5d1f424119dd44ce9565735931f452a
treea2afe806c29049b7f531acb946a9c830c1d0dac9
parentaabe3a359197d99867abaab8a4beb42003ee7d79
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)
test/evp_test.c
test/evp_test.h [new file with mode: 0644]