Searched refs:load_3 (Results 1 – 5 of 5) sorted by relevance
10 load_3(const unsigned char *in) in load_3() function34 uint64_t h1 = load_3(s + 4) << 6; in fe_frombytes()35 uint64_t h2 = load_3(s + 7) << 5; in fe_frombytes()36 uint64_t h3 = load_3(s + 10) << 3; in fe_frombytes()37 uint64_t h4 = load_3(s + 13) << 2; in fe_frombytes()39 uint64_t h6 = load_3(s + 20) << 7; in fe_frombytes()40 uint64_t h7 = load_3(s + 23) << 5; in fe_frombytes()41 uint64_t h8 = load_3(s + 26) << 4; in fe_frombytes()42 uint64_t h9 = (load_3(s + 29) & 8388607) << 2; in fe_frombytes()
9 int64_t h1 = load_3(s + 4) << 6; in fe25519_frombytes()10 int64_t h2 = load_3(s + 7) << 5; in fe25519_frombytes()11 int64_t h3 = load_3(s + 10) << 3; in fe25519_frombytes()12 int64_t h4 = load_3(s + 13) << 2; in fe25519_frombytes()14 int64_t h6 = load_3(s + 20) << 7; in fe25519_frombytes()15 int64_t h7 = load_3(s + 23) << 5; in fe25519_frombytes()16 int64_t h8 = load_3(s + 26) << 4; in fe25519_frombytes()17 int64_t h9 = (load_3(s + 29) & 8388607) << 2; in fe25519_frombytes()
12 load_3(const unsigned char *in) in load_3() function1073 int64_t a0 = 2097151 & load_3(a); in sc25519_muladd()1075 int64_t a2 = 2097151 & (load_3(a + 5) >> 2); in sc25519_muladd()1078 int64_t a5 = 2097151 & (load_3(a + 13) >> 1); in sc25519_muladd()1080 int64_t a7 = 2097151 & (load_3(a + 18) >> 3); in sc25519_muladd()1081 int64_t a8 = 2097151 & load_3(a + 21); in sc25519_muladd()1083 int64_t a10 = 2097151 & (load_3(a + 26) >> 2); in sc25519_muladd()1086 int64_t b0 = 2097151 & load_3(b); in sc25519_muladd()1088 int64_t b2 = 2097151 & (load_3(b + 5) >> 2); in sc25519_muladd()1091 int64_t b5 = 2097151 & (load_3(b + 13) >> 1); in sc25519_muladd()[all …]
810 static uint64_t load_3(const uint8_t *in) in load_3() function835 int64_t h1 = load_3(s + 4) << 6; in fe_frombytes()836 int64_t h2 = load_3(s + 7) << 5; in fe_frombytes()837 int64_t h3 = load_3(s + 10) << 3; in fe_frombytes()838 int64_t h4 = load_3(s + 13) << 2; in fe_frombytes()840 int64_t h6 = load_3(s + 20) << 7; in fe_frombytes()841 int64_t h7 = load_3(s + 23) << 5; in fe_frombytes()842 int64_t h8 = load_3(s + 26) << 4; in fe_frombytes()843 int64_t h9 = (load_3(s + 29) & 0x7fffff) << 2; in fe_frombytes()4776 int64_t s0 = kBottom21Bits & load_3(s); in x25519_sc_reduce()[all …]
197 static uint64_t load_3(const uint8_t *in) { in load_3() function1052 int64_t s0 = 2097151 & load_3(s); in x25519_sc_reduce()1054 int64_t s2 = 2097151 & (load_3(s + 5) >> 2); in x25519_sc_reduce()1057 int64_t s5 = 2097151 & (load_3(s + 13) >> 1); in x25519_sc_reduce()1059 int64_t s7 = 2097151 & (load_3(s + 18) >> 3); in x25519_sc_reduce()1060 int64_t s8 = 2097151 & load_3(s + 21); in x25519_sc_reduce()1062 int64_t s10 = 2097151 & (load_3(s + 26) >> 2); in x25519_sc_reduce()1065 int64_t s13 = 2097151 & (load_3(s + 34) >> 1); in x25519_sc_reduce()1067 int64_t s15 = 2097151 & (load_3(s + 39) >> 3); in x25519_sc_reduce()1068 int64_t s16 = 2097151 & load_3(s + 42); in x25519_sc_reduce()[all …]