NetSim Source Code Help
Loading...
Searching...
No Matches
Encryption.c File Reference
#include <stdint.h>
Include dependency graph for Encryption.c:

Go to the source code of this file.

Macros

#define _XOR_ENCRYPT
 

Functions

char xor_encrypt (char ch, long key)
 
void encrypt (uint32_t *v, uint32_t *k)
 
void encryptBlock (uint8_t *data, uint32_t *len, uint32_t *key)
 

Macro Definition Documentation

◆ _XOR_ENCRYPT

#define _XOR_ENCRYPT

Definition at line 17 of file Encryption.c.

Function Documentation

◆ encrypt()

void encrypt ( uint32_t *  v,
uint32_t *  k 
)

Definition at line 35 of file Encryption.c.

Here is the caller graph for this function:

◆ encryptBlock()

void encryptBlock ( uint8_t *  data,
uint32_t *  len,
uint32_t *  key 
)

Definition at line 47 of file Encryption.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xor_encrypt()

char xor_encrypt ( char  ch,
long  key 
)

Definition at line 19 of file Encryption.c.

Here is the caller graph for this function: