On 12/02/2009 08:43 AM, Gregory BELLIER wrote:
>>> Do we use this last block somewhere else in NSS to justify this
>>> backup ?
>>>
>>
>> Yes, this last block needs to be saved for the next invocation
>> of the CBC encryption function.
>>
>>
> Ok, so now I understand better. The IV is a dat
Hi ! First of all, thank you for your time.
Wan-Teh Chang a écrit :
2009/12/2 Gregory BELLIER :
Examples :
- For Camellia at the end of camellia_encryptCBC(CamelliaContext *cx, ...) :
lastblock = output;
memcpy(cx->iv, lastblock, CAMELLIA_BLOCK_SIZE);
return SECSuccess;
We save
2009/12/2 Gregory BELLIER :
>
> Examples :
> - For Camellia at the end of camellia_encryptCBC(CamelliaContext *cx, ...) :
>
> lastblock = output;
> memcpy(cx->iv, lastblock, CAMELLIA_BLOCK_SIZE);
>
> return SECSuccess;
We save lastblock in cx->iv (at line 1541) so that it will become
lastblock
Hello ML,
First of all, I'm not a crypto expert, that's why I ask this question
which may appear obvious for some of you.
I work on NSS and I've studied the CBC operation mode implementation for
Camellia and SEED ciphers.
I do understand how the CBC works but I don't understand why there is a
Hello.
Almost everywhere across NSS the ECC-specific executable code is compiled
conditionally:
#ifndef NSS_ENABLE_ECC
/* ECC-specific executable code ... */
#endif
... but not everywhere. For example,
seckey_ExtractPublicKey() @ cryptohi/seckey.c
http://bonsai.mozilla.org/cvsblame.c
5 matches
Mail list logo