File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,8 @@ extern "C" {
229229 pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
230230 pub fn elf_aux_info ( aux : :: c_int , buf : * mut :: c_void , buflen : :: c_int ) -> :: c_int ;
231231 pub fn setproctitle_fast ( fmt : * const :: c_char , ...) ;
232+ pub fn timingsafe_bcmp ( a : * const :: c_void , b : * const :: c_void , len : :: size_t ) -> :: c_int ;
233+ pub fn timingsafe_memcmp ( a : * const :: c_void , b : * const :: c_void , len : :: size_t ) -> :: c_int ;
232234}
233235
234236cfg_if ! {
Original file line number Diff line number Diff line change @@ -234,6 +234,8 @@ extern "C" {
234234 pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
235235 pub fn elf_aux_info ( aux : :: c_int , buf : * mut :: c_void , buflen : :: c_int ) -> :: c_int ;
236236 pub fn setproctitle_fast ( fmt : * const :: c_char , ...) ;
237+ pub fn timingsafe_bcmp ( a : * const :: c_void , b : * const :: c_void , len : :: size_t ) -> :: c_int ;
238+ pub fn timingsafe_memcmp ( a : * const :: c_void , b : * const :: c_void , len : :: size_t ) -> :: c_int ;
237239}
238240
239241cfg_if ! {
You can’t perform that action at this time.
0 commit comments