Lines Matching refs:src
20 static ossl_inline uint32_t load32(const uint8_t *src) in load32() argument
26 memcpy(&w, src, sizeof(w)); in load32()
29 uint32_t w = ((uint32_t)src[0]) in load32()
30 | ((uint32_t)src[1] << 8) in load32()
31 | ((uint32_t)src[2] << 16) in load32()
32 | ((uint32_t)src[3] << 24); in load32()
37 static ossl_inline uint64_t load64(const uint8_t *src) in load64() argument
43 memcpy(&w, src, sizeof(w)); in load64()
46 uint64_t w = ((uint64_t)src[0]) in load64()
47 | ((uint64_t)src[1] << 8) in load64()
48 | ((uint64_t)src[2] << 16) in load64()
49 | ((uint64_t)src[3] << 24) in load64()
50 | ((uint64_t)src[4] << 32) in load64()
51 | ((uint64_t)src[5] << 40) in load64()
52 | ((uint64_t)src[6] << 48) in load64()
53 | ((uint64_t)src[7] << 56); in load64()
88 static ossl_inline uint64_t load48(const uint8_t *src) in load48() argument
90 uint64_t w = ((uint64_t)src[0]) in load48()
91 | ((uint64_t)src[1] << 8) in load48()
92 | ((uint64_t)src[2] << 16) in load48()
93 | ((uint64_t)src[3] << 24) in load48()
94 | ((uint64_t)src[4] << 32) in load48()
95 | ((uint64_t)src[5] << 40); in load48()