Re: last parameter of AES_ofb128_encrypt

2013-01-07 Thread Ken Goldman
On 1/7/2013 4:43 PM, Dave Thompson wrote: (There's an official word for this I can't remember at the moment -- self-inverse maybe?) XOR ? :-) __ OpenSSL Project http://www.openssl.org User Sup

RE: 1.0.1c and 0.9.8r SMIME issues

2013-01-07 Thread Dave Thompson
>From: owner-openssl-us...@openssl.org On Behalf Of Massimiliano Masi >Sent: Monday, 07 January, 2013 10:18 >On Mon, Jan 7, 2013 at 3:11 PM, Dr. Stephen Henson wrote: >./openssl smime -nooldmime -sign -signer cert.pem -inkey key.pem >However, I have [verify] errors (I'm using CAfile). With 1

RE: last parameter of AES_ofb128_encrypt

2013-01-07 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of jeetendra gangele > Sent: Monday, 07 January, 2013 10:26 > void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, > size_t length, const AES_KEY *key, > unsigned char *ivec, int *num) > > What will be the value for

Re: last parameter of AES_ofb128_encrypt

2013-01-07 Thread Ken Goldman
Am I missing something, or is this a trick question? For OFB, aren't they the same> On 1/7/2013 10:55 AM, jeetendra gangele wrote: 0 for encryption or decryption? __ OpenSSL Project http://www

Re: last parameter of AES_ofb128_encrypt

2013-01-07 Thread jeetendra gangele
0 for encryption or decryption? On 7 January 2013 21:19, Ken Goldman wrote: > I don't think it's documented. I pass in 0 and it works. > > My notes also say that ivec is altered, so make a copy if you have to > preserve the original value. > > > On 1/7/2013 10:26 AM, jeetendra gangele wrote: >>

Re: last parameter of AES_ofb128_encrypt

2013-01-07 Thread Ken Goldman
I don't think it's documented. I pass in 0 and it works. My notes also say that ivec is altered, so make a copy if you have to preserve the original value. On 1/7/2013 10:26 AM, jeetendra gangele wrote: Hi All, If I use the below function void AES_ofb128_encrypt(const unsigned char *in, un

Re: 1.0.1c and 0.9.8r SMIME issues

2013-01-07 Thread Massimiliano Masi
Hi, Thank you for your answer. On Mon, Jan 7, 2013 at 3:11 PM, Dr. Stephen Henson wrote: It's actually a bug in OpenSSL 0.9.8. The x- version was retained for > compatibility with some older software and the option -nooldmime to the > smime > utility uses the standard version with the x-. Howeve

Re: 1.0.1c and 0.9.8r SMIME issues

2013-01-07 Thread Dr. Stephen Henson
On Mon, Jan 07, 2013, Massimiliano Masi wrote: > Hello All, > > I am facing some issues with 1.0.1c and 0.9.8r (default of Mac Os X). > > max@spirit6 ~/ $ openssl > OpenSSL> version > OpenSSL 0.9.8r 8 Feb 2011 > OpenSSL> max@spirit6 ~/ $ ./openssl > OpenSSL> version > OpenSSL 1.0.1c 10 May 2012