mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-24 17:41:01 +03:00
Fix typo in variable declaration
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
2
3rdparty/p256-m/p256-m_driver_entrypoints.c
vendored
2
3rdparty/p256-m/p256-m_driver_entrypoints.c
vendored
@@ -203,7 +203,7 @@ psa_status_t p256_transparent_key_agreement(
|
||||
}
|
||||
|
||||
/* See INFORMATION ON PSA KEY EXPORT FORMATS near top of file */
|
||||
const uint8_t peer_key_p256m = peer_key + 1;
|
||||
const uint8_t *peer_key_p256m = peer_key + 1;
|
||||
int ret = p256_ecdh_shared_secret(shared_secret, key_buffer, peer_key_p256m);
|
||||
if (ret == P256_SUCCESS) {
|
||||
*shared_secret_length = SHARED_SECRET_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user