From: "J. Bruce Fields" <bfields@fieldses.org>
To: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
Cc: Linux NFS mailing list <linux-nfs@vger.kernel.org>
Subject: Re: Here's a nugget...
Date: Wed, 16 Oct 2013 15:02:45 -0400 [thread overview]
Message-ID: <20131016190245.GD19067@fieldses.org> (raw)
In-Reply-To: <1381949943.17178.12.camel@leira.trondhjem.org>
On Wed, Oct 16, 2013 at 06:59:04PM +0000, Myklebust, Trond wrote:
> In gss_krb5_add_padding():
>
> memset(p, padding, padding);
RFC 1964 1.2.2.3:
"Data padding: Before encryption and/or signature calculation,
plaintext data is padded to the next highest multiple of 8
bytes, by appending between 1 and 8 bytes, the value of each
such byte being the total number of pad bytes."
You could add a comment referencing that if you think the memset is
confusing.
--b.
next prev parent reply other threads:[~2013-10-16 19:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-16 18:59 Here's a nugget Myklebust, Trond
2013-10-16 19:02 ` J. Bruce Fields [this message]
2013-10-16 19:10 ` Myklebust, Trond
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131016190245.GD19067@fieldses.org \
--to=bfields@fieldses.org \
--cc=Trond.Myklebust@netapp.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.