mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-10 05:03:02 +03:00
Use new CT interface in mbedtls_ct_memcpy_offset
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
@@ -385,8 +385,8 @@ void mbedtls_ct_memcpy_offset(unsigned char *dest,
|
|||||||
size_t offsetval;
|
size_t offsetval;
|
||||||
|
|
||||||
for (offsetval = offset_min; offsetval <= offset_max; offsetval++) {
|
for (offsetval = offset_min; offsetval <= offset_max; offsetval++) {
|
||||||
mbedtls_ct_memcpy_if_eq(dest, src + offsetval, len,
|
mbedtls_ct_memcpy_if(mbedtls_ct_bool_eq(offsetval, offset), dest, src + offsetval, NULL,
|
||||||
offsetval, offset);
|
len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user