MCPcopy Create free account
hub / github.com/F-Stack/f-stack / gf128_read

Function gf128_read

freebsd/opencrypto/gfmult.h:87–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 ((a).v[1] ^ (b).v[1])) == 0)
86
87static inline struct gf128
88gf128_read(const uint8_t *buf)
89{
90 struct gf128 r;
91
92 r.v[0] = be64dec(buf);
93 buf += sizeof(uint64_t);
94
95 r.v[1] = be64dec(buf);
96
97 return r;
98}
99
100static inline void
101gf128_write(struct gf128 v, uint8_t *buf)

Callers 4

AES_GMAC_SetkeyFunction · 0.85
AES_GMAC_UpdateFunction · 0.85
AES_GMAC_FinalFunction · 0.85
gf128_mul4bFunction · 0.85

Calls 1

be64decFunction · 0.85

Tested by

no test coverage detected