Home
last modified time | relevance | path

Searched refs:sig_algs (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/heimdal/lib/hx509/
H A Dcrypto.c1478 static const struct signature_alg *sig_algs[] = { variable
1504 for (i = 0; sig_algs[i]; i++) in find_sig_alg()
1505 if (der_heim_oid_cmp(sig_algs[i]->sig_oid, oid) == 0) in find_sig_alg()
1506 return sig_algs[i]; in find_sig_alg()
1521 for (i = 0; sig_algs[i]; i++) { in alg_for_privatekey()
1522 if (sig_algs[i]->key_oid == NULL) in alg_for_privatekey()
1524 if (der_heim_oid_cmp(sig_algs[i]->key_oid, keytype) != 0) in alg_for_privatekey()
1527 pk->ops->available(pk, sig_algs[i]->sig_alg) == 0) in alg_for_privatekey()
1530 return sig_algs[i]->sig_alg; in alg_for_privatekey()
1532 return sig_algs[i]->digest_alg; in alg_for_privatekey()
[all …]
H A DChangeLog1233 * crypto.c (hx509_crypto_select): check sig_algs[j]->key_oid