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" {
229
229
pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
230
230
pub fn elf_aux_info ( aux : :: c_int , buf : * mut :: c_void , buflen : :: c_int ) -> :: c_int ;
231
231
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 ;
232
234
}
233
235
234
236
cfg_if ! {
Original file line number Diff line number Diff line change @@ -234,6 +234,8 @@ extern "C" {
234
234
pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
235
235
pub fn elf_aux_info ( aux : :: c_int , buf : * mut :: c_void , buflen : :: c_int ) -> :: c_int ;
236
236
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 ;
237
239
}
238
240
239
241
cfg_if ! {
You can’t perform that action at this time.
0 commit comments