mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Made padding modes configurable from config.h
This commit is contained in:
@@ -193,6 +193,21 @@
|
||||
#define POLARSSL_CIPHER_NULL_CIPHER
|
||||
*/
|
||||
|
||||
/**
|
||||
* \def POLARSSL_CIPHER_PADDING_XXX
|
||||
*
|
||||
* Uncomment or comment macros to add support for specific padding modes
|
||||
* in the cipher layer with cipher modes that support padding (e.g. CBC)
|
||||
*
|
||||
* If you disable all padding modes, only full blocks can be used with CBC.
|
||||
*
|
||||
* Enable padding modes in the cipher layer.
|
||||
*/
|
||||
#define POLARSSL_CIPHER_PADDING_PKCS7
|
||||
#define POLARSSL_CIPHER_PADDING_ONE_AND_ZEROS
|
||||
#define POLARSSL_CIPHER_PADDING_ZEROS_AND_LEN
|
||||
#define POLARSSL_CIPHER_PADDING_ZEROS
|
||||
|
||||
/**
|
||||
* \def POLARSSL_ENABLE_WEAK_CIPHERSUITES
|
||||
*
|
||||
|
Reference in New Issue
Block a user