mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 09:39:14 +00:00
Merge branch 'padding' into development
This commit is contained in:
commit
5d5d041fb5
1 changed files with 4 additions and 4 deletions
|
@ -44,19 +44,19 @@ set_padding:POLARSSL_CIPHER_NULL:POLARSSL_PADDING_PKCS7:POLARSSL_ERR_CIPHER_BAD_
|
|||
|
||||
Set non-existent padding with AES-CBC
|
||||
depends_on:POLARSSL_AES_C
|
||||
set_padding:POLARSSL_CIPHER_AES_128_CBC:-1:POLARSSL_ERR_CIPHER_BAD_INPUT_DATA
|
||||
set_padding:POLARSSL_CIPHER_AES_128_CBC:-1:POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE
|
||||
|
||||
Set non-existent padding with CAMELLIA-CBC
|
||||
depends_on:POLARSSL_CAMELLIA_C
|
||||
set_padding:POLARSSL_CIPHER_CAMELLIA_128_CBC:-1:POLARSSL_ERR_CIPHER_BAD_INPUT_DATA
|
||||
set_padding:POLARSSL_CIPHER_CAMELLIA_128_CBC:-1:POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE
|
||||
|
||||
Set non-existent padding with DES-CBC
|
||||
depends_on:POLARSSL_DES_C
|
||||
set_padding:POLARSSL_CIPHER_DES_CBC:-1:POLARSSL_ERR_CIPHER_BAD_INPUT_DATA
|
||||
set_padding:POLARSSL_CIPHER_DES_CBC:-1:POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE
|
||||
|
||||
Set non-existent padding with BLOWFISH-CBC
|
||||
depends_on:POLARSSL_BLOWFISH_C
|
||||
set_padding:POLARSSL_CIPHER_BLOWFISH_CBC:-1:POLARSSL_ERR_CIPHER_BAD_INPUT_DATA
|
||||
set_padding:POLARSSL_CIPHER_BLOWFISH_CBC:-1:POLARSSL_ERR_CIPHER_FEATURE_UNAVAILABLE
|
||||
|
||||
Check PKCS padding #1 (correct)
|
||||
check_padding:POLARSSL_PADDING_PKCS7:"DABBAD0004040404":0:4
|
||||
|
|
Loading…
Reference in a new issue