mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Increase input parameter type and buffer size
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
This commit is contained in:
parent
86e83dd4a7
commit
9ffd397e4c
@ -8451,7 +8451,7 @@ exit:
|
|||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE */
|
/* BEGIN_CASE */
|
||||||
void derive_set_capacity(int alg_arg, int capacity_arg,
|
void derive_set_capacity(int alg_arg, int64_t capacity_arg,
|
||||||
int expected_status_arg)
|
int expected_status_arg)
|
||||||
{
|
{
|
||||||
psa_algorithm_t alg = alg_arg;
|
psa_algorithm_t alg = alg_arg;
|
||||||
@ -8932,7 +8932,7 @@ void derive_full(int alg_arg,
|
|||||||
psa_algorithm_t alg = alg_arg;
|
psa_algorithm_t alg = alg_arg;
|
||||||
size_t requested_capacity = requested_capacity_arg;
|
size_t requested_capacity = requested_capacity_arg;
|
||||||
psa_key_derivation_operation_t operation = PSA_KEY_DERIVATION_OPERATION_INIT;
|
psa_key_derivation_operation_t operation = PSA_KEY_DERIVATION_OPERATION_INIT;
|
||||||
unsigned char output_buffer[16];
|
unsigned char output_buffer[32];
|
||||||
size_t expected_capacity = requested_capacity;
|
size_t expected_capacity = requested_capacity;
|
||||||
size_t current_capacity;
|
size_t current_capacity;
|
||||||
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
|
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user