randomize.c File Reference

#include <string.h>
#include "sizes.h"

Include dependency graph for randomize.c:

Go to the source code of this file.

Functions

void randomize (unsigned char *cleartext, unsigned char *message)
int unrandomize (unsigned char *message, unsigned char *cleartext)


Function Documentation

void randomize ( unsigned char *  cleartext,
unsigned char *  message 
)

Definition at line 32 of file randomize.c.

References MESSAGE_BYTES.

Referenced by encrypt_block_ss().

int unrandomize ( unsigned char *  message,
unsigned char *  cleartext 
)

Definition at line 38 of file randomize.c.

References MESSAGE_BYTES.

Referenced by decrypt_block_ss().


This work was partially suported by Europian Network of Excellence, ECRYPT; ECRYPT