fix tests according to the code changes in error value
This commit is contained in:
parent
60a64d079a
commit
4b26850a15
@ -134,7 +134,7 @@ PSA AEAD Encrypt-Decrypt, AES GCM scenario 2
|
||||
aead_encrypt_decrypt:PSA_KEY_TYPE_AES:"D7828D13B2B0BDC325A76236DF93CC6B":PSA_ALG_GCM:"B96B49E21D621741632875DB7F6C9243D2D7C2":"EC46BB63B02520C33C49FD70":PSA_SUCCESS
|
||||
|
||||
PSA AEAD Encrypt-Decrypt, Fail Scenario - Invalid key type
|
||||
aead_encrypt_decrypt:PSA_KEY_TYPE_DES:"D7828D13B2B0BDC325A76236DF93CC6B":PSA_ALG_CCM:"B96B49E21D621741632875DB7F6C9243D2D7C2":"EC46BB63B02520C33C49FD70":PSA_ERROR_INVALID_ARGUMENT
|
||||
aead_encrypt_decrypt:PSA_KEY_TYPE_DES:"D7828D13B2B0BDC325A76236DF93CC6B":PSA_ALG_CCM:"B96B49E21D621741632875DB7F6C9243D2D7C2":"EC46BB63B02520C33C49FD70":PSA_ERROR_NOT_SUPPORTED
|
||||
|
||||
PSA AEAD Encrypt-Decrypt, Fail Scenario - Invalid algorithm
|
||||
aead_encrypt_decrypt:PSA_KEY_TYPE_AES:"D7828D13B2B0BDC325A76236DF93CC6B":PSA_ALG_CTR:"B96B49E21D621741632875DB7F6C9243D2D7C2":"EC46BB63B02520C33C49FD70":PSA_ERROR_INVALID_ARGUMENT
|
||||
aead_encrypt_decrypt:PSA_KEY_TYPE_AES:"D7828D13B2B0BDC325A76236DF93CC6B":PSA_ALG_CTR:"B96B49E21D621741632875DB7F6C9243D2D7C2":"EC46BB63B02520C33C49FD70":PSA_ERROR_NOT_SUPPORTED
|
||||
|
@ -577,8 +577,7 @@ exit:
|
||||
/* BEGIN_CASE */
|
||||
void aead_encrypt_decrypt( int key_type_arg, char * key_hex,
|
||||
int alg_arg, char * input_hex,
|
||||
char * add_data
|
||||
, int expected_result_arg )
|
||||
char * add_data, int expected_result_arg )
|
||||
{
|
||||
int slot = 1;
|
||||
psa_key_type_t key_type = key_type_arg;
|
||||
|
Loading…
Reference in New Issue
Block a user