Home
last modified time | relevance | path

Searched refs:signid (Results 1 – 5 of 5) sorted by relevance

/openssl/test/
H A Dupcallstest.c98 int sigalgnid, digestnid, signid, foundsid; in obj_create_test() local
112 || !TEST_true(OBJ_find_sigid_algs(sigalgnid, &digestnid, &signid)) in obj_create_test()
114 || !TEST_int_ne(signid, NID_undef) in obj_create_test()
116 || !TEST_int_eq(signid, OBJ_ln2nid(SIG_LN))) in obj_create_test()
124 || !TEST_int_ne(signid, NID_undef)) in obj_create_test()
131 signid = OBJ_ln2nid(SIG_LN); in obj_create_test()
132 if ((!OBJ_find_sigid_by_algs(&foundsid, digestnid, signid)) || in obj_create_test()
136 if ((OBJ_find_sigid_by_algs(&foundsid, OBJ_sn2nid("SHA512"), signid)) && in obj_create_test()
143 signid = OBJ_ln2nid(NODIG_SIG_LN); in obj_create_test()
144 if ((!OBJ_find_sigid_by_algs(&foundsid, digestnid, signid)) || in obj_create_test()
[all …]
/openssl/crypto/objects/
H A Dobj_xref.c66 static int ossl_obj_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid, in ossl_obj_find_sigid_algs() argument
73 if (signid == NID_undef) in ossl_obj_find_sigid_algs()
76 tmp.sign_id = signid; in ossl_obj_find_sigid_algs()
103 int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid) in OBJ_find_sigid_algs() argument
105 return ossl_obj_find_sigid_algs(signid, pdig_nid, ppkey_nid, 1); in OBJ_find_sigid_algs()
147 int OBJ_add_sigid(int signid, int dig_id, int pkey_id) in OBJ_add_sigid() argument
152 if (signid == NID_undef || pkey_id == NID_undef) in OBJ_add_sigid()
160 ntr->sign_id = signid; in OBJ_add_sigid()
171 if (ossl_obj_find_sigid_algs(signid, &dnid, &pnid, 0)) { in OBJ_add_sigid()
/openssl/crypto/asn1/
H A Da_sign.c155 int signid, paramtype, buf_len = 0; in ASN1_item_sign_ctx() local
241 if (!OBJ_find_sigid_by_algs(&signid, EVP_MD_nid(md), pkey_id)) { in ASN1_item_sign_ctx()
249 && !X509_ALGOR_set0(algor1, OBJ_nid2obj(signid), paramtype, NULL)) in ASN1_item_sign_ctx()
252 && !X509_ALGOR_set0(algor2, OBJ_nid2obj(signid), paramtype, NULL)) in ASN1_item_sign_ctx()
/openssl/include/openssl/
H A Dobjects.h174 int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid);
176 int OBJ_add_sigid(int signid, int dig_id, int pkey_id);
/openssl/doc/man3/
H A DOBJ_nid2obj.pod38 int OBJ_add_sigid(int signid, int dig_id, int pkey_id);
103 conjunction with it. I<signid> represents the NID for the composite "Signature

Completed in 57 milliseconds