mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 09:04:18 +01:00
Add non regression test
Add a test that adds a very long key for an unsupported algorithm.
This commit is contained in:
parent
296eca6e76
commit
16cca804fb
@ -995,6 +995,10 @@ PSA MAC verify: CMAC-AES-128, truncated to 4 bytes
|
|||||||
depends_on:MBEDTLS_CMAC_C:MBEDTLS_AES_C
|
depends_on:MBEDTLS_CMAC_C:MBEDTLS_AES_C
|
||||||
mac_verify:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":PSA_ALG_TRUNCATED_MAC(PSA_ALG_CMAC, 4):"6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411":"dfa66747"
|
mac_verify:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":PSA_ALG_TRUNCATED_MAC(PSA_ALG_CMAC, 4):"6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411":"dfa66747"
|
||||||
|
|
||||||
|
PSA MAC setup: incompatible key MD for HMAC
|
||||||
|
depends_on:!MBEDTLS_MD5_C
|
||||||
|
mac_setup:PSA_KEY_TYPE_HMAC:"000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f":PSA_ALG_HMAC(PSA_ALG_MD5):PSA_ERROR_NOT_SUPPORTED
|
||||||
|
|
||||||
Cipher operation object initializers zero properly
|
Cipher operation object initializers zero properly
|
||||||
cipher_operation_init:
|
cipher_operation_init:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user