/dports/security/dropbear/dropbear-2020.81/ |
H A D | fuzzer-pubkey.c | 27 unsigned int algolen; in LLVMFuzzerTestOneInput() local 28 char* algoname = buf_getstring(keyblob, &algolen); in LLVMFuzzerTestOneInput() 30 if (signature_type_from_name(algoname, algolen) == DROPBEAR_SIGNKEY_NONE) { in LLVMFuzzerTestOneInput() 35 algoname, algolen, in LLVMFuzzerTestOneInput()
|
H A D | svr-authpubkey.c | 261 const char* algo, unsigned int algolen, in checkpubkey_line() argument 278 if (line->pos + algolen+3 > line->len) { in checkpubkey_line() 282 if (strncmp((const char *) buf_getptr(line, algolen), algo, algolen) != 0) { in checkpubkey_line() 327 if (line->pos + algolen+3 > line->len) { in checkpubkey_line() 330 if (strncmp((const char *) buf_getptr(line, algolen), algo, algolen) != 0) { in checkpubkey_line() 334 buf_incrpos(line, algolen); in checkpubkey_line() 352 ret = cmp_base64_key(keyblob, keybloblen, (const unsigned char *) algo, algolen, line, NULL); in checkpubkey_line() 549 const char* algo, unsigned int algolen, in fuzz_checkpubkey_line() argument 551 return checkpubkey_line(line, line_num, filename, algo, algolen, keyblob, keybloblen); in fuzz_checkpubkey_line()
|
H A D | cli-authpubkey.c | 60 unsigned int algolen; in recv_msg_userauth_pk_ok() local 67 algotype = buf_getstring(ses.payload, &algolen); in recv_msg_userauth_pk_ok() 68 sigtype = signature_type_from_name(algotype, algolen); in recv_msg_userauth_pk_ok() 146 unsigned int algolen; in send_msg_userauth_pubkey() local 166 algoname = signature_name_from_type(sigtype, &algolen); in send_msg_userauth_pubkey() 167 buf_putstring(ses.writepayload, algoname, algolen); in send_msg_userauth_pubkey()
|
H A D | cli-kex.c | 305 unsigned int hostlen, algolen; in checkhostkey() local 317 algoname = signkey_name_from_type(ses.newkeys->algo_hostkey, &algolen); in checkhostkey() 357 if (strncmp((const char *) buf_getptr(line, algolen), algoname, algolen) != 0) { in checkhostkey() 362 buf_incrpos(line, algolen); in checkhostkey() 369 ret = cmp_base64_key(keyblob, keybloblen, (const unsigned char *) algoname, algolen, in checkhostkey() 407 buf_putbytes(line, (const unsigned char *) algoname, algolen); in checkhostkey()
|
H A D | pubkeyapi.h | 89 unsigned int algolen,
|
H A D | fuzz.h | 29 const char* algo, unsigned int algolen,
|
H A D | signkey.h | 136 const unsigned char* algoname, unsigned int algolen,
|
H A D | signkey.c | 712 const unsigned char* algoname, unsigned int algolen, in cmp_base64_key() argument 756 if (filealgolen != algolen || memcmp(filealgo, algoname, algolen) != 0) { in cmp_base64_key()
|
/dports/security/p5-Net-SAML/zxid-1.42/ |
H A D | smimemime.c | 58 int algolen = strlen(algo); in cut_pem_markers_off() local 60 b[n-6-algolen-4-5] = '\0'; /* cut off `-----END PKCS7-----\n' */ in cut_pem_markers_off() 61 b+=5+6+algolen+6; /* skip `-----BEGIN PKCS7-----\n' */ in cut_pem_markers_off() 74 int algolen = strlen(algo); in wrap_in_pem_markers() local 76 if (!(bb = (char*)OPENSSL_malloc(5+6+algolen+6+ n +5+4+algolen+6 +1 +1))) in wrap_in_pem_markers()
|
/dports/net/sngrep/sngrep-1.4.9/src/ |
H A D | capture_gnutls.c | 97 int algolen = gcry_md_get_algo_dlen(algo); in P_hash() local 108 memcpy(tmpseed, gcry_md_read(md, algo), algolen); in P_hash() 109 tmpslen = algolen; in P_hash() 116 memcpy(hmac, gcry_md_read(md, algo), algolen); in P_hash() 117 hlen = algolen; in P_hash()
|
/dports/www/lighttpd/lighttpd-1.4.63/src/ |
H A D | mod_auth.c | 1050 unsigned int algolen[3]; in mod_auth_digest_www_authenticate() local 1057 algolen[n] = sizeof("SHA-512-256")-1; in mod_auth_digest_www_authenticate() 1064 algolen[n] = sizeof("SHA-256")-1; in mod_auth_digest_www_authenticate() 1071 algolen[n] = sizeof("MD5")-1; in mod_auth_digest_www_authenticate() 1082 ,{ algoname[i], algolen[i] } in mod_auth_digest_www_authenticate()
|