Made padding modes configurable from config.h
This commit is contained in:
parent
1a45d91cf2
commit
48e93c84b7
2 changed files with 36 additions and 5 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue