> I have a problem with aes. 
> I use 0.9.8 branch, 20050503 snapshot. The error is reproduced on
> 20050506 snapshot too. I didn't have such problem with 20050404 snapshot.

The code which let you down was added on 2xth of April.

> I configure openssl with ./config -d shared zlib, config log is
> attached.
> gcc version is gcc 3.3.5 (Debian 1:3.3.5-12), binutils 2.15 (Debian
> 2.15-5).
> 
> On encrypting with command line 
> LD_LIBRARY_PATH=. ./apps/openssl enc -aes-128-cbc -out aes.enc -in enc.dat -k 
> 1234567890 
> I get a segfault with stack trace
> 
> #0  0x400b76b8 in AES_cbc_encrypt () at ax86-elf.s:1066
> 1066            movl    %edi,           32(%esp)

Your debugger apparently displays wrong line, because the above 
instruction resides at address which ends with 4 and is preceding the 
rep movsl, which must be the one SEGV-ing. Run 'info registers' and if 
%esi is aligned at page boundary (ends with 3 zeros), then 
http://cvs.openssl.org/chngview?cn=13274 should help. Alternatively wait 
for next snapshot. A.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to