Searched defs:algolen (Results 1 - 5 of 5) sorted by relevance

/external/dropbear/
H A Dcli-authpubkey.c66 unsigned int algolen; local
72 algotype = buf_getstring(ses.payload, &algolen);
73 keytype = signkey_type_from_name(algotype, algolen);
133 int algolen; local
152 algoname = signkey_name_from_type(type, &algolen);
154 buf_putstring(ses.writepayload, algoname, algolen);
H A Dcli-kex.c213 unsigned int hostlen, algolen; local
229 algoname = signkey_name_from_type(ses.newkeys->algo_hostkey, &algolen);
260 if (strncmp(buf_getptr(line, algolen), algoname, algolen) != 0) {
265 buf_incrpos(line, algolen);
272 ret = cmp_base64_key(keyblob, keybloblen, algoname, algolen,
309 buf_putbytes(line, algoname, algolen);
H A Dsvr-authpubkey.c42 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; local
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, argument
143 buf_putstring(ses.writepayload, algo, algolen);
154 static int checkpubkey(unsigned char* algo, unsigned int algolen, argument
166 if (have_algo(algo, algolen, sshhostke
[all...]
H A Dcommon-algo.c191 /* algolen specifies the length of algo, algos is our local list to match
195 int have_algo(char* algo, size_t algolen, algo_type algos[]) { argument
200 if (strlen(algos[i].name) == algolen
201 && (strncmp(algos[i].name, algo, algolen) == 0)) {
H A Dsignkey.c438 const unsigned char* algoname, unsigned int algolen,
478 if (filealgolen != algolen || memcmp(filealgo, algoname, algolen) != 0) {
437 cmp_base64_key(const unsigned char* keyblob, unsigned int keybloblen, const unsigned char* algoname, unsigned int algolen, buffer * line, char ** fingerprint) argument

Completed in 88 milliseconds