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

Function gf128_write

freebsd/opencrypto/gfmult.h:100–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100static inline void
101gf128_write(struct gf128 v, uint8_t *buf)
102{
103 uint64_t tmp;
104
105 be64enc(buf, v.v[0]);
106 buf += sizeof tmp;
107
108 be64enc(buf, v.v[1]);
109}
110
111static inline struct gf128 __pure /* XXX - __pure2 instead */
112gf128_add(struct gf128 a, struct gf128 b)

Callers 1

AES_GMAC_FinalFunction · 0.85

Calls 1

be64encFunction · 0.85

Tested by

no test coverage detected