aes_init_key

2003-09-30 Thread Ng Siak Hooi
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

Re: aes_init_key

2003-09-30 Thread Ng Siak Hooi
PROTECTED] Sent: Tuesday, September 30, 2003 2:34 PM Subject: Re: aes_init_key Show us the code, and we might be able to answer you :-). In message [EMAIL PROTECTED] on Tue, 30 Sep 2003 14:34:27 +0800, Ng Siak Hooi [EMAIL PROTECTED] said: shng I am trying to add new mode to openssl library for AES

How to Add new Mode to DES and AES

2003-07-25 Thread Ng Siak Hooi
I am doing some research works on openssl source code, where I need to add some additional mode of operation to openssl, so that the mode is available on openssl app. Formerly I was working on the openssl-0.9.6h code, I did some modification on the following files: ./crypto/evp/c_allc.c

Questions on block size for ncbc_enc.c

2002-12-12 Thread Ng Siak Hooi
Hi, I am using openssl-0.9.6h on Linux I put a extra followingline at line 79 of file crypto/des/ncbc_enc.c file: printf(length=%ld\n, length); just to check how the size of data come in. I tried on a file with 14392 bytes. for encrypt, the size coming are: 4096, 4096, 4096, 2104, 8 but

add new mode to des encryption

2002-12-10 Thread Ng Siak Hooi
Hi, I tried to add one more mode (my version of counter mode) to des part, and I faced compilation problem. I am working on openssl-0.9.6h, RedHat 8 using kernel 2.4.20, gcc 3.2.1 on an Intel Pentium III desktop. Here are what I have done: 1 added function des_ectr_encrypt() to file