On Mon, 25 May 2009, rakesh aggarwal wrote:

> 
>
>
>
>Hi,
> 
>i am new to openssl and trying to add support for CTR mode in AES.
>i dont know what i am doing is correct or not?
>I made some changes based on my understanding but i want to cross verify.
>For adding the above support, first i need to add SN_LN,NID, OBJ etc for CTR 
>mode just like AES in CBC (SN_aes_128_cbc,LN_aes_128_cbc,..) mode.
>For adding the mentioned (SN, LN, NID, OBJ), i did the following change.

        it's easier to do othat dynamically. See pk11_add_NID() here, 
for example:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/common/openssl/crypto/engine/hw_pk11.c

-- 
Jan Pechanec

Reply via email to