commit | c76227d8084f5da857670e8294e054d60a5ba01f | [log] [tgz] |
---|---|---|
author | gabor-mezei-arm <gabor.mezei@arm.com> | Mon Sep 27 11:53:54 2021 +0200 |
committer | gabor-mezei-arm <gabor.mezei@arm.com> | Tue Sep 28 16:16:14 2021 +0200 |
tree | 4514aa2b2dbf90ffc4ec4e9aeaa868aee3a35f98 | |
parent | 3733bf805a49381223ce6249063be59baca96f84 [diff] [blame] |
Move mbedtls_cf_size_mask_lt function to the constant-time module Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
diff --git a/library/constant_time.h b/library/constant_time.h index 3cbabe1..0b75900 100644 --- a/library/constant_time.h +++ b/library/constant_time.h
@@ -33,3 +33,5 @@ unsigned mbedtls_cf_uint_mask( unsigned value ); size_t mbedtls_cf_size_mask( size_t bit ); + +size_t mbedtls_cf_size_mask_lt( size_t x, size_t y );