mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-26 06:35:31 +00:00
fix static function name
This commit is contained in:
parent
8481e74ecc
commit
16864af80b
|
@ -1320,7 +1320,7 @@ psa_status_t psa_asymmetric_sign(psa_key_slot_t key,
|
||||||
/* Symmetric cryptography */
|
/* Symmetric cryptography */
|
||||||
/****************************************************************/
|
/****************************************************************/
|
||||||
|
|
||||||
static psa_status_t psa_setup(psa_cipher_operation_t *operation,
|
static psa_status_t psa_cipher_setup(psa_cipher_operation_t *operation,
|
||||||
psa_key_slot_t key,
|
psa_key_slot_t key,
|
||||||
psa_algorithm_t alg, mbedtls_operation_t cipher_operation)
|
psa_algorithm_t alg, mbedtls_operation_t cipher_operation)
|
||||||
{
|
{
|
||||||
|
@ -1399,14 +1399,14 @@ psa_status_t psa_encrypt_setup(psa_cipher_operation_t *operation,
|
||||||
psa_key_slot_t key,
|
psa_key_slot_t key,
|
||||||
psa_algorithm_t alg)
|
psa_algorithm_t alg)
|
||||||
{
|
{
|
||||||
return psa_setup(operation, key, alg, MBEDTLS_ENCRYPT);
|
return psa_cipher_setup(operation, key, alg, MBEDTLS_ENCRYPT);
|
||||||
}
|
}
|
||||||
|
|
||||||
psa_status_t psa_decrypt_setup(psa_cipher_operation_t *operation,
|
psa_status_t psa_decrypt_setup(psa_cipher_operation_t *operation,
|
||||||
psa_key_slot_t key,
|
psa_key_slot_t key,
|
||||||
psa_algorithm_t alg)
|
psa_algorithm_t alg)
|
||||||
{
|
{
|
||||||
return psa_setup(operation, key, alg, MBEDTLS_DECRYPT);
|
return psa_cipher_setup(operation, key, alg, MBEDTLS_DECRYPT);
|
||||||
}
|
}
|
||||||
|
|
||||||
psa_status_t psa_encrypt_generate_iv(psa_cipher_operation_t *operation,
|
psa_status_t psa_encrypt_generate_iv(psa_cipher_operation_t *operation,
|
||||||
|
|
Loading…
Reference in a new issue