Searched refs:sigtype (Results 1 – 4 of 4) sorted by relevance
/external/scapy/scapy/layers/ |
D | x509.py | 926 sigtype = pkt.fields["signatureAlgorithm"].algorithm.oidname 927 if "rsa" in sigtype.lower(): 929 elif "ecdsa" in sigtype.lower(): 938 sigtype = pkt.fields['signatureAlgorithm'].algorithm.oidname 940 sigtype = pkt.default_fields["signatureAlgorithm"].algorithm.oidname 941 if "rsa" in sigtype.lower(): 943 elif "ecdsa" in sigtype.lower(): 1034 sigtype = pkt.fields["signatureAlgorithm"].algorithm.oidname 1035 if "rsa" in sigtype.lower(): 1037 elif "ecdsa" in sigtype.lower(): [all …]
|
/external/openssh/ |
D | ssh-rsa.c | 252 char *sigtype = NULL; in ssh_rsa_verify() local 268 if (sshbuf_get_cstring(b, &sigtype, NULL) != 0) { in ssh_rsa_verify() 272 if ((hash_alg = rsa_hash_id_from_ident(sigtype)) == -1) { in ssh_rsa_verify() 327 free(sigtype); in ssh_rsa_verify()
|
D | sshsig.c | 297 char *got_namespace = NULL, *sigtype = NULL, *sig_hashalg = NULL; in sshsig_wrap_verify() local 355 if ((r = sshkey_get_sigtype(sig, siglen, &sigtype)) != 0) { in sshsig_wrap_verify() 360 if (match_pattern_list(sigtype, RSA_SIGN_ALLOWED, 0) != 1) { in sshsig_wrap_verify() 362 "signature algorithm %s", sigtype); in sshsig_wrap_verify() 381 free(sigtype); in sshsig_wrap_verify()
|
D | sshkey.c | 2639 char *sigtype = NULL; in sshkey_get_sigtype() local 2645 if ((r = sshbuf_get_cstring(b, &sigtype, NULL)) != 0) in sshkey_get_sigtype() 2649 *sigtypep = sigtype; in sshkey_get_sigtype() 2650 sigtype = NULL; in sshkey_get_sigtype() 2654 free(sigtype); in sshkey_get_sigtype() 2710 char *sigtype = NULL; in sshkey_check_sigtype() local 2717 if ((r = sshkey_get_sigtype(sig, siglen, &sigtype)) != 0) in sshkey_check_sigtype() 2719 r = strcmp(expected_alg, sigtype) == 0; in sshkey_check_sigtype() 2720 free(sigtype); in sshkey_check_sigtype() 2896 char *sigtype = NULL; in sshkey_certify_custom() local [all …]
|