Home
last modified time | relevance | path

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

/freebsd/contrib/wireguard-tools/
H A Dencoding.c87 uint8_t c, c_acc, c_alpha0, c_alpha, c_num0, c_num, c_val; in key_from_hex() local
98 c_alpha0 = ((c_alpha - 10U) ^ (c_alpha - 16U)) >> 8; in key_from_hex()
99 ret |= ((c_num0 | c_alpha0) - 1) >> 8; in key_from_hex()
100 c_val = (c_num0 & c_num) | (c_alpha0 & c_alpha); in key_from_hex()
107 c_alpha0 = ((c_alpha - 10U) ^ (c_alpha - 16U)) >> 8; in key_from_hex()
108 ret |= ((c_num0 | c_alpha0) - 1) >> 8; in key_from_hex()
109 c_val = (c_num0 & c_num) | (c_alpha0 & c_alpha); in key_from_hex()
/freebsd/sys/contrib/libsodium/src/libsodium/sodium/
H A Dcodecs.c51 unsigned char c_alpha0, c_alpha; in sodium_hex2bin() local
61 c_alpha0 = ((c_alpha - 10U) ^ (c_alpha - 16U)) >> 8; in sodium_hex2bin()
62 if ((c_num0 | c_alpha0) == 0U) { in sodium_hex2bin()
69 c_val = (c_num0 & c_num) | (c_alpha0 & c_alpha); in sodium_hex2bin()