crypto/evp/pkey_kdf.c: Redo parameter processing
authorRichard Levitte <levitte@openssl.org>
Fri, 30 Aug 2019 12:32:55 +0000 (14:32 +0200)
committerPauli <paul.dale@oracle.com>
Fri, 6 Sep 2019 09:27:57 +0000 (19:27 +1000)
commita941920514995b520e7666897347fdcdcb5bf358
tree6b43d66e70cc4312477a3c562dc3e6a740761bd1
parent6d1c31540fa9453e6e31d4008c3b5ed18f7532ae
crypto/evp/pkey_kdf.c: Redo parameter processing

Undo the caching scheme, pass through most controls as parameters, except
for SEED and INFO, where we keep supporting adding data through additional
ctrl calls by collecting the data, and only passing it to the EVP_KDF
before calling its derive function.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9662)
crypto/evp/pkey_kdf.c