Re: C_EncryptUpdate( inlen != N * blksize ) for CBC, ECB cipher modes.

2010-06-22 Thread Nelson B Bolyard
On 2010-06-22 07:06 PDT, Konstantin Andreev wrote: > At the moment, NSS softoken still return CKR_DATA_LEN_RANGE when CBC/ECB > ciphers are updated with odd length. > > I wonder, are any chances for this aspect of NSS softoken to be more > PKCS#11 compliant in the near future ? Yes. Step 1. Fi

C_EncryptUpdate( inlen != N * blksize ) for CBC, ECB cipher modes.

2010-06-22 Thread Konstantin Andreev
Long time ago, on the end of 2002, in the "Cryptoki" mail list at RSA Lab, in the thread "Do unpadded block ciphers allow odd length updates?", started on 20 Dec 2002 by Nelson Bolyard, it was discussed how C_EncryptUpdate should behave when passed with odd input length (not multiple of ci