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

Function blake2s_applicator

freebsd/crypto/blake2/blake2_cryptodev.c:318–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318static int
319blake2s_applicator(void *state, const void *buf, u_int len)
320{
321 int rc;
322
323 rc = blake2s_update(state, buf, len);
324 if (rc != 0)
325 return (EINVAL);
326 return (0);
327}
328
329static int
330blake2_cipher_process(struct blake2_session *ses, struct cryptop *crp)

Callers

nothing calls this directly

Calls 1

blake2s_updateFunction · 0.50

Tested by

no test coverage detected