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

Function ccp_byteswap

freebsd/crypto/ccp/ccp_hardware.c:1318–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316}
1317
1318static void
1319ccp_byteswap(char *data, size_t len)
1320{
1321 size_t i;
1322 char t;
1323
1324 len--;
1325 for (i = 0; i < len; i++, len--) {
1326 t = data[i];
1327 data[i] = data[len];
1328 data[len] = t;
1329 }
1330}
1331
1332static void
1333ccp_blkcipher_done(struct ccp_queue *qp, struct ccp_session *s, void *vcrp,

Callers 3

ccp_collect_ivFunction · 0.85
ccp_do_blkcipherFunction · 0.85
ccp_gcmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected