Lines Matching refs:algolen
42 static int checkpubkey(unsigned char* algo, unsigned int algolen,
45 static void send_msg_userauth_pk_ok(unsigned char* algo, unsigned int algolen,
55 unsigned int algolen;
69 algo = buf_getstring(ses.payload, &algolen);
74 if (checkpubkey(algo, algolen, keyblob, keybloblen) == DROPBEAR_FAILURE) {
81 send_msg_userauth_pk_ok(algo, algolen, keyblob, keybloblen);
136 static void send_msg_userauth_pk_ok(unsigned char* algo, unsigned int algolen,
143 buf_putstring(ses.writepayload, algo, algolen);
154 static int checkpubkey(unsigned char* algo, unsigned int algolen,
166 if (have_algo(algo, algolen, sshhostkey) == DROPBEAR_FAILURE) {
213 if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) {
216 buf_incrpos(line, algolen);
234 ret = cmp_base64_key(keyblob, keybloblen, algo, algolen, line, NULL);