mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 19:21:09 +01: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 */
|
/* 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);
|
int ret = p256_ecdh_shared_secret(shared_secret, key_buffer, peer_key_p256m);
|
||||||
if (ret == P256_SUCCESS) {
|
if (ret == P256_SUCCESS) {
|
||||||
*shared_secret_length = SHARED_SECRET_SIZE;
|
*shared_secret_length = SHARED_SECRET_SIZE;
|
||||||
|
|||||||
Reference in New Issue
Block a user