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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue