Lines Matching refs:GET_WORD

75 #define GET_WORD(addr)        (*((uint32_t *)DEINTERLEAVE((uint32_t)(addr))))  macro
76 #define GET_DWORD(addr) (((uint64_t)GET_WORD(addr)) | (((uint64_t)GET_WORD(((uint32_t)(addr))…
97 SET_WORD(&dst32[i], GET_WORD(&src32[i])); \
112 dst32[i] = GET_WORD(&src32[i]); \
131 #define GET_WORD(addr) (*((uint32_t *)(uint32_t)(addr))) macro
574 SET_WORD(&c[i], (GET_WORD(&a[i]) & m2) | (GET_WORD(&b[i]) & m1)); in casper_select()
620 if (0U != (GET_WORD(&v[j])) || 0U != (GET_WORD(&v[j + 1U]))) in MultprecMultiply()
662 v_Nm1 = GET_WORD(&v[N_wordlen - 1U]); /* MSw of public key */ in MultprecModulo()
672 u64 = ((uint64_t)u_n << 32) | GET_WORD(&u_shft[(uint32_t)j + N_wordlen - 1U]); in MultprecModulo()
746 while ((q_over != 0U) || ((uint64_t)q_hat * GET_WORD(&v[N_wordlen - 2U])) > in MultprecModulo()
747 … ((1ULL << 32) * r_hat) + (uint64_t)GET_WORD(&u_shft[(uint32_t)j + N_wordlen - 2U])) in MultprecModulo()
766 u64 = (uint64_t)q_hat * GET_WORD(&v[i]) + borrow; in MultprecModulo()
768 if (GET_WORD(&u_shft[i + (unsigned)j]) < (unsigned)u64) in MultprecModulo()
772 … SET_WORD(&u_shft[i + (unsigned)j], GET_WORD(&u_shft[i + (unsigned)j]) - (unsigned)u64); in MultprecModulo()
785 SET_WORD(&u_shft[i + (unsigned)j], GET_WORD(&u_shft[i + (unsigned)j]) + carry); in MultprecModulo()
786 carry = (GET_WORD(&u_shft[i + (unsigned)j]) < carry) ? 1U : 0U; in MultprecModulo()
787 … SET_WORD(&u_shft[i + (unsigned)j], GET_WORD(&u_shft[i + (unsigned)j]) + GET_WORD(&v[i])); in MultprecModulo()
788 if (GET_WORD(&u_shft[i + (unsigned)j]) < GET_WORD(&v[i])) in MultprecModulo()
794 u_n = GET_WORD( in MultprecModulo()
813 Nmod_0 = GET_WORD(&Nmod[0]) | ((uint64_t)GET_WORD(&Nmod[1]) << 32); in MultprecGenNp64()
893 if (0U != (GET_WORD(&w_out[N_wordlen]))) in MultprecCiosMul()
902 if (GET_WORD(&w_out[i]) != GET_WORD(&Nmod[i])) in MultprecCiosMul()
904 j = (int32_t)(GET_WORD(&w_out[i]) > GET_WORD(&Nmod[i])); /* if larger sub */ in MultprecCiosMul()
1692 borrow = (uint32_t)(GET_WORD(&((uint32_t *)w_out)[N_wordlen]) > GET_WORD(&T1[N_wordlen])); in MultprecCiosMul_ct()
1721 …borrow = (int32_t)((GET_WORD(&((uint32_t *)(uintptr_t)tmp)[N_wordlen - 1U])) > GET_WORD(&A[N_wordl… in CASPER_montsub()
1765 …borrow = (int32_t)(GET_WORD(&C[N_wordlen]) > GET_WORD(&(((uint32_t *)(uintptr_t)tmp)[N_wordlen]))); in CASPER_montadd()
1785 SET_WORD(&c[N_wordlen - 1U], GET_WORD(&c[N_wordlen - 1U]) | (GET_WORD(&c[N_wordlen]) << 31)); in CASPER_half()
1787 … casper_select(c, b, c, (int32_t)(uint32_t)(GET_WORD(&a[0]) & 1U), (int16_t)(uint16_t)(N_wordlen)); in CASPER_half()
1792 return GET_WORD(addr); in casper_get_word()
1837 SET_WORD(&z[0], (GET_WORD(&x[1]) << (32U - (c))) | (GET_WORD(&x[0]) >> (c))); in shiftright()
1838 SET_WORD(&z[1], (GET_WORD(&x[2]) << (32U - (c))) | (GET_WORD(&x[1]) >> (c))); in shiftright()
1839 SET_WORD(&z[2], (GET_WORD(&x[3]) << (32U - (c))) | (GET_WORD(&x[2]) >> (c))); in shiftright()
1840 SET_WORD(&z[3], (GET_WORD(&x[4]) << (32U - (c))) | (GET_WORD(&x[3]) >> (c))); in shiftright()
1841 SET_WORD(&z[4], (GET_WORD(&x[5]) << (32U - (c))) | (GET_WORD(&x[4]) >> (c))); in shiftright()
1842 SET_WORD(&z[5], (GET_WORD(&x[6]) << (32U - (c))) | (GET_WORD(&x[5]) >> (c))); in shiftright()
1843 SET_WORD(&z[6], (GET_WORD(&x[7]) << (32U - (c))) | (GET_WORD(&x[6]) >> (c))); in shiftright()
1847 SET_WORD(&z[7], (GET_WORD(&x[8]) << (32U - (c))) | (GET_WORD(&x[7]) >> (c))); in shiftright()
1848 SET_WORD(&z[8], (GET_WORD(&x[9]) << (32U - (c))) | (GET_WORD(&x[8]) >> (c))); in shiftright()
1849 SET_WORD(&z[9], (GET_WORD(&x[10]) << (32U - (c))) | (GET_WORD(&x[9]) >> (c))); in shiftright()
1850 SET_WORD(&z[10], (GET_WORD(&x[11]) << (32U - (c))) | (GET_WORD(&x[10]) >> (c))); in shiftright()
1851 SET_WORD(&z[11], (GET_WORD(&x[12]) << (32U - (c))) | (GET_WORD(&x[11]) >> (c))); in shiftright()
1852 SET_WORD(&z[12], (GET_WORD(&x[13]) << (32U - (c))) | (GET_WORD(&x[12]) >> (c))); in shiftright()
1853 SET_WORD(&z[13], (GET_WORD(&x[14]) << (32U - (c))) | (GET_WORD(&x[13]) >> (c))); in shiftright()
1854 SET_WORD(&z[14], (GET_WORD(&x[15]) << (32U - (c))) | (GET_WORD(&x[14]) >> (c))); in shiftright()
1855 SET_WORD(&z[15], (GET_WORD(&x[16]) << (32U - (c))) | (GET_WORD(&x[15]) >> (c))); in shiftright()
1856 SET_WORD(&z[16], (GET_WORD(&x[17]) << (32U - (c))) | (GET_WORD(&x[16]) >> (c))); in shiftright()
1857 SET_WORD(&z[17], (GET_WORD(&x[17]) >> (c))); in shiftright()
1861 SET_WORD(&z[7], (GET_WORD(&x[8]) << (32U - (c))) | (GET_WORD(&x[7]) >> (c))); in shiftright()
1862 SET_WORD(&z[8], (GET_WORD(&x[9]) << (32U - (c))) | (GET_WORD(&x[8]) >> (c))); in shiftright()
1863 SET_WORD(&z[9], (GET_WORD(&x[10]) << (32U - (c))) | (GET_WORD(&x[9]) >> (c))); in shiftright()
1864 SET_WORD(&z[10], (GET_WORD(&x[11]) << (32U - (c))) | (GET_WORD(&x[10]) >> (c))); in shiftright()
1865 SET_WORD(&z[11], (GET_WORD(&x[11]) >> (c))); in shiftright()
1869 SET_WORD((&z[7]), (GET_WORD(&x[7]) >> (c))); in shiftright()
1877 SET_WORD(&z[17], (GET_WORD(&x[17]) << (c)) | GET_WORD(&z[16]) >> (32U - (c))); in shiftleft()
1878 SET_WORD(&z[16], (GET_WORD(&x[16]) << (c)) | GET_WORD(&z[15]) >> (32U - (c))); in shiftleft()
1879 SET_WORD(&z[15], (GET_WORD(&x[15]) << (c)) | GET_WORD(&z[14]) >> (32U - (c))); in shiftleft()
1880 SET_WORD(&z[14], (GET_WORD(&x[14]) << (c)) | GET_WORD(&z[13]) >> (32U - (c))); in shiftleft()
1881 SET_WORD(&z[13], (GET_WORD(&x[13]) << (c)) | GET_WORD(&z[12]) >> (32U - (c))); in shiftleft()
1882 SET_WORD(&z[12], (GET_WORD(&x[12]) << (c)) | GET_WORD(&z[11]) >> (32U - (c))); in shiftleft()
1883 SET_WORD(&z[11], (GET_WORD(&x[11]) << (c)) | GET_WORD(&z[10]) >> (32U - (c))); in shiftleft()
1884 SET_WORD(&z[10], (GET_WORD(&x[10]) << (c)) | GET_WORD(&z[9]) >> (32U - (c))); in shiftleft()
1885 SET_WORD(&z[9], (GET_WORD(&x[9]) << (c)) | GET_WORD(&z[8]) >> (32U - (c))); in shiftleft()
1886 SET_WORD(&z[8], (GET_WORD(&x[8]) << (c)) | GET_WORD(&z[7]) >> (32U - (c))); in shiftleft()
1890 SET_WORD(&z[11], (GET_WORD(&x[11]) << (c)) | GET_WORD(&z[10]) >> (32U - (c))); in shiftleft()
1891 SET_WORD(&z[10], (GET_WORD(&x[10]) << (c)) | GET_WORD(&z[9]) >> (32U - (c))); in shiftleft()
1892 SET_WORD(&z[9], (GET_WORD(&x[9]) << (c)) | GET_WORD(&z[8]) >> (32U - (c))); in shiftleft()
1893 SET_WORD(&z[8], (GET_WORD(&x[8]) << (c)) | GET_WORD(&z[7]) >> (32U - (c))); in shiftleft()
1895 SET_WORD(&z[7], (GET_WORD(&x[7]) << (c)) | GET_WORD(&z[6]) >> (32U - (c))); in shiftleft()
1896 SET_WORD(&z[6], (GET_WORD(&x[6]) << (c)) | GET_WORD(&z[5]) >> (32U - (c))); in shiftleft()
1897 SET_WORD(&z[5], (GET_WORD(&x[5]) << (c)) | GET_WORD(&z[4]) >> (32U - (c))); in shiftleft()
1898 SET_WORD(&z[4], (GET_WORD(&x[4]) << (c)) | GET_WORD(&z[3]) >> (32U - (c))); in shiftleft()
1899 SET_WORD(&z[3], (GET_WORD(&x[3]) << (c)) | GET_WORD(&z[2]) >> (32U - (c))); in shiftleft()
1900 SET_WORD(&z[2], (GET_WORD(&x[2]) << (c)) | GET_WORD(&z[1]) >> (32U - (c))); in shiftleft()
1901 SET_WORD(&z[1], (GET_WORD(&x[1]) << (c)) | GET_WORD(&z[0]) >> (32U - (c))); in shiftleft()
1902 SET_WORD(&z[0], (GET_WORD(&x[0]) << (c))); in shiftleft()
2207 sub_borrowout(borrow, GET_WORD(&c[0]), a[0], GET_WORD(&b[0])); in sub_n()
2210 sub_borrowin_borrowout(borrow, GET_WORD(&c[i]), a[i], GET_WORD(&b[i]), borrow); in sub_n()
3417 borrow = (uint32_t)(GET_WORD(&((uint32_t *)w_out)[N_wordlen]) > GET_WORD(&T1[N_wordlen])); in MultprecCiosMul521_ct()