diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-06-11 12:31:51 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-06-11 12:31:51 +0000 |
| commit | 31a18a6996a6b5927e39cc553696c167e6c88e3d (patch) | |
| tree | 40433c168b91d5c224cb8c338054eb9fb2ecbd37 /libkeyring/keys.h | |
| parent | ac4d5a82181d3f4d63469e7745ccd38126c04b24 (diff) | |
20080611-1331
Diffstat (limited to 'libkeyring/keys.h')
| -rw-r--r-- | libkeyring/keys.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkeyring/keys.h b/libkeyring/keys.h index fc57fd5c..ff1eb149 100644 --- a/libkeyring/keys.h +++ b/libkeyring/keys.h @@ -20,7 +20,7 @@ enum struct IPint { Keyring_IPint x; - BigInt b; + mpint* b; }; /* generic certificate */ @@ -98,8 +98,8 @@ struct SigAlgVec { void* (*gensk)(int); void* (*genskfrompk)(void*); - void* (*sign)(BigInt, void*); - int (*verify)(BigInt, void*, void*); + void* (*sign)(mpint*, void*); + int (*verify)(mpint*, void*, void*); void (*skfree)(void*); void (*pkfree)(void*); @@ -112,7 +112,7 @@ struct SigAlg SigAlgVec *vec; }; -int bigtobase64(BigInt b, char *buf, int blen); -BigInt base64tobig(char *str, char **strp); +int bigtobase64(mpint* b, char *buf, int blen); +mpint* base64tobig(char *str, char **strp); SigAlgVec* findsigalg(char*); -Keyring_IPint* newIPint(BigInt); +Keyring_IPint* newIPint(mpint*); |
