Searched refs:keyblob (Results 1 – 5 of 5) sorted by relevance
/external/dropbear/ |
D | keyimport.c | 357 unsigned char *keyblob; member 371 ret->keyblob = NULL; in load_openssh_key() 449 ret->keyblob = (unsigned char*)m_realloc(ret->keyblob, in load_openssh_key() 454 ret->keyblob + ret->keyblob_len, &outlen) != CRYPT_OK){ in load_openssh_key() 462 if (ret->keyblob_len == 0 || !ret->keyblob) { in load_openssh_key() 478 if (ret->keyblob) { in load_openssh_key() 479 memset(ret->keyblob, 0, ret->keyblob_size); in load_openssh_key() 480 m_free(ret->keyblob); in load_openssh_key() 502 memset(key->keyblob, 0, key->keyblob_size); in openssh_encrypted() 503 m_free(key->keyblob); in openssh_encrypted() [all …]
|
D | cli-kex.c | 41 static void checkhostkey(unsigned char* keyblob, unsigned int keybloblen); 65 unsigned char* keyblob = NULL; in recv_msg_kexdh_reply() local 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() 288 sign_key_fingerprint(keyblob, keybloblen), in checkhostkey() [all …]
|
D | svr-authpubkey.c | 43 unsigned char* keyblob, unsigned int keybloblen); 46 unsigned char* keyblob, unsigned int keybloblen); 56 unsigned char* keyblob = NULL; in svr_auth_pubkey() local 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() 155 unsigned char* keyblob, unsigned int keybloblen) { in checkpubkey() argument [all …]
|
D | signkey.c | 276 static char * sign_key_md5_fingerprint(unsigned char* keyblob, in sign_key_md5_fingerprint() argument 288 md5_process(&hs, keyblob, keybloblen); in sign_key_md5_fingerprint() 311 static char * sign_key_sha1_fingerprint(unsigned char* keyblob, 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 469 keyblob, decodekey->len) != 0) { 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,
|