On Thu, Jun 04, 2009, Jan Pechanec wrote: > 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: >
Adding application specific objects to objects.txt et al is also a bad idea. They will clash with future versions of OpenSSL which can cause all sorts of conflicts. > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/common/openssl/crypto/engine/hw_pk11.c > Use OBJ_create() instead. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org