post quantum cryptography
Highly optimized implementation of the NTRUEncrypt algorithm
Functions
/home/travis/build/hasufell/pqc/src/ntru_string.c File Reference

string type and operations More...

#include "ntru_string.h"
#include <stdio.h>
Include dependency graph for ntru_string.c:

Go to the source code of this file.

Functions

void prints (const string *print_string)
void string_delete (string *del_string)

Detailed Description

string type and operations

Sets up a string type that does not suck like C strings and provides operations on it.

Definition in file ntru_string.c.


Function Documentation

void prints ( const string print_string)

Prints the given string to stdout.

Parameters:
print_stringthe print to string

Definition at line 37 of file ntru_string.c.

void string_delete ( string del_string)

Delete the inner structure of the string and frees the string itself from the heap. Must not be called on stack variables.

Parameters:
del_stringthe string to delete

Definition at line 47 of file ntru_string.c.

 All Data Structures Files Functions Variables Typedefs Defines