OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:constant_time_eq
(Results
1 - 5
of
5
) sorted by null
/external/boringssl/src/crypto/modes/
polyval.c
39
const unsigned carry =
constant_time_eq
(hi & 1, 1);
/external/boringssl/src/crypto/
internal.h
269
/*
constant_time_eq
returns 0xff..f if a == b and 0 otherwise. */
270
static inline unsigned int
constant_time_eq
(unsigned int a, unsigned int b) {
function
274
/* constant_time_eq_8 acts like |
constant_time_eq
| but returns an 8-bit mask. */
276
return (uint8_t)(
constant_time_eq
(a, b));
279
/* constant_time_eq_int acts like |
constant_time_eq
| but works on int values. */
281
return
constant_time_eq
((unsigned)(a), (unsigned)(b));
constant_time_test.cc
103
EXPECT_EQ(FromBool(a == b),
constant_time_eq
(a, b));
/external/boringssl/src/crypto/rsa/
padding.c
205
unsigned first_byte_is_zero =
constant_time_eq
(from[0], 0);
206
unsigned second_byte_is_two =
constant_time_eq
(from[1], 2);
444
unsigned equals1 =
constant_time_eq
(db[i], 1);
445
unsigned equals0 =
constant_time_eq
(db[i], 0);
/external/boringssl/src/crypto/cipher/
tls_cbc.c
114
good =
constant_time_eq
(0xff, good & 0xff);
156
unsigned is_mac_start =
constant_time_eq
(i, mac_start);
Completed in 75 milliseconds