1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Add one-and-zeros (ISO/IEC 7816-4) padding

This commit is contained in:
Manuel Pégourié-Gonnard
2013-07-26 12:46:02 +02:00
committed by Paul Bakker
parent 6c9789932e
commit 679f9e90ad
7 changed files with 305 additions and 0 deletions

View File

@ -106,6 +106,7 @@ typedef enum {
typedef enum {
POLARSSL_PADDING_PKCS7 = 0, /**< PKCS7 padding (default) */
POLARSSL_PADDING_ONE_AND_ZEROS, /**< ISO/IEC 7816-4 padding */
} cipher_padding_t;
typedef enum {