const_time_select_bin() function
const_time_select_bin - Constant time binary buffer selection copy @mask: 0 (false) or -1 (true) to identify which value to copy @true_val: Buffer to copy for the true case @false_val: Buffer to copy for the false case @len: Number of octets to copy @dst: Destination buffer for the copy This function copies the specified buffer into the destination buffer using operations with identical memory access pattern regardless of which buffer is being copied.
![]()
const_time_select_bin(mask, qnr, qr, prime_len, qr_or_qnr_bin);![]()
const_time_select_bin(found, stub_password, password,![]()
const_time_select_bin(found, x_bin, x_cand_bin, prime_len,![]()
const_time_select_bin(found, pwe_buf, pwe_buf + prime_len,![]()
const_time_select_bin(m_is_zero, bin1, bin2, prime_len, bin);![]()
const_time_select_bin(is_qr, bin1, bin2, prime_len, bin);![]()
const_time_select_bin(is_qr, bin1, bin2, prime_len, x_y);![]()
const_time_select_bin(is_eq, bin1, bin2, prime_len, &x_y[prime_len]);
const_time_select_bin() is called by 4 functions and calls 1 function:
![]()
const_time_select_bin()
const_time_select_bin():
![]()
const_time_select_bin()