Mercurial > dropbear
comparison signkey.h @ 51:095d689fed16
- Hostkey checking is mostly there, just aren't appending yet.
- Rearranged various bits of the fingerprint/base64 type code, so it
can be shared between versions
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 08 Aug 2004 16:17:05 +0000 |
parents | 45edf30ea0a6 |
children | 7282370416a0 |
comparison
equal
deleted
inserted
replaced
49:cc59bfcdee17 | 51:095d689fed16 |
---|---|
52 void buf_put_sign(buffer* buf, sign_key *key, int type, | 52 void buf_put_sign(buffer* buf, sign_key *key, int type, |
53 const unsigned char *data, unsigned int len); | 53 const unsigned char *data, unsigned int len); |
54 #ifdef DROPBEAR_SIGNKEY_VERIFY | 54 #ifdef DROPBEAR_SIGNKEY_VERIFY |
55 int buf_verify(buffer * buf, sign_key *key, const unsigned char *data, | 55 int buf_verify(buffer * buf, sign_key *key, const unsigned char *data, |
56 unsigned int len); | 56 unsigned int len); |
57 char * sign_key_fingerprint(sign_key *key, int type); | 57 char * sign_key_fingerprint(unsigned char* keyblob, unsigned int keybloblen); |
58 #endif | 58 #endif |
59 int cmp_base64_key(const unsigned char* keyblob, unsigned int keybloblen, | |
60 const unsigned char* algoname, unsigned int algolen, | |
61 buffer * line); | |
59 | 62 |
60 #endif /* _SIGNKEY_H_ */ | 63 #endif /* _SIGNKEY_H_ */ |