Re: ECB-Counter AES mode



"Blind Anagram" <nobody@xxxxxxxxxxx> wrote in message news:TvidnaJYt7tp9qzUnZ2dnUVZ8qbinZ2d@xxxxxxxxxxxxxxxxx
"Kristian Gjøsteen" <kristiag+news@xxxxxxxxxxxx> wrote in message news:ggr4f1$522$1@xxxxxxxxxxxxxxxxxxxxxx
Karl Malbrain <malbrain@xxxxxxxxx> wrote:
Is there an obvious weakness I'm overlooking in empressing a sequential
counter value over the plain text block with XOR prior to AES encryption and
removing the counter value after AES decryption?

That depends on what your security goal is, that is, what you are trying
to achieve.

Explain what you are trying to achieve and what you are doing to achieve
it, and perhaps someone can help.

I agree - we really need to know why a range of existing and reasonably well studied encryption modes have been rejected in favour of a home grown mode.

Designing secure encryption modes is _really_ hard so it should be a truly last resort, embarked on only when existing respected modes have been shown not to meet some essential application security requirement.

The application is an encrypted file with lots of redundancy (eg identical 16 byte segments) that is randomly read and written in blocks at given offsets. As I understand it, CTR mode by itself is insecure since the block number would be reused when updating a block.

Karl m

.



Relevant Pages

  • Re: Issue using encryption in Debug/Release mode ??
    ... > I would like to ask you something regarding AES encryption, ... my library using AES works fine on our machines. ... we have encrypted files with the DEBUG version of KEM.dll ...
    (sci.crypt)
  • Re: ECB-Counter AES mode
    ... counter value over the plain text block with XOR prior to AES encryption and ... removing the counter value after AES decryption? ... studied encryption modes have been rejected in favour of a home grown mode. ... Designing secure encryption modes is _really_ hard so it should be a truly last resort, embarked on only when existing respected modes have been shown not to meet some essential application security requirement. ...
    (sci.crypt)
  • Re: ECB-Counter AES mode
    ... sequential counter value over the plain text block with XOR prior to ... AES encryption and removing the counter value after AES decryption? ...
    (sci.crypt)
  • Re: ECB-Counter AES mode
    ... counter value over the plain text block with XOR prior to AES encryption and ... well studied encryption modes have been rejected in favour of a home grown mode. ... The IEEE SISWG has been working on exactly this sort of problem for disc sector encryption so it would be worth looking at the XTS and EME-2 modes that they have developed. ...
    (sci.crypt)
  • Re: ECB-Counter AES mode
    ... counter value over the plain text block with XOR prior to AES encryption and ... well studied encryption modes have been rejected in favour of a home grown mode. ... The application is an encrypted file with lots of redundancy that is randomly read and written in blocks at given offsets. ... The IEEE SISWG has been working on exactly this sort of problem for disc sector encryption so it would be worth looking at the XTS and EME-2 modes that they have developed. ...
    (sci.crypt)

Loading