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

Function blake2s_increment_counter

freebsd/contrib/libb2/blake2s-ref.c:70–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static inline int blake2s_increment_counter( blake2s_state *S, const uint32_t inc )
71{
72 S->t[0] += inc;
73 S->t[1] += ( S->t[0] < inc );
74 return 0;
75}
76
77// Parameter-related functions
78static inline int blake2s_param_set_digest_length( blake2s_param *P, const uint8_t digest_length )

Callers 2

blake2s_updateFunction · 0.70
blake2s_finalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected