Add FFDH key generation tests
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
44babc04dc
commit
564eb5864b
1 changed files with 24 additions and 0 deletions
|
@ -6823,6 +6823,30 @@ generate_key_rsa:512:"01":PSA_ERROR_INVALID_ARGUMENT
|
||||||
PSA generate key: RSA, e=2
|
PSA generate key: RSA, e=2
|
||||||
generate_key_rsa:512:"01":PSA_ERROR_INVALID_ARGUMENT
|
generate_key_rsa:512:"01":PSA_ERROR_INVALID_ARGUMENT
|
||||||
|
|
||||||
|
PSA generate key: FFDH, 2048 bits, good
|
||||||
|
depends_on:PSA_WANT_ALG_FFDH:PSA_WANT_KEY_TYPE_FFDH_KEY_PAIR
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):2048:PSA_KEY_USAGE_EXPORT:PSA_ALG_FFDH:PSA_SUCCESS:0
|
||||||
|
|
||||||
|
PSA generate key: FFDH, 3072 bits, good
|
||||||
|
depends_on:PSA_WANT_ALG_FFDH:PSA_WANT_KEY_TYPE_FFDH_KEY_PAIR
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):3072:PSA_KEY_USAGE_EXPORT:PSA_ALG_FFDH:PSA_SUCCESS:0
|
||||||
|
|
||||||
|
PSA generate key: FFDH, 4096 bits, good
|
||||||
|
depends_on:PSA_WANT_ALG_FFDH:PSA_WANT_KEY_TYPE_FFDH_KEY_PAIR
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):4096:PSA_KEY_USAGE_EXPORT:PSA_ALG_FFDH:PSA_SUCCESS:0
|
||||||
|
|
||||||
|
PSA generate key: FFDH, 6144 bits, good
|
||||||
|
depends_on:PSA_WANT_ALG_FFDH:PSA_WANT_KEY_TYPE_FFDH_KEY_PAIR
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):6144:PSA_KEY_USAGE_EXPORT:PSA_ALG_FFDH:PSA_SUCCESS:0
|
||||||
|
|
||||||
|
PSA generate key: FFDH, 8192 bits, good
|
||||||
|
depends_on:PSA_WANT_ALG_FFDH:PSA_WANT_KEY_TYPE_FFDH_KEY_PAIR
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):8192:PSA_KEY_USAGE_EXPORT:PSA_ALG_FFDH:PSA_SUCCESS:0
|
||||||
|
|
||||||
|
PSA generate key: FFDH, 1024 bits, invalid bits
|
||||||
|
depends_on:PSA_WANT_ALG_FFDH:PSA_WANT_KEY_TYPE_FFDH_KEY_PAIR
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):1024:PSA_KEY_USAGE_EXPORT:PSA_ALG_FFDH:PSA_ERROR_NOT_SUPPORTED:0
|
||||||
|
|
||||||
PSA import persistent key: raw data, 8 bits
|
PSA import persistent key: raw data, 8 bits
|
||||||
depends_on:MBEDTLS_PK_C:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
depends_on:MBEDTLS_PK_C:MBEDTLS_PSA_CRYPTO_STORAGE_C
|
||||||
persistent_key_load_key_from_storage:"2a":PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_EXPORT:0:IMPORT_KEY
|
persistent_key_load_key_from_storage:"2a":PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_EXPORT:0:IMPORT_KEY
|
||||||
|
|
Loading…
Reference in a new issue