Error when using AES_ECB_PAD

2011-09-05 Thread fainardi
hi i have this error when i try to use the algorythm CKM_AES_ECB_PAD => error : 'CKM_AES_ECB_PAD' undeclared ( first use in this function ) if i use CKM_AES_ECB it works !!! do you know if the AES_ECB_PAD is implemented in the nss libs regards -- View this message in context: http://old.nabb

help me use aes with NSS

2011-06-21 Thread fainardi
hello all i would like to use the aes cipher in cbc and ecb mode with nss but i don't how can i can start my program here is the task of my program 1- read a text file 2- save it into a buffer 3- cipher the buffer with aes provided by aes 4- save the cipher data into a file 5-end and the same th