Home
last modified time | relevance | path

Searched refs:crypto_ct_ne_zero_u8 (Results 1 – 2 of 2) sorted by relevance

/openbsd/lib/libcrypto/
H A Dcrypto_internal.h104 crypto_ct_ne_zero_u8(uint8_t v) in crypto_ct_ne_zero_u8() function
114 return 0 - crypto_ct_ne_zero_u8(v); in crypto_ct_ne_zero_mask_u8()
122 return 1 - crypto_ct_ne_zero_u8(v); in crypto_ct_eq_zero_u8()
138 return crypto_ct_ne_zero_u8(a - b); in crypto_ct_ne_u8()
/openbsd/regress/lib/libcrypto/crypto/
H A Dcrypto_test.c125 if ((a != 0) != crypto_ct_ne_zero_u8(a)) { in test_ct_u8()
127 "want %d\n", a, crypto_ct_ne_zero_u8(a), a != 0); in test_ct_u8()
138 "want %d\n", a, crypto_ct_ne_zero_u8(a), a != 0); in test_ct_u8()