comparison rsa.h @ 640:76097ec1a29a dropbear-tfm

- Bring in original tomsfastmath patch against 0.52 from Peter Turczak in 2008
author Matt Johnston <matt@ucc.asn.au>
date Mon, 21 Nov 2011 19:19:57 +0800
parents fe6bca95afa7
children 2b1bb792cd4d
comparison
equal deleted inserted replaced
518:ce104c8b0be1 640:76097ec1a29a
32 32
33 #define RSA_SIGNATURE_SIZE 4+7+4+40 33 #define RSA_SIGNATURE_SIZE 4+7+4+40
34 34
35 struct RSA_key { 35 struct RSA_key {
36 36
37 mp_int* n; 37 fp_int* n;
38 mp_int* e; 38 fp_int* e;
39 mp_int* d; 39 fp_int* d;
40 mp_int* p; 40 fp_int* p;
41 mp_int* q; 41 fp_int* q;
42 42
43 }; 43 };
44 44
45 typedef struct RSA_key rsa_key; 45 typedef struct RSA_key rsa_key;
46 46