mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 21:45:45 +01:00
added key_type parameter to asymmetric operations because the accelerator need this info
This commit is contained in:
parent
34b33f198b
commit
6aaa4fd73b
@ -656,6 +656,7 @@ typedef psa_status_t (*psa_drv_accel_aead_decrypt_t)(const uint8_t *p_key,
|
|||||||
typedef psa_status_t (*psa_drv_accel_asymmetric_sign_t)(const uint8_t *p_key,
|
typedef psa_status_t (*psa_drv_accel_asymmetric_sign_t)(const uint8_t *p_key,
|
||||||
size_t key_size,
|
size_t key_size,
|
||||||
psa_algorithm_t alg,
|
psa_algorithm_t alg,
|
||||||
|
psa_key_type_t key_type,
|
||||||
const uint8_t *p_hash,
|
const uint8_t *p_hash,
|
||||||
size_t hash_length,
|
size_t hash_length,
|
||||||
uint8_t *p_signature,
|
uint8_t *p_signature,
|
||||||
@ -689,6 +690,7 @@ typedef psa_status_t (*psa_drv_accel_asymmetric_sign_t)(const uint8_t *p_key,
|
|||||||
typedef psa_status_t (*psa_drv_accel_asymmetric_verify_t)(const uint8_t *p_key,
|
typedef psa_status_t (*psa_drv_accel_asymmetric_verify_t)(const uint8_t *p_key,
|
||||||
size_t key_size,
|
size_t key_size,
|
||||||
psa_algorithm_t alg,
|
psa_algorithm_t alg,
|
||||||
|
psa_key_type_t key_type,
|
||||||
const uint8_t *p_hash,
|
const uint8_t *p_hash,
|
||||||
size_t hash_length,
|
size_t hash_length,
|
||||||
const uint8_t *p_signature,
|
const uint8_t *p_signature,
|
||||||
@ -733,6 +735,7 @@ typedef psa_status_t (*psa_drv_accel_asymmetric_verify_t)(const uint8_t *p_key,
|
|||||||
typedef psa_status_t (*psa_drv_accel_asymmetric_encrypt_t)(const uint8_t *p_key,
|
typedef psa_status_t (*psa_drv_accel_asymmetric_encrypt_t)(const uint8_t *p_key,
|
||||||
size_t key_size,
|
size_t key_size,
|
||||||
psa_algorithm_t alg,
|
psa_algorithm_t alg,
|
||||||
|
psa_key_type_t key_type,
|
||||||
const uint8_t *p_input,
|
const uint8_t *p_input,
|
||||||
size_t input_length,
|
size_t input_length,
|
||||||
const uint8_t *p_salt,
|
const uint8_t *p_salt,
|
||||||
@ -779,6 +782,7 @@ typedef psa_status_t (*psa_drv_accel_asymmetric_encrypt_t)(const uint8_t *p_key,
|
|||||||
typedef psa_status_t (*psa_drv_accel_asymmetric_decrypt_t)(const uint8_t *p_key,
|
typedef psa_status_t (*psa_drv_accel_asymmetric_decrypt_t)(const uint8_t *p_key,
|
||||||
size_t key_size,
|
size_t key_size,
|
||||||
psa_algorithm_t alg,
|
psa_algorithm_t alg,
|
||||||
|
psa_key_type_t key_type,
|
||||||
const uint8_t *p_input,
|
const uint8_t *p_input,
|
||||||
size_t input_length,
|
size_t input_length,
|
||||||
const uint8_t *p_salt,
|
const uint8_t *p_salt,
|
||||||
|
Loading…
Reference in New Issue
Block a user