mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-24 11:11:10 +00:00
Rename (and relabel) pkcs12 test case
Remove surplus _test suffix. Change labeling from Pcks12 to PCKS#12 as it should be. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
8ca8f2d163
commit
73051b4176
|
@ -1,33 +1,33 @@
|
|||
Pkcs12 derive key : Zero length password and hash
|
||||
PKCS#12 derive key : Zero length password and hash
|
||||
depends_on:MBEDTLS_MD5_C
|
||||
pkcs12_derive_key_test:MBEDTLS_MD_MD5:48:"":1:"":1:3:0
|
||||
pkcs12_derive_key:MBEDTLS_MD_MD5:48:"":1:"":1:3:0
|
||||
|
||||
Pkcs12 derive key: NULL password and hash
|
||||
PKCS#12 derive key: NULL password and hash
|
||||
depends_on:MBEDTLS_MD5_C
|
||||
pkcs12_derive_key_test:MBEDTLS_MD_MD5:48:"":0:"":0:3:0
|
||||
pkcs12_derive_key:MBEDTLS_MD_MD5:48:"":0:"":0:3:0
|
||||
|
||||
Pkcs12 derive key: Zero length password
|
||||
PKCS#12 derive key: Zero length password
|
||||
depends_on:MBEDTLS_MD5_C
|
||||
pkcs12_derive_key_test:MBEDTLS_MD_MD5:48:"":1:"0123456789abcdef":1:3:0
|
||||
pkcs12_derive_key:MBEDTLS_MD_MD5:48:"":1:"0123456789abcdef":1:3:0
|
||||
|
||||
Pkcs12 derive key: NULL password
|
||||
PKCS#12 derive key: NULL password
|
||||
depends_on:MBEDTLS_MD5_C
|
||||
pkcs12_derive_key_test:MBEDTLS_MD_MD5:48:"":0:"0123456789abcdef":1:3:0
|
||||
pkcs12_derive_key:MBEDTLS_MD_MD5:48:"":0:"0123456789abcdef":1:3:0
|
||||
|
||||
Pkcs12 derive key: Invalid length NULL password
|
||||
PKCS#12 derive key: Invalid length NULL password
|
||||
depends_on:MBEDTLS_MD5_C
|
||||
pkcs12_derive_key_test:MBEDTLS_MD_MD5:48:"0123456789abcdef":2:"0123456789abcdef":1:3:MBEDTLS_ERR_PKCS12_BAD_INPUT_DATA
|
||||
pkcs12_derive_key:MBEDTLS_MD_MD5:48:"0123456789abcdef":2:"0123456789abcdef":1:3:MBEDTLS_ERR_PKCS12_BAD_INPUT_DATA
|
||||
|
||||
Pkcs12 derive key: Zero length hash
|
||||
PKCS#12 derive key: Zero length hash
|
||||
depends_on:MBEDTLS_MD5_C
|
||||
pkcs12_derive_key_test:MBEDTLS_MD_MD5:48:"0123456789abcdef":1:"":1:3:0
|
||||
pkcs12_derive_key:MBEDTLS_MD_MD5:48:"0123456789abcdef":1:"":1:3:0
|
||||
|
||||
Pkcs12 derive key: NULL hash
|
||||
PKCS#12 derive key: NULL hash
|
||||
depends_on:MBEDTLS_MD5_C
|
||||
pkcs12_derive_key_test:MBEDTLS_MD_MD5:48:"0123456789abcdef":1:"":0:3:0
|
||||
pkcs12_derive_key:MBEDTLS_MD_MD5:48:"0123456789abcdef":1:"":0:3:0
|
||||
|
||||
Pkcs12 derive key: Invalid length NULL hash
|
||||
PKCS#12 derive key: Invalid length NULL hash
|
||||
depends_on:MBEDTLS_MD5_C
|
||||
pkcs12_derive_key_test:MBEDTLS_MD_MD5:48:"0123456789abcdef":1:"0123456789abcdef":2:3:MBEDTLS_ERR_PKCS12_BAD_INPUT_DATA
|
||||
pkcs12_derive_key:MBEDTLS_MD_MD5:48:"0123456789abcdef":1:"0123456789abcdef":2:3:MBEDTLS_ERR_PKCS12_BAD_INPUT_DATA
|
||||
|
||||
|
||||
|
|
|
@ -17,10 +17,10 @@ typedef enum
|
|||
*/
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void pkcs12_derive_key_test( int md_type, int key_size_arg,
|
||||
data_t *password_arg, int password_usage,
|
||||
data_t *salt_arg, int salt_usage,
|
||||
int iterations, int expected_status )
|
||||
void pkcs12_derive_key( int md_type, int key_size_arg,
|
||||
data_t *password_arg, int password_usage,
|
||||
data_t *salt_arg, int salt_usage,
|
||||
int iterations, int expected_status )
|
||||
|
||||
{
|
||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||
|
|
Loading…
Reference in a new issue