RFC5753 compliance.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 12 Oct 2015 20:14:04 +0000 (21:14 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 13 Oct 2015 22:02:44 +0000 (23:02 +0100)
commita20d9422cf7a516cd576be8f91fe90738459ef42
tree785ac9e8fef0a7323731758230077d17b8485414
parentbf9d61d1abfc4d36562aa799cd9dc59c7bb46e57
RFC5753 compliance.

RFC5753 requires that we omit parameters for AES key wrap and set them
to NULL for 3DES wrap. OpenSSL decrypt uses the received algorithm
parameters so can transparently handle either form.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit 4ec36aff2a3c221b640dafa56ac838312e6724f4)
crypto/evp/evp_lib.c