Searched refs:keybloblen (Results 1 – 4 of 4) sorted by relevance
/external/dropbear/ |
D | cli-kex.c | 41 static void checkhostkey(unsigned char* keyblob, unsigned int keybloblen); 64 unsigned int type, keybloblen; in recv_msg_kexdh_reply() local 78 keybloblen = buf_getint(ses.payload); in recv_msg_kexdh_reply() 80 keyblob = buf_getptr(ses.payload, keybloblen); in recv_msg_kexdh_reply() 83 checkhostkey(keyblob, keybloblen); in recv_msg_kexdh_reply() 115 static void ask_to_confirm(unsigned char* keyblob, unsigned int keybloblen) { in ask_to_confirm() argument 121 fp = sign_key_fingerprint(keyblob, keybloblen); in ask_to_confirm() 209 static void checkhostkey(unsigned char* keyblob, unsigned int keybloblen) { in checkhostkey() argument 222 ask_to_confirm(keyblob, keybloblen); in checkhostkey() 272 ret = cmp_base64_key(keyblob, keybloblen, algoname, algolen, in checkhostkey() [all …]
|
D | svr-authpubkey.c | 43 unsigned char* keyblob, unsigned int keybloblen); 46 unsigned char* keyblob, unsigned int keybloblen); 57 unsigned int keybloblen; in svr_auth_pubkey() local 70 keybloblen = buf_getint(ses.payload); in svr_auth_pubkey() 71 keyblob = buf_getptr(ses.payload, keybloblen); in svr_auth_pubkey() 74 if (checkpubkey(algo, algolen, keyblob, keybloblen) == DROPBEAR_FAILURE) { in svr_auth_pubkey() 81 send_msg_userauth_pk_ok(algo, algolen, keyblob, keybloblen); in svr_auth_pubkey() 103 fp = sign_key_fingerprint(keyblob, keybloblen); in svr_auth_pubkey() 137 unsigned char* keyblob, unsigned int keybloblen) { in send_msg_userauth_pk_ok() argument 144 buf_putstring(ses.writepayload, keyblob, keybloblen); in send_msg_userauth_pk_ok() [all …]
|
D | signkey.c | 277 unsigned int keybloblen) { in sign_key_md5_fingerprint() argument 288 md5_process(&hs, keyblob, keybloblen); in sign_key_md5_fingerprint() 312 unsigned int keybloblen) { in sign_key_sha1_fingerprint() argument 323 sha1_process(&hs, keyblob, keybloblen); in sign_key_sha1_fingerprint() 348 char * sign_key_fingerprint(unsigned char* keyblob, unsigned int keybloblen) { in sign_key_fingerprint() argument 351 return sign_key_md5_fingerprint(keyblob, keybloblen); in sign_key_fingerprint() 353 return sign_key_sha1_fingerprint(keyblob, keybloblen); in sign_key_fingerprint() 437 int cmp_base64_key(const unsigned char* keyblob, unsigned int keybloblen, in cmp_base64_key() argument 467 if ( ( decodekeylen != keybloblen ) in cmp_base64_key()
|
D | signkey.h | 57 char * sign_key_fingerprint(unsigned char* keyblob, unsigned int keybloblen); 59 int cmp_base64_key(const unsigned char* keyblob, unsigned int keybloblen,
|