Re: counter mode and data integrity
From: Michael Amling (nospam_at_nospam.com)
Date: 10/31/03
- Next message: Tom St Denis: "Re: What ? I can't use cryptography in my app..."
- Previous message: Marco Era: "Re: What ? I can't use cryptography in my app..."
- In reply to: Joerg Platte: "Re: counter mode and data integrity"
- Next in thread: Joerg Platte: "Re: counter mode and data integrity"
- Reply: Joerg Platte: "Re: counter mode and data integrity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 31 Oct 2003 15:02:36 GMT
Joerg Platte wrote:
> John E. Hadstate wrote:
>
>>If I understand your proposal, you want to use part of a hash of the block
>>data concatenated with a block address as the counter in CTR mode. You
>>would then encipher the block data using the CTR-mode ciphertext.
>>
>>My question is, how do you decipher the data? You need the plaintext to
>>compute the hash that makes-up part of your counter. If you don't have
>>the plaintext available, with what do you feed the counter?
>
>
> The counter (hash value) can be stored with the corresponding block. There
> is no need to encrypt or protect the counter value. So it's possible to
> decipher the block with this counter and the secret AES key.
If you're storing a hash-derived counter value, you may as well store
a sequence-derived counter value.
Your goal was "But I don't want to store the counter value for every
block to save some bytes."
--Mike Amling
- Next message: Tom St Denis: "Re: What ? I can't use cryptography in my app..."
- Previous message: Marco Era: "Re: What ? I can't use cryptography in my app..."
- In reply to: Joerg Platte: "Re: counter mode and data integrity"
- Next in thread: Joerg Platte: "Re: counter mode and data integrity"
- Reply: Joerg Platte: "Re: counter mode and data integrity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|