From 64018dd683a40ccbc37dc08358455c2cdf4d8b79 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Sat, 24 Oct 2020 20:10:41 +0200 Subject: [PATCH] add comment about padding types --- src/headers/tomcrypt_misc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/headers/tomcrypt_misc.h b/src/headers/tomcrypt_misc.h index 41f18000..ae861fe3 100644 --- a/src/headers/tomcrypt_misc.h +++ b/src/headers/tomcrypt_misc.h @@ -146,6 +146,9 @@ enum padding_type { LTC_PAD_ISO_10126 = 0x1000U, #endif LTC_PAD_ANSI_X923 = 0x2000U, + /* The following padding modes don't contain the padding + * length as last byte of the padding. + */ LTC_PAD_ONE_AND_ZERO = 0x8000U, LTC_PAD_ZERO = 0x9000U, LTC_PAD_ZERO_ALWAYS = 0xA000U,