Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 7 Apr 2012 12:07:40 +0530
From: Dhiru Kholia <dhiru.kholia@...il.com>
To: john-dev@...ts.openwall.com
Subject: OpenSSL AES strange problem (first block is decrypted wrongly)

Hi,

I am trying to decrypt two blocks of encrypted data using OpenSSL AES
(in CBC mode). Second block is decrypted correctly but first block is
strangely wrong. Any ideas what is going on?. Can someone give it a
shot?

The expected output is
"3f28d3271e76e6809e00fc9670e5ef54dc94ebc3000000000000000000000000".
The attached program decrypts the second block correctly but fails for
the first block.

-- 
Cheers,
Dhiru

View attachment "aes-problem.c" of type "text/x-csrc" (1076 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.