Re: Block cipher access

2007-06-04 Thread Robert Relyea
Brian Hawkins wrote: I'm creating shared keys using an anonymous diffie hellman key exchange. The shared secret will be used to create key block material similar to how TLS does it. So what I need is a method to create a cipher, provide a key and encrypt/decrypt some data. All the methods i

Re: Block cipher access

2007-06-04 Thread Brian Hawkins
I'm creating shared keys using an anonymous diffie hellman key exchange. The shared secret will be used to create key block material similar to how TLS does it. So what I need is a method to create a cipher, provide a key and encrypt/decrypt some data. All the methods in nss look like they use pu

Re: Block cipher access

2007-06-03 Thread Robert Relyea
Brian Hawkins wrote: I would like to use a block cipher to encrypt some data using a shared secret. It doesn't appear that nss provides access to the low level cipher suite, is that true? I cannot use public/private keys for my encryption because of a design issue. Is there any way to sign a

Block cipher access

2007-06-03 Thread Brian Hawkins
I would like to use a block cipher to encrypt some data using a shared secret. It doesn't appear that nss provides access to the low level cipher suite, is that true? I cannot use public/private keys for my encryption because of a design issue. Is there any way to sign and encrypt data using