/external/dropbear/ |
keyimport.c | 357 unsigned char *keyblob; member in struct:openssh_key 371 ret->keyblob = NULL; 449 ret->keyblob = (unsigned char*)m_realloc(ret->keyblob, 454 ret->keyblob + ret->keyblob_len, &outlen) != CRYPT_OK){ 462 if (ret->keyblob_len == 0 || !ret->keyblob) { 478 if (ret->keyblob) { 479 memset(ret->keyblob, 0, ret->keyblob_size); 480 m_free(ret->keyblob); 502 memset(key->keyblob, 0, key->keyblob_size) 696 buffer * keyblob = NULL; local [all...] |
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,
|
cli-kex.c | 41 static void checkhostkey(unsigned char* keyblob, unsigned int keybloblen); 65 unsigned char* keyblob = NULL; local 80 keyblob = buf_getptr(ses.payload, keybloblen); 83 checkhostkey(keyblob, keybloblen); 115 static void ask_to_confirm(unsigned char* keyblob, unsigned int keybloblen) { 121 fp = sign_key_fingerprint(keyblob, keybloblen); 209 static void checkhostkey(unsigned char* keyblob, unsigned int keybloblen) { 222 ask_to_confirm(keyblob, keybloblen); 272 ret = cmp_base64_key(keyblob, keybloblen, algoname, algolen, 288 sign_key_fingerprint(keyblob, keybloblen) [all...] |
svr-authpubkey.c | 43 unsigned char* keyblob, unsigned int keybloblen); 46 unsigned char* keyblob, unsigned int keybloblen); 56 unsigned char* keyblob = NULL; local 71 keyblob = buf_getptr(ses.payload, keybloblen); 74 if (checkpubkey(algo, algolen, keyblob, keybloblen) == DROPBEAR_FAILURE) { 81 send_msg_userauth_pk_ok(algo, algolen, keyblob, keybloblen); 103 fp = sign_key_fingerprint(keyblob, keybloblen); 137 unsigned char* keyblob, unsigned int keybloblen) { 144 buf_putstring(ses.writepayload, keyblob, keybloblen); 155 unsigned char* keyblob, unsigned int keybloblen) [all...] |
signkey.c | 276 static char * sign_key_md5_fingerprint(unsigned char* keyblob, 288 md5_process(&hs, keyblob, keybloblen); 311 static char * sign_key_sha1_fingerprint(unsigned char* keyblob, 323 sha1_process(&hs, keyblob, keybloblen); 348 char * sign_key_fingerprint(unsigned char* keyblob, unsigned int keybloblen) { 351 return sign_key_md5_fingerprint(keyblob, keybloblen); 353 return sign_key_sha1_fingerprint(keyblob, keybloblen); 437 int cmp_base64_key(const unsigned char* keyblob, unsigned int keybloblen, 469 keyblob, decodekey->len) != 0) {
|
/external/openssh/ |
ssh-add.c | 148 Buffer keyblob; local 169 buffer_init(&keyblob); 170 if (!key_load_file(fd, filename, &keyblob)) { 171 buffer_free(&keyblob); 178 private = key_parse_private(&keyblob, filename, "", &comment); 183 private = key_parse_private(&keyblob, filename, pass, NULL); 194 buffer_free(&keyblob); 197 private = key_parse_private(&keyblob, filename, pass, 206 buffer_free(&keyblob);
|
authfile.c | 261 Buffer keyblob; local 264 buffer_init(&keyblob); 265 if (!key_private_to_blob(key, &keyblob, passphrase, comment)) 267 if (!key_save_private_blob(&keyblob, filename)) 271 buffer_free(&keyblob);
|