diff --git a/annotated.html b/annotated.html index d720b7f..817492a 100644 --- a/annotated.html +++ b/annotated.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/classes.html b/classes.html index 5b1caf9..8a331b8 100644 --- a/classes.html +++ b/classes.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doxygen_8dox.html b/doxygen_8dox.html index 33e2d52..527a48b 100644 --- a/doxygen_8dox.html +++ b/doxygen_8dox.html @@ -87,7 +87,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/files.html b/files.html index b6a77d2..a9016f8 100644 --- a/files.html +++ b/files.html @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions.html b/functions.html index 006cf54..aa8b1cd 100644 --- a/functions.html +++ b/functions.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/functions_vars.html b/functions_vars.html index b954862..16ccd72 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/globals.html b/globals.html index 08efa17..079ce37 100644 --- a/globals.html +++ b/globals.html @@ -68,7 +68,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -89,8 +88,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:
diff --git a/globals_func.html b/globals_func.html index 488dd8e..f1a374f 100644 --- a/globals_func.html +++ b/globals_func.html @@ -68,7 +68,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -89,8 +88,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 
diff --git a/globals_type.html b/globals_type.html index b8deadc..1ea4d44 100644 --- a/globals_type.html +++ b/globals_type.html @@ -68,7 +68,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -102,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/globals_vars.html b/globals_vars.html deleted file mode 100644 index 0d2f7f9..0000000 --- a/globals_vars.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - -post quantum cryptography: Globals - - - - - - - - - -
-
- - - - - - -
-
post quantum cryptography -
-
Highly optimized implementation of the NTRUEncrypt algorithm
-
-
- - - - - - -
- -
- All Data Structures Files Functions Variables Typedefs Pages
- - -
- -
- -
-
- - - - diff --git a/graph_legend.html b/graph_legend.html index 892438f..19941c6 100644 --- a/graph_legend.html +++ b/graph_legend.html @@ -144,7 +144,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem diff --git a/index.html b/index.html index b876e53..032d320 100644 --- a/index.html +++ b/index.html @@ -115,6 +115,7 @@ Dependencies

This library was written for Linux systems. Support for windows will not be added.

@@ -143,7 +144,7 @@ References

diff --git a/ntru_8h.html b/ntru_8h.html index af5e4ad..9c5e1a1 100644 --- a/ntru_8h.html +++ b/ntru_8h.html @@ -93,6 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); More...

#include <fmpz_poly.h>
#include <fmpz.h>
+#include <stdbool.h>
#include <stdint.h>
Include dependency graph for ntru.h:
@@ -138,8 +139,8 @@ Functions   stringread_file (char const *const filename)   -void write_file (string const *wstring, char const *const filename) -  +bool write_file (string const *wstring, char const *const filename) + 

Detailed Description

public API, basic data types

@@ -157,7 +158,7 @@ Functions
-

Definition at line 39 of file ntru.h.

+

Definition at line 40 of file ntru.h.

@@ -171,7 +172,7 @@ Functions
-

Definition at line 40 of file ntru.h.

+

Definition at line 41 of file ntru.h.

@@ -413,12 +414,12 @@ Functions - +
- + @@ -444,13 +445,14 @@ Functions
void write_file bool write_file ( string const *  wstring,
+
Returns
true for success or false for failure if fopen or fclose failed
diff --git a/ntru_8h__incl.md5 b/ntru_8h__incl.md5 index 4fbaf23..0cb3279 100644 --- a/ntru_8h__incl.md5 +++ b/ntru_8h__incl.md5 @@ -1 +1 @@ -4f58550f1bf3fc0e7a21db75f42bafb9 \ No newline at end of file +1041a99982d79ff8aa4f99ad4b616a33 \ No newline at end of file diff --git a/ntru_8h__incl.png b/ntru_8h__incl.png index 67634e1..e5f96ee 100644 Binary files a/ntru_8h__incl.png and b/ntru_8h__incl.png differ diff --git a/ntru_8h_source.html b/ntru_8h_source.html index 9ec0dda..51505e2 100644 --- a/ntru_8h_source.html +++ b/ntru_8h_source.html @@ -111,80 +111,81 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
33 
34 #include <fmpz_poly.h>
35 #include <fmpz.h>
-
36 #include <stdint.h>
-
37 
+
36 #include <stdbool.h>
+
37 #include <stdint.h>
38 
-
39 typedef struct ntru_params ntru_params;
-
40 typedef struct string string;
-
41 
+
39 
+
40 typedef struct ntru_params ntru_params;
+
41 typedef struct string string;
42 
-
47 struct ntru_params {
-
52  uint32_t N;
-
56  uint32_t q;
-
60  uint32_t p;
-
61 };
-
62 
-
66 struct string {
-
74  char *ptr;
-
78  size_t len;
-
79 };
-
80 
+
43 
+
48 struct ntru_params {
+
53  uint32_t N;
+
57  uint32_t q;
+
61  uint32_t p;
+
62 };
+
63 
+
67 struct string {
+
75  char *ptr;
+
79  size_t len;
+
80 };
81 
-
87 void
-
88 prints(const string *print_string);
-
89 
-
98 void
-
99 string_delete(string *del_string);
-
100 
-
112 void
-
113 poly_new(fmpz_poly_t new_poly,
-
114  int const * const c,
-
115  const size_t len);
-
116 
-
123 void
-
124 poly_delete(fmpz_poly_t poly);
-
125 
-
134 void
-
135 poly_delete_array(fmpz_poly_t **poly_array);
-
136 
-
145 void
-
146 poly_delete_all(fmpz_poly_t poly, ...);
-
147 
-
153 void
-
154 poly_draw(const fmpz_poly_t poly);
-
155 
-
162 void
-
163 poly_draw_pretty(const fmpz_poly_t poly);
-
164 
-
172 string *
-
173 read_file(char const * const filename);
-
174 
-
182 void
-
183 write_file(string const *wstring, char const * const filename);
-
184 
-
185 
-
186 #endif /* NTRU_NTRU_H_ */
+
82 
+
88 void
+
89 prints(const string *print_string);
+
90 
+
99 void
+
100 string_delete(string *del_string);
+
101 
+
113 void
+
114 poly_new(fmpz_poly_t new_poly,
+
115  int const * const c,
+
116  const size_t len);
+
117 
+
124 void
+
125 poly_delete(fmpz_poly_t poly);
+
126 
+
135 void
+
136 poly_delete_array(fmpz_poly_t **poly_array);
+
137 
+
146 void
+
147 poly_delete_all(fmpz_poly_t poly, ...);
+
148 
+
154 void
+
155 poly_draw(const fmpz_poly_t poly);
+
156 
+
163 void
+
164 poly_draw_pretty(const fmpz_poly_t poly);
+
165 
+
173 string *
+
174 read_file(char const * const filename);
+
175 
+
184 bool
+
185 write_file(string const *wstring, char const * const filename);
+
186 
+
187 
+
188 #endif /* NTRU_NTRU_H_ */
string_delete
void string_delete(string *del_string)
poly_new
void poly_new(fmpz_poly_t new_poly, int const *const c, const size_t len)
-
string::len
size_t len
Definition: ntru.h:78
-
string::ptr
char * ptr
Definition: ntru.h:74
+
string::len
size_t len
Definition: ntru.h:79
+
string::ptr
char * ptr
Definition: ntru.h:75
poly_delete_array
void poly_delete_array(fmpz_poly_t **poly_array)
-
ntru_params::N
uint32_t N
Definition: ntru.h:52
+
ntru_params::N
uint32_t N
Definition: ntru.h:53
poly_draw
void poly_draw(const fmpz_poly_t poly)
poly_delete_all
void poly_delete_all(fmpz_poly_t poly,...)
-
ntru_params::p
uint32_t p
Definition: ntru.h:60
-
ntru_params
Definition: ntru.h:47
-
write_file
void write_file(string const *wstring, char const *const filename)
+
ntru_params::p
uint32_t p
Definition: ntru.h:61
+
ntru_params
Definition: ntru.h:48
+
write_file
bool write_file(string const *wstring, char const *const filename)
prints
void prints(const string *print_string)
-
string
Definition: ntru.h:66
-
ntru_params::q
uint32_t q
Definition: ntru.h:56
+
string
Definition: ntru.h:67
+
ntru_params::q
uint32_t q
Definition: ntru.h:57
read_file
string * read_file(char const *const filename)
poly_delete
void poly_delete(fmpz_poly_t poly)
poly_draw_pretty
void poly_draw_pretty(const fmpz_poly_t poly)
diff --git a/ntru__decrypt_8h.html b/ntru__decrypt_8h.html index b58523b..fb55bf5 100644 --- a/ntru__decrypt_8h.html +++ b/ntru__decrypt_8h.html @@ -97,7 +97,7 @@ Include dependency graph for ntru_decrypt.h:
- +

Go to the source code of this file.

@@ -165,7 +165,7 @@ Functions diff --git a/ntru__decrypt_8h__incl.map b/ntru__decrypt_8h__incl.map index c53df13..b7517f3 100644 --- a/ntru__decrypt_8h__incl.map +++ b/ntru__decrypt_8h__incl.map @@ -1,3 +1,3 @@ - + diff --git a/ntru__decrypt_8h__incl.md5 b/ntru__decrypt_8h__incl.md5 index 02241cd..1fc1f53 100644 --- a/ntru__decrypt_8h__incl.md5 +++ b/ntru__decrypt_8h__incl.md5 @@ -1 +1 @@ -c9671be4b9eaef914a39bc1b3e24e093 \ No newline at end of file +9a0ebf414f722c6e4aef555926b9d319 \ No newline at end of file diff --git a/ntru__decrypt_8h__incl.png b/ntru__decrypt_8h__incl.png index d71b751..fbe1d9d 100644 Binary files a/ntru__decrypt_8h__incl.png and b/ntru__decrypt_8h__incl.png differ diff --git a/ntru__decrypt_8h_source.html b/ntru__decrypt_8h_source.html index 4212fa3..9b9b331 100644 --- a/ntru__decrypt_8h_source.html +++ b/ntru__decrypt_8h_source.html @@ -125,12 +125,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
57 
58 #endif /* PUBLIC_NTRU_DECRYPT_H_ */
ntru.h
public API, basic data types
-
ntru_params
Definition: ntru.h:47
+
ntru_params
Definition: ntru.h:48
ntru_decrypt_string
string * ntru_decrypt_string(const string *encr_msg, const fmpz_poly_t priv_key, const fmpz_poly_t priv_key_inv, const ntru_params *params)
diff --git a/ntru__encrypt_8h.html b/ntru__encrypt_8h.html index 39f3434..0860a29 100644 --- a/ntru__encrypt_8h.html +++ b/ntru__encrypt_8h.html @@ -97,7 +97,7 @@ Include dependency graph for ntru_encrypt.h:
- +

Go to the source code of this file.

@@ -165,7 +165,7 @@ Functions diff --git a/ntru__encrypt_8h__incl.map b/ntru__encrypt_8h__incl.map index ea753a6..844768c 100644 --- a/ntru__encrypt_8h__incl.map +++ b/ntru__encrypt_8h__incl.map @@ -1,3 +1,3 @@ - + diff --git a/ntru__encrypt_8h__incl.md5 b/ntru__encrypt_8h__incl.md5 index 15566b4..5a45df4 100644 --- a/ntru__encrypt_8h__incl.md5 +++ b/ntru__encrypt_8h__incl.md5 @@ -1 +1 @@ -894722027b6d98b320b583a014ae92e5 \ No newline at end of file +4626adf1f32ed42deb2e7611489d882e \ No newline at end of file diff --git a/ntru__encrypt_8h__incl.png b/ntru__encrypt_8h__incl.png index 04769d0..eca6f2f 100644 Binary files a/ntru__encrypt_8h__incl.png and b/ntru__encrypt_8h__incl.png differ diff --git a/ntru__encrypt_8h_source.html b/ntru__encrypt_8h_source.html index 92902b4..4a5e722 100644 --- a/ntru__encrypt_8h_source.html +++ b/ntru__encrypt_8h_source.html @@ -125,12 +125,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
58 
59 #endif /* PUBLIC_NTRU_ENCRYPT_H_ */
ntru.h
public API, basic data types
-
ntru_params
Definition: ntru.h:47
+
ntru_params
Definition: ntru.h:48
ntru_encrypt_string
string * ntru_encrypt_string(const string *msg, const fmpz_poly_t pub_key, const fmpz_poly_t rnd, const ntru_params *params)
diff --git a/ntru__keypair_8h.html b/ntru__keypair_8h.html index 5d2589c..448e52f 100644 --- a/ntru__keypair_8h.html +++ b/ntru__keypair_8h.html @@ -83,8 +83,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Data Structures | Typedefs | -Functions | -Variables
+Functions
ntru_keypair.h File Reference
@@ -102,7 +101,7 @@ Include dependency graph for ntru_keypair.h:
- +

Go to the source code of this file.

@@ -121,20 +120,16 @@ Typedefs Functions bool ntru_create_keypair (keypair *pair, const fmpz_poly_t f, const fmpz_poly_t g, const ntru_params *params)   -void export_public_key (char const *const filename, const fmpz_poly_t pub, const ntru_params *params) void export_priv_key(char const *const filename -  -void const fmpz_poly_t const
-ntru_params *params void import_public_key (fmpz_poly_t pub, char const *const filename, const ntru_params *params) -  -void import_priv_key (fmpz_poly_t priv, fmpz_poly_t priv_inv, char const *const filename, const ntru_params *params) -  +bool export_public_key (char const *const filename, const fmpz_poly_t pub, const ntru_params *params) +  +bool export_priv_key (char const *const filename, const fmpz_poly_t priv, const ntru_params *params) +  +bool import_public_key (fmpz_poly_t pub, char const *const filename, const ntru_params *params) +  +bool import_priv_key (fmpz_poly_t priv, fmpz_poly_t priv_inv, char const *const filename, const ntru_params *params) +  void ntru_delete_keypair (keypair *pair)   - - - -

-Variables

void const fmpz_poly_t priv
 

Detailed Description

public API, key handling

@@ -157,12 +152,54 @@ Variables

Function Documentation

- +
- + + + + + + + + + + + + + + + + + + + + + + +
void export_public_key bool export_priv_key (char const *const filename,
const fmpz_poly_t priv,
const ntru_paramsparams 
)
+
+

Export the private key to a file.

+
Parameters
+ + + + +
filenamethe file to save the private key into
privthe private key
paramsthe NTRU context
+
+
+
Returns
true for success, false if any of the file operations failed
+ +
+
+ +
+
+ + + @@ -182,7 +219,7 @@ Variables - +
bool export_public_key ( char const *const  filename,
) const
@@ -191,22 +228,20 @@ Variables - - -
filenamethe file to save the public key into
pubthe public key
paramsthe NTRU context Export the private key to a file.
filenamethe file to save the private key into
privthe private key
paramsthe NTRU context
+
Returns
true for success, false if any of the file operations failed
- +
- + @@ -246,15 +281,16 @@ Variables
void import_priv_key bool import_priv_key ( fmpz_poly_t  priv,
+
Returns
true for success, false if any of the file operations failed
- +
- + @@ -287,6 +323,7 @@ Variables
void const fmpz_poly_t const ntru_params* params void import_public_key bool import_public_key ( fmpz_poly_t  pub,
+
Returns
true for success, false if any of the file operations failed
@@ -360,27 +397,12 @@ Variables - - -

Variable Documentation

- -
-
- - - - -
void const fmpz_poly_t priv
-
- -

Definition at line 110 of file ntru_keypair.h.

-
diff --git a/ntru__keypair_8h__incl.map b/ntru__keypair_8h__incl.map index af8eb51..576e5f0 100644 --- a/ntru__keypair_8h__incl.map +++ b/ntru__keypair_8h__incl.map @@ -1,3 +1,3 @@ - + diff --git a/ntru__keypair_8h__incl.md5 b/ntru__keypair_8h__incl.md5 index 6a8f872..dba1e31 100644 --- a/ntru__keypair_8h__incl.md5 +++ b/ntru__keypair_8h__incl.md5 @@ -1 +1 @@ -d2b68c7c510eace4243862153d8b5f85 \ No newline at end of file +964188e9154e9915cc8a24fecb4da5db \ No newline at end of file diff --git a/ntru__keypair_8h__incl.png b/ntru__keypair_8h__incl.png index 83227b1..2496eee 100644 Binary files a/ntru__keypair_8h__incl.png and b/ntru__keypair_8h__incl.png differ diff --git a/ntru__keypair_8h_source.html b/ntru__keypair_8h_source.html index 22c0842..adb9001 100644 --- a/ntru__keypair_8h_source.html +++ b/ntru__keypair_8h_source.html @@ -133,51 +133,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
86  const fmpz_poly_t g,
87  const ntru_params *params);
88 
-
96 void
-
97 export_public_key(char const * const filename,
-
98  const fmpz_poly_t pub,
-
99  const ntru_params *params)
-
100 
+
97 bool
+
98 export_public_key(char const * const filename,
+
99  const fmpz_poly_t pub,
+
100  const ntru_params *params);
101 
-
108 void
-
109 export_priv_key(char const * const filename,
-
110  const fmpz_poly_t priv,
-
111  const ntru_params *params)
-
112 
-
113 
-
120 void
-
121 import_public_key(fmpz_poly_t pub,
-
122  char const * const filename,
-
123  const ntru_params *params);
-
124 
-
125 
-
136 void
-
137 import_priv_key(fmpz_poly_t priv,
-
138  fmpz_poly_t priv_inv,
-
139  char const * const filename,
-
140  const ntru_params *params);
-
141 
-
149 void
-
150 ntru_delete_keypair(keypair *pair);
-
151 
-
152 
-
153 #endif /* PUBLIC_NTRU_KEYPAIR_H_ */
+
110 bool
+
111 export_priv_key(char const * const filename,
+
112  const fmpz_poly_t priv,
+
113  const ntru_params *params);
+
114 
+
123 bool
+
124 import_public_key(fmpz_poly_t pub,
+
125  char const * const filename,
+
126  const ntru_params *params);
+
127 
+
128 
+
140 bool
+
141 import_priv_key(fmpz_poly_t priv,
+
142  fmpz_poly_t priv_inv,
+
143  char const * const filename,
+
144  const ntru_params *params);
+
145 
+
153 void
+
154 ntru_delete_keypair(keypair *pair);
+
155 
+
156 
+
157 #endif /* PUBLIC_NTRU_KEYPAIR_H_ */
ntru.h
public API, basic data types
-
export_public_key
void export_public_key(char const *const filename, const fmpz_poly_t pub, const ntru_params *params) void export_priv_key(char const *const filename
-
import_priv_key
void import_priv_key(fmpz_poly_t priv, fmpz_poly_t priv_inv, char const *const filename, const ntru_params *params)
-
ntru_params
Definition: ntru.h:47
+
ntru_params
Definition: ntru.h:48
+
export_public_key
bool export_public_key(char const *const filename, const fmpz_poly_t pub, const ntru_params *params)
keypair::priv_inv
fmpz_poly_t priv_inv
Definition: ntru_keypair.h:59
ntru_create_keypair
bool ntru_create_keypair(keypair *pair, const fmpz_poly_t f, const fmpz_poly_t g, const ntru_params *params)
+
import_priv_key
bool import_priv_key(fmpz_poly_t priv, fmpz_poly_t priv_inv, char const *const filename, const ntru_params *params)
keypair::pub
fmpz_poly_t pub
Definition: ntru_keypair.h:64
keypair::priv
fmpz_poly_t priv
Definition: ntru_keypair.h:54
keypair
Definition: ntru_keypair.h:49
-
import_public_key
void const fmpz_poly_t const ntru_params *params void import_public_key(fmpz_poly_t pub, char const *const filename, const ntru_params *params)
+
import_public_key
bool import_public_key(fmpz_poly_t pub, char const *const filename, const ntru_params *params)
+
export_priv_key
bool export_priv_key(char const *const filename, const fmpz_poly_t priv, const ntru_params *params)
ntru_delete_keypair
void ntru_delete_keypair(keypair *pair)
-
priv
void const fmpz_poly_t priv
Definition: ntru_keypair.h:110
diff --git a/ntru__rnd_8h.html b/ntru__rnd_8h.html index 4215275..61fb89f 100644 --- a/ntru__rnd_8h.html +++ b/ntru__rnd_8h.html @@ -98,7 +98,7 @@ Include dependency graph for ntru_rnd.h:
- +

Go to the source code of this file.

@@ -212,7 +212,7 @@ Functions diff --git a/ntru__rnd_8h__incl.map b/ntru__rnd_8h__incl.map index 9d68934..2e032e5 100644 --- a/ntru__rnd_8h__incl.map +++ b/ntru__rnd_8h__incl.map @@ -1,3 +1,3 @@ - + diff --git a/ntru__rnd_8h__incl.md5 b/ntru__rnd_8h__incl.md5 index c118c38..aa121bf 100644 --- a/ntru__rnd_8h__incl.md5 +++ b/ntru__rnd_8h__incl.md5 @@ -1 +1 @@ -6bb3a344c2507757c9cfed93dab642fc \ No newline at end of file +874b3240f75de52383673655e3bc01bd \ No newline at end of file diff --git a/ntru__rnd_8h__incl.png b/ntru__rnd_8h__incl.png index 1b3617d..0774351 100644 Binary files a/ntru__rnd_8h__incl.png and b/ntru__rnd_8h__incl.png differ diff --git a/ntru__rnd_8h_source.html b/ntru__rnd_8h_source.html index d27ffd2..4768946 100644 --- a/ntru__rnd_8h_source.html +++ b/ntru__rnd_8h_source.html @@ -133,13 +133,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
77 #endif /* PUBLIC_NTRU_RND_H_ */
get_urnd_int
int get_urnd_int(void)
ntru.h
public API, basic data types
-
ntru_params
Definition: ntru.h:47
+
ntru_params
Definition: ntru.h:48
ntru_get_rnd_tern_poly_num
void ntru_get_rnd_tern_poly_num(fmpz_poly_t poly, const ntru_params *params, uint32_t num_ones, uint32_t num_neg_ones, int(*rnd_int)(void))
get_rnd_int
int get_rnd_int(void)
diff --git a/search/all_1.js b/search/all_1.js index 31c24e0..5b910e3 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -1,4 +1,5 @@ var searchData= [ - ['export_5fpublic_5fkey',['export_public_key',['../ntru__keypair_8h.html#ab6cb83ee5f477ac473021c3b680bebaf',1,'ntru_keypair.h']]] + ['export_5fpriv_5fkey',['export_priv_key',['../ntru__keypair_8h.html#ab4fa7bc1bbfb224f02a5aa8c498d7107',1,'ntru_keypair.h']]], + ['export_5fpublic_5fkey',['export_public_key',['../ntru__keypair_8h.html#a4c1eb586b7b1c46d1a43147c88e0b25f',1,'ntru_keypair.h']]] ]; diff --git a/search/all_3.js b/search/all_3.js index 4c140d3..6ffd009 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -1,6 +1,6 @@ var searchData= [ - ['import_5fpriv_5fkey',['import_priv_key',['../ntru__keypair_8h.html#aedfa3c9cc36b536a12278c3584d94623',1,'ntru_keypair.h']]], - ['import_5fpublic_5fkey',['import_public_key',['../ntru__keypair_8h.html#a6a028c6830d7be6ea75f322911289d2c',1,'ntru_keypair.h']]], + ['import_5fpriv_5fkey',['import_priv_key',['../ntru__keypair_8h.html#a0d387f6329b9bf79e4f9e8286a5d3337',1,'ntru_keypair.h']]], + ['import_5fpublic_5fkey',['import_public_key',['../ntru__keypair_8h.html#a9fedb1c2bbcec20c67244e91987a7a77',1,'ntru_keypair.h']]], ['index_20page',['Index Page',['../index.html',1,'']]] ]; diff --git a/search/all_7.js b/search/all_7.js index a058299..7e72976 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -8,7 +8,7 @@ var searchData= ['poly_5fdraw_5fpretty',['poly_draw_pretty',['../ntru_8h.html#aec098d00160d2d502eb1f8a7c3fa5453',1,'ntru.h']]], ['poly_5fnew',['poly_new',['../ntru_8h.html#a20f86085d5eb5372fd25dc270069d38c',1,'ntru.h']]], ['prints',['prints',['../ntru_8h.html#a55d4ce182c335ff6cca360909a7be395',1,'ntru.h']]], - ['priv',['priv',['../structkeypair.html#a9e9805ad001216da53f2c57accb288e1',1,'keypair::priv()'],['../ntru__keypair_8h.html#a205b65fe204c1506a749de8a2ff29418',1,'priv(): ntru_keypair.h']]], + ['priv',['priv',['../structkeypair.html#a9e9805ad001216da53f2c57accb288e1',1,'keypair']]], ['priv_5finv',['priv_inv',['../structkeypair.html#a9e63f1d275b91c9d9716fb4069461799',1,'keypair']]], ['ptr',['ptr',['../structstring.html#aa1b2f3a2ddd1ed38245b8d4590aadf93',1,'string']]], ['pub',['pub',['../structkeypair.html#afa635c70f233d0b7449b4a17513646c4',1,'keypair']]] diff --git a/search/all_b.js b/search/all_b.js index 3871b9d..06f4514 100644 --- a/search/all_b.js +++ b/search/all_b.js @@ -1,4 +1,4 @@ var searchData= [ - ['write_5ffile',['write_file',['../ntru_8h.html#af2a0fc4dd4109749d8f3100a913cc304',1,'ntru.h']]] + ['write_5ffile',['write_file',['../ntru_8h.html#a1f8eef5ea12c77ed2491d96864eb0d43',1,'ntru.h']]] ]; diff --git a/search/functions_0.js b/search/functions_0.js index 31c24e0..5b910e3 100644 --- a/search/functions_0.js +++ b/search/functions_0.js @@ -1,4 +1,5 @@ var searchData= [ - ['export_5fpublic_5fkey',['export_public_key',['../ntru__keypair_8h.html#ab6cb83ee5f477ac473021c3b680bebaf',1,'ntru_keypair.h']]] + ['export_5fpriv_5fkey',['export_priv_key',['../ntru__keypair_8h.html#ab4fa7bc1bbfb224f02a5aa8c498d7107',1,'ntru_keypair.h']]], + ['export_5fpublic_5fkey',['export_public_key',['../ntru__keypair_8h.html#a4c1eb586b7b1c46d1a43147c88e0b25f',1,'ntru_keypair.h']]] ]; diff --git a/search/functions_2.js b/search/functions_2.js index 32b6fc6..deab62c 100644 --- a/search/functions_2.js +++ b/search/functions_2.js @@ -1,5 +1,5 @@ var searchData= [ - ['import_5fpriv_5fkey',['import_priv_key',['../ntru__keypair_8h.html#aedfa3c9cc36b536a12278c3584d94623',1,'ntru_keypair.h']]], - ['import_5fpublic_5fkey',['import_public_key',['../ntru__keypair_8h.html#a6a028c6830d7be6ea75f322911289d2c',1,'ntru_keypair.h']]] + ['import_5fpriv_5fkey',['import_priv_key',['../ntru__keypair_8h.html#a0d387f6329b9bf79e4f9e8286a5d3337',1,'ntru_keypair.h']]], + ['import_5fpublic_5fkey',['import_public_key',['../ntru__keypair_8h.html#a9fedb1c2bbcec20c67244e91987a7a77',1,'ntru_keypair.h']]] ]; diff --git a/search/functions_7.js b/search/functions_7.js index 3871b9d..06f4514 100644 --- a/search/functions_7.js +++ b/search/functions_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['write_5ffile',['write_file',['../ntru_8h.html#af2a0fc4dd4109749d8f3100a913cc304',1,'ntru.h']]] + ['write_5ffile',['write_file',['../ntru_8h.html#a1f8eef5ea12c77ed2491d96864eb0d43',1,'ntru.h']]] ]; diff --git a/search/variables_2.js b/search/variables_2.js index 34ffef2..3b3d001 100644 --- a/search/variables_2.js +++ b/search/variables_2.js @@ -1,7 +1,7 @@ var searchData= [ ['p',['p',['../structntru__params.html#a41b368825e1eb126604e13e8f549ec8f',1,'ntru_params']]], - ['priv',['priv',['../structkeypair.html#a9e9805ad001216da53f2c57accb288e1',1,'keypair::priv()'],['../ntru__keypair_8h.html#a205b65fe204c1506a749de8a2ff29418',1,'priv(): ntru_keypair.h']]], + ['priv',['priv',['../structkeypair.html#a9e9805ad001216da53f2c57accb288e1',1,'keypair']]], ['priv_5finv',['priv_inv',['../structkeypair.html#a9e63f1d275b91c9d9716fb4069461799',1,'keypair']]], ['ptr',['ptr',['../structstring.html#aa1b2f3a2ddd1ed38245b8d4590aadf93',1,'string']]], ['pub',['pub',['../structkeypair.html#afa635c70f233d0b7449b4a17513646c4',1,'keypair']]] diff --git a/structkeypair.html b/structkeypair.html index 8c386c9..5a49662 100644 --- a/structkeypair.html +++ b/structkeypair.html @@ -155,7 +155,7 @@ Data Fields diff --git a/structntru__params.html b/structntru__params.html index b0890b1..0c57e28 100644 --- a/structntru__params.html +++ b/structntru__params.html @@ -102,7 +102,7 @@ Data Fields

Detailed Description

NTRU cryptosystem is specified by the following triple.

-

Definition at line 47 of file ntru.h.

+

Definition at line 48 of file ntru.h.

Field Documentation

@@ -115,7 +115,7 @@ Data Fields

maximal degree N - 1 for all polynomials

-

Definition at line 52 of file ntru.h.

+

Definition at line 53 of file ntru.h.

@@ -130,7 +130,7 @@ Data Fields

small modulus

-

Definition at line 60 of file ntru.h.

+

Definition at line 61 of file ntru.h.

@@ -145,7 +145,7 @@ Data Fields

large modulus

-

Definition at line 56 of file ntru.h.

+

Definition at line 57 of file ntru.h.

@@ -155,7 +155,7 @@ Data Fields diff --git a/structstring.html b/structstring.html index 54ed31b..94574e5 100644 --- a/structstring.html +++ b/structstring.html @@ -100,7 +100,7 @@ Data Fields

Detailed Description

Represents a string.

-

Definition at line 66 of file ntru.h.

+

Definition at line 67 of file ntru.h.

Field Documentation

@@ -113,7 +113,7 @@ Data Fields

Length of the string.

-

Definition at line 78 of file ntru.h.

+

Definition at line 79 of file ntru.h.

@@ -128,7 +128,7 @@ Data Fields

Pointer to the char array, holding the actual string. THIS IS NOT NULL TERMINATED (at least not necessarily, don't ever assume it).

-

Definition at line 74 of file ntru.h.

+

Definition at line 75 of file ntru.h.

@@ -138,7 +138,7 @@ Data Fields