Lines Matching refs:bin1
635 u8 bin1[SAE_MAX_ECC_PRIME_LEN]; in sswu() local
711 if (crypto_bignum_to_bin(x1a, bin1, sizeof(bin1), prime_len) < 0 || in sswu()
714 const_time_select_bin(m_is_zero, bin1, bin2, prime_len, bin); in sswu()
753 if (crypto_bignum_to_bin(gx1, bin1, sizeof(bin1), prime_len) < 0 || in sswu()
756 const_time_select_bin(is_qr, bin1, bin2, prime_len, bin); in sswu()
763 if (crypto_bignum_to_bin(x1, bin1, sizeof(bin1), prime_len) < 0 || in sswu()
766 const_time_select_bin(is_qr, bin1, bin2, prime_len, x_y); in sswu()
771 if (crypto_bignum_to_bin(prime, bin1, sizeof(bin1), prime_len) < 0) in sswu()
773 if ((bin1[prime_len - 1] & 0x03) != 3) { in sswu()
786 if (crypto_bignum_to_bin(u, bin1, sizeof(bin1), prime_len) < 0 || in sswu()
789 is_eq = const_time_eq(bin1[prime_len - 1] & 0x01, in sswu()
796 if (crypto_bignum_to_bin(y, bin1, sizeof(bin1), prime_len) < 0 || in sswu()
799 const_time_select_bin(is_eq, bin1, bin2, prime_len, &x_y[prime_len]); in sswu()
825 forced_memzero(bin1, sizeof(bin1)); in sswu()