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

Function session2_op_from_op

freebsd/opencrypto/cryptodev.c:302–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300#endif
301
302static void
303session2_op_from_op(const struct session_op *from, struct session2_op *to)
304{
305
306 memset(to, 0, sizeof(*to));
307 memcpy(to, from, sizeof(*from));
308 to->crid = CRYPTOCAP_F_HARDWARE;
309}
310
311static void
312session2_op_to_op(const struct session2_op *from, struct session_op *to)

Callers 1

crypto_ioctlFunction · 0.85

Calls 2

memsetFunction · 0.85
memcpyFunction · 0.50

Tested by

no test coverage detected