From: Niels Möller Date: Mon, 27 Nov 2006 22:10:49 +0000 (+0100) Subject: Comment improvement. X-Git-Tag: nettle_1.15_release_20061128~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a161c6d47f48462c624dac9a2eac7c60614c26d;p=thirdparty%2Fnettle.git Comment improvement. Rev: src/nettle/pkcs1.c:1.3 --- diff --git a/pkcs1.c b/pkcs1.c index f8893691..74d7cfc0 100644 --- a/pkcs1.c +++ b/pkcs1.c @@ -34,6 +34,12 @@ #include "pkcs1.h" +/* Formats the PKCS#1 padding, of the form + * + * 0x01 0xff ... 0xff 0x00 id + * + * where the 0xff ... 0xff part consists of at least 8 octets. + */ void pkcs1_signature_prefix(unsigned length, uint8_t *buffer,