Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: openssl/crypto/jpake/jpake.h

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/crypto/jpake/Makefile ('k') | openssl/crypto/jpake/jpake.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Implement J-PAKE, as described in 2 * Implement J-PAKE, as described in
3 * http://grouper.ieee.org/groups/1363/Research/contributions/hao-ryan-2008.pdf 3 * http://grouper.ieee.org/groups/1363/Research/contributions/hao-ryan-2008.pdf
4 * 4 *
5 * With hints from http://www.cl.cam.ac.uk/~fh240/software/JPAKE2.java. 5 * With hints from http://www.cl.cam.ac.uk/~fh240/software/JPAKE2.java.
6 */ 6 */
7 7
8 #ifndef HEADER_JPAKE_H 8 #ifndef HEADER_JPAKE_H
9 #define HEADER_JPAKE_H 9 #define HEADER_JPAKE_H
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 /* Error codes for the JPAKE functions. */ 108 /* Error codes for the JPAKE functions. */
109 109
110 /* Function codes. */ 110 /* Function codes. */
111 #define JPAKE_F_JPAKE_STEP1_PROCESS 101 111 #define JPAKE_F_JPAKE_STEP1_PROCESS 101
112 #define JPAKE_F_JPAKE_STEP2_PROCESS 102 112 #define JPAKE_F_JPAKE_STEP2_PROCESS 102
113 #define JPAKE_F_JPAKE_STEP3A_PROCESS 103 113 #define JPAKE_F_JPAKE_STEP3A_PROCESS 103
114 #define JPAKE_F_JPAKE_STEP3B_PROCESS 104 114 #define JPAKE_F_JPAKE_STEP3B_PROCESS 104
115 #define JPAKE_F_VERIFY_ZKP 100 115 #define JPAKE_F_VERIFY_ZKP 100
116 116
117 /* Reason codes. */ 117 /* Reason codes. */
118 #define JPAKE_R_G_TO_THE_X3_IS_NOT_LEGAL 108
119 #define JPAKE_R_G_TO_THE_X4_IS_NOT_LEGAL 109
118 #define JPAKE_R_G_TO_THE_X4_IS_ONE 105 120 #define JPAKE_R_G_TO_THE_X4_IS_ONE 105
119 #define JPAKE_R_HASH_OF_HASH_OF_KEY_MISMATCH 106 121 #define JPAKE_R_HASH_OF_HASH_OF_KEY_MISMATCH 106
120 #define JPAKE_R_HASH_OF_KEY_MISMATCH 107 122 #define JPAKE_R_HASH_OF_KEY_MISMATCH 107
121 #define JPAKE_R_VERIFY_B_FAILED 102 123 #define JPAKE_R_VERIFY_B_FAILED 102
122 #define JPAKE_R_VERIFY_X3_FAILED 103 124 #define JPAKE_R_VERIFY_X3_FAILED 103
123 #define JPAKE_R_VERIFY_X4_FAILED 104 125 #define JPAKE_R_VERIFY_X4_FAILED 104
124 #define JPAKE_R_ZKP_VERIFY_FAILED 100 126 #define JPAKE_R_ZKP_VERIFY_FAILED 100
125 127
126 #ifdef __cplusplus 128 #ifdef __cplusplus
127 } 129 }
128 #endif 130 #endif
129 #endif 131 #endif
OLDNEW
« no previous file with comments | « openssl/crypto/jpake/Makefile ('k') | openssl/crypto/jpake/jpake.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698