On 07/22/2011 08:28 AM, florent ainardi wrote:
On 22 juil, 12:29, helpcrypto helpcrypto<[email protected]>  wrote:
i dont know if this is related what you are trying, but i use an
smartcard with attached certificate to encrypt data.
For all the operations, im invoking OpenSSL functions.

i try to make a simple program to encrypt data with aes
but the question is : does the AES is implemented in nss , what are
the library to import ?


ok
but what about NSS mozilla ?
everything i read is about public key, certificate but what about
symetric algo with private key ??
i had to encrypt data with AES cbc or ecb, i found nothing about that
if you have any idea, please post it here

Have a look at:

PK11_ImportSymKey
PK11_CreateContextBySymKey
PK11_CipherOp
PK11_DigestFinal

--
John Dennis <[email protected]>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
--
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to