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.
 
1. I added the follwoing line in objects.txt
 
                      "aes 6   : AES-128-CTR  : aes-128-ctr"
 
2. then i execuated the command mentioned in the objects.pl to create 
obj_mac.h from objects.txt
    
                    perl objects.pl objects.txt obj_mac.num obj_mac.h
 
3. Then i execuated following command to obj_dat.h from obj_mac.h           
                   
                          perl obj_dat.pl obj_mac.h obj_dat.h
 
 
I also want to know that can i add nids or not?
If i can, then is the above method is correct or not ?
And also i added above line with aes 6, because i found that upto aes 5 it was 
already there. Is it correct ?
 
If i am wrong, please correct me and explain me the correct method.
And also share any documentation which can help me in adding above support.
 
 
Thanks in advance,
 
Regards
Rakesh 


      Own a website.Get an unlimited package.Pay next to nothing.*Go to 
http://in.business.yahoo.com/

Reply via email to