Lines Matching refs:sigtype
2641 char *sigtype = NULL; in sshkey_get_sigtype() local
2647 if ((r = sshbuf_get_cstring(b, &sigtype, NULL)) != 0) in sshkey_get_sigtype()
2651 *sigtypep = sigtype; in sshkey_get_sigtype()
2652 sigtype = NULL; in sshkey_get_sigtype()
2656 free(sigtype); in sshkey_get_sigtype()
2712 char *sigtype = NULL; in sshkey_check_sigtype() local
2719 if ((r = sshkey_get_sigtype(sig, siglen, &sigtype)) != 0) in sshkey_check_sigtype()
2721 r = strcmp(expected_alg, sigtype) == 0; in sshkey_check_sigtype()
2722 free(sigtype); in sshkey_check_sigtype()
2899 char *sigtype = NULL; in sshkey_certify_custom() local
3033 if ((ret = sshkey_get_sigtype(sig_blob, sig_len, &sigtype)) != 0) in sshkey_certify_custom()
3035 if (alg != NULL && strcmp(alg, sigtype) != 0) { in sshkey_certify_custom()
3040 k->cert->signature_type = sigtype; in sshkey_certify_custom()
3041 sigtype = NULL; in sshkey_certify_custom()
3052 free(sigtype); in sshkey_certify_custom()