Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
byte_equa...mingattack(3)  Library Functions Manual  byte_equa...mingattack(3)

NAME
       byte_equal_notimingattack - compare two strings

SYNTAX
       #include	<libowfat/byte.h>

       int  byte_equal_notimingattack(const  char  *one,size_t	len,const char
       *two);

DESCRIPTION
       byte_equal_notimingattack returns 1 if the strings are equal, 0	other-
       wise.

       When  the  strings  are different, byte_equal_notimingattack will still
       read and	compare	all the	other bytes. That way, an  attacker  observing
       the  timing of the execution can	not learn where	the first mismatch oc-
       curred.

SEE ALSO
       byte_diff(3), byte_equal(3)

						     byte_equa...mingattack(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_byte_equal_notimingattack&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help