I am trying to add new mode to openssl library for AES, an  enhanced counter
mode (ECTR)
I have modified a lot of files, includes:
apps/progs.pl
crypto/evp/c_allc.c
crypto/evp/evp.h
crypto/evp/e_aes.c
crypto/aes/aes.h
crypto/aes/aes_hectr.c
crypto/aes/Makefile
ssl/ssl_algs.c
crypto/objects/objects.txt
crypto/objects/objects.h
crypto/objects/obj_mac.num

added
crypto/aes/aes_ectr.c

The program compiled OK.
but where I run with
./openssl aes-128-ectr -in test -out test.out

it gave me "Segmentation Fault"

so I tried to figure out what is happening

and found that it looks like doesn't call the
aes_init_key function. (crypto/evp/e_aes.c)

I put some printf in the aes_init_key function, and it looks no output.

My question is:
Are there anythings that I missed to set to make it call aes_init_key?

thanks and regards,

SH Ng

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

Reply via email to