Codebase list libcryptx-perl / b6452f7
const tuning Karel Miko 6 years ago
1 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
3131 PKA_EC,
3232 EC_PRIME_FIELD
3333 };
34 #endif /* LTC_SOURCE */
3435
3536 typedef struct Oid {
3637 unsigned long OID[16];
3940 } oid_st;
4041
4142 int pk_get_oid(int pk, oid_st *st);
42 #endif /* LTC_SOURCE */
4343
4444 /* ---- RSA ---- */
4545 #ifdef LTC_MRSA
257257 int size;
258258
259259 /** name of curve */
260 const char *name;
260 char *name;
261261
262262 /** The prime that defines the field the curve is in (encoded in hex) */
263 const char *prime;
263 char *prime;
264264
265265 /** The fields A param (hex) */
266 const char *A;
266 char *A;
267267
268268 /** The fields B param (hex) */
269 const char *B;
269 char *B;
270270
271271 /** The order of the curve (hex) */
272 const char *order;
272 char *order;
273273
274274 /** The x co-ordinate of the base point on the curve (hex) */
275 const char *Gx;
275 char *Gx;
276276
277277 /** The y co-ordinate of the base point on the curve (hex) */
278 const char *Gy;
278 char *Gy;
279279
280280 /** The co-factor */
281281 unsigned long cofactor;