mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-30 17:09:41 -04:00
psa_util: minor performance improvement in mbedtls_ecdsa_der_to_raw()
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
bec1d842ac
commit
05c256fb36
@ -529,7 +529,7 @@ int mbedtls_ecdsa_der_to_raw(size_t bits, const unsigned char *der, size_t der_l
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(raw_tmp, 0, sizeof(raw_tmp));
|
memset(raw_tmp, 0, 2 * coordinate_size);
|
||||||
|
|
||||||
/* Extract r */
|
/* Extract r */
|
||||||
ret = convert_der_to_raw_single_int(p, data_len, raw_tmp, coordinate_size);
|
ret = convert_der_to_raw_single_int(p, data_len, raw_tmp, coordinate_size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user