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

Attachment: raw128.dat
Description: Binary data

Attachment: raw192.dat
Description: Binary data

Attachment: raw256.dat
Description: Binary data

Attachment: wrap-128-128.ok.enc
Description: Binary data

Attachment: wrap-128-192.ok.enc
Description: Binary data

Attachment: wrap-128-256.ok.enc
Description: Binary data

Attachment: wrap-192-192.ok.enc
Description: Binary data

Attachment: wrap-192-256.ok.enc
Description: Binary data

Attachment: wrap-256-256.ok.enc
Description: Binary data

Attachment: enc-wrap-1.1.0.patch
Description: Binary data

Attachment: testwrap.cmds
Description: Binary data

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to