Re: [PATCH 4/4][RFC] crypto: michael_mic - Switch to shash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Herbert Xu wrote:
> On Thu, Dec 04, 2008 at 01:18:12AM +0100, Adrian-Ken Rueegsegger wrote:
>>  struct michael_mic_ctx {
>> +	u32 l, r;
>> +};
>> +
>> +struct michael_mic_desc_ctx {
>>  	u8 pending[4];
>>  	size_t pending_len;
>>  
>>  	u32 l, r;
>>  };
> 
> Any reason why you left them in the desc context?

As I explained in the other mail, the values l and r are not readonly.
Therefor I believe they need to be copied from the tfm context to the
descriptor upon transformation.

Adrian
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux