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

Function swap_bytes

freebsd/crypto/rc4/rc4.c:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44#include <crypto/rc4/rc4.h>
45
46static __inline void
47swap_bytes(u_char *a, u_char *b)
48{
49 u_char temp;
50
51 temp = *a;
52 *a = *b;
53 *b = temp;
54}
55
56/*
57 * Initialize an RC4 state buffer using the supplied key,

Callers 2

rc4_initFunction · 0.85
rc4_cryptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected