Re: A variation of CBC mode that yields authentication, integrity and privacy

From: Mok-Kong Shen (mok-kong.shen_at_t-online.de)
Date: 09/22/03


Date: Mon, 22 Sep 2003 00:29:02 +0200


"David A. Scott" wrote:
>
[snip]
> I'm curious as to how you would add the padding using Moks method
> assume that you have a random data source for it. I will comment on the
> method that is if its something you really want to use and have analzyed.
[snip]

For any padding, one needs to know where the real
information ends. In past discussions on compression
with you, I rememeber that I suggested employing an ending
symbol, while John Savard suggested employing a length
field at the end for padding to byte or other boundaries.
(But one could certainly also have the length field
specified elsewhere in many situations.) In the present
context, ciphertext stealing avoids padding and such a
length field, but, in case one chooses to use padding,
a length field will be needed, if there isn't some
appropriate agreed-upon way to designate the end of
information.

M. K. Shen



Relevant Pages

  • Re: Array assignment via struct
    ... >> 4 padding bytes are added after the array of 20 char in the struct so ... >> code to retrieve the elements of the array 8-bytes at a time and unaligned ... >> when it's accessed through the struct, ...
    (comp.lang.c)
  • Re: Writing Data to Bit Field
    ... HW interface. ... bit "compression" e.g no padding between fields? ...
    (comp.lang.c)
  • Re: Problems with
      margin/padding in Firefox
      ... but I found that just explicitly setting the padding on the to zero sorted it out. ... That is done by having a small image with a red triangle as the background. ... I was trying to get the left edge of the links to line up with the point where the slanted edge of this met the bottom of the div. ...
      (comp.infosystems.www.authoring.stylesheets)
    • Re: problem in structure
      ... snip ... ... Probably due to padding. ... I don't believe santoshs initial is 'u', nor that he resides in ur, ...
      (comp.lang.c)
    • Re: Is C99 the final C? (some suggestions)
      ... >> that no padding occurs. ... > Needs elaboration. ... > Even on a vanilla Win/Intel platform, ...
      (comp.lang.c)