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

Function crypto_cursor_copydata_noadv

freebsd/opencrypto/criov.c:554–562  ·  view source on GitHub ↗

* To avoid advancing 'cursor', make a local copy that gets advanced * instead. */

Source from the content-addressed store, hash-verified

552 * instead.
553 */
554void
555crypto_cursor_copydata_noadv(struct crypto_buffer_cursor *cc, int size,
556 void *vdst)
557{
558 struct crypto_buffer_cursor copy;
559
560 copy = *cc;
561 crypto_cursor_copydata(&copy, size, vdst);
562}
563
564/*
565 * Apply function f to the data in an iovec list starting "off" bytes from

Callers

nothing calls this directly

Calls 1

crypto_cursor_copydataFunction · 0.85

Tested by

no test coverage detected