Hi, Here attached is some test data files and a patch against today's git repo to allow for the use of wrap mode using the OpenSSL 'enc' command.
The 'raw*.dat' files contains the NIST test vectors, and the '*.ok.enc' the expected encrypted result (base64 encoded with equivalent hexa value). The testwrap.cmds file is a small Windows script (.bat) with tests commands. As mentioned in a previous post, It may not be the best way to achieve this, in which case I would be happy to learn how to do it better. Meanwhile, It is usefull (at least for me :-) to decrypt wrapped symetric keys using OpenSSL 1.1. Regards, Michel. -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4472 Please log in as guest with password guest if prompted
raw128.dat
Description: Binary data
raw192.dat
Description: Binary data
raw256.dat
Description: Binary data
wrap-128-128.ok.enc
Description: Binary data
wrap-128-192.ok.enc
Description: Binary data
wrap-128-256.ok.enc
Description: Binary data
wrap-192-192.ok.enc
Description: Binary data
wrap-192-256.ok.enc
Description: Binary data
wrap-256-256.ok.enc
Description: Binary data
enc-wrap-1.1.0.patch
Description: Binary data
testwrap.cmds
Description: Binary data
-- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev