I lost the email that assigned a request number to this submittal. This may
in fact be an error in the Hercules emulator's implementation of some 390
cryptography instructions so please disregard it. I will re-submit it if it
turns out that it is not a Hercules problem.

Paul

 

From: Paul Dembry [mailto:p...@trifox.com] 
Sent: Wednesday, April 6, 2016 5:56 PM
To: r...@openssl.org
Subject: Testing cipher AES-128-XTS(encrypt/decrypt) failure

 

OpenSSL: Version 1.0.2g

OS: Linux tri26 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012
(d73692b) s390x s390x s390x GNU/Linux

Hardware: Hercules 3.11 emulator, running on Linux rad5 2.6.18.2-34-default
#1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux

 

make test

 

Testing cipher AES-128-XTS(encrypt/decrypt)

Key

0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

IV

0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Plaintext

0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Ciphertext

0000 91 7c f6 9e bd 68 b2 ec 9b 9f e9 a3 ea dd a6 92

0010 cd 43 d2 f5 95 98 ed 85 8c 02 c2 65 2f bf 92 2e

Ciphertext mismatch

Got

0000 91 7c f6 9e bd 68 b2 ec 9b 9f e9 a3 ea dd a6 92

0010 89 36 96 08 51 3b fa 4f 4e 41 fd cf 81 18 01 b4

Expected

0000 91 7c f6 9e bd 68 b2 ec 9b 9f e9 a3 ea dd a6 92

0010 cd 43 d2 f5 95 98 ed 85 8c 02 c2 65 2f bf 92 2e

make[1]: *** [test_evp] Error 9

make[1]: Leaving directory `/usr4/tmp/openssl-1.0.2g/test'

make: *** [tests] Error 2

 

Regards,

Paul


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4505
Please log in as guest with password guest if prompted

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

Reply via email to