Home
last modified time | relevance | path

Searched refs:asn1_oid (Results 1 – 13 of 13) sorted by relevance

/hostap-3.7.0/src/tls/
Dasn1.h56 struct asn1_oid { struct
65 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid); argument
66 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid,
68 void asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len);
70 int asn1_oid_equal(const struct asn1_oid *a, const struct asn1_oid *b);
74 int asn1_get_alg_id(const u8 *buf, size_t len, struct asn1_oid *oid,
78 void asn1_put_oid(struct wpabuf *buf, const struct asn1_oid *oid);
84 struct wpabuf * asn1_build_alg_id(const struct asn1_oid *oid,
190 extern const struct asn1_oid asn1_sha1_oid;
191 extern const struct asn1_oid asn1_sha256_oid;
[all …]
Dasn1.c15 const struct asn1_oid asn1_sha1_oid = {
20 const struct asn1_oid asn1_sha256_oid = {
25 const struct asn1_oid asn1_ec_public_key_oid = {
30 const struct asn1_oid asn1_prime256v1_oid = {
35 const struct asn1_oid asn1_secp384r1_oid = {
40 const struct asn1_oid asn1_secp521r1_oid = {
45 const struct asn1_oid asn1_brainpoolP256r1_oid = {
50 const struct asn1_oid asn1_brainpoolP384r1_oid = {
55 const struct asn1_oid asn1_brainpoolP512r1_oid = {
60 const struct asn1_oid asn1_aes_siv_cmac_aead_256_oid = {
[all …]
Dx509v3.h15 struct asn1_oid oid;
45 struct asn1_oid rid; /* registeredID */
159 int x509_sha1_oid(struct asn1_oid *oid);
160 int x509_sha256_oid(struct asn1_oid *oid);
161 int x509_sha384_oid(struct asn1_oid *oid);
162 int x509_sha512_oid(struct asn1_oid *oid);
Dx509v3.c290 struct asn1_oid oid; in x509_parse_name()
746 static int x509_id_ce_oid(struct asn1_oid *oid) in x509_id_ce_oid()
756 static int x509_any_ext_key_usage_oid(struct asn1_oid *oid) in x509_any_ext_key_usage_oid()
1097 static int x509_id_cert_policy_any_oid(struct asn1_oid *oid) in x509_id_cert_policy_any_oid()
1108 static int x509_id_wfa_oid(struct asn1_oid *oid) in x509_id_wfa_oid()
1121 static int x509_id_wfa_tod_oid(struct asn1_oid *oid) in x509_id_wfa_tod_oid()
1130 static int x509_id_wfa_tod_strict_oid(struct asn1_oid *oid) in x509_id_wfa_tod_strict_oid()
1138 static int x509_id_wfa_tod_tofu_oid(struct asn1_oid *oid) in x509_id_wfa_tod_tofu_oid()
1177 struct asn1_oid oid; in x509_parse_ext_certificate_policies()
1221 static int x509_id_pkix_oid(struct asn1_oid *oid) in x509_id_pkix_oid()
[all …]
Dtlsv1_cred.c335 static int oid_is_rsadsi(struct asn1_oid *oid) in oid_is_rsadsi()
345 static int pkcs12_is_bagtype_oid(struct asn1_oid *oid, unsigned long type) in pkcs12_is_bagtype_oid()
357 static int is_oid_pkcs7(struct asn1_oid *oid) in is_oid_pkcs7()
369 static int is_oid_pkcs7_data(struct asn1_oid *oid) in is_oid_pkcs7_data()
375 static int is_oid_pkcs7_enc_data(struct asn1_oid *oid) in is_oid_pkcs7_enc_data()
381 static int is_oid_pkcs9(struct asn1_oid *oid) in is_oid_pkcs9()
393 static int is_oid_pkcs9_friendly_name(struct asn1_oid *oid) in is_oid_pkcs9_friendly_name()
400 static int is_oid_pkcs9_local_key_id(struct asn1_oid *oid) in is_oid_pkcs9_local_key_id()
407 static int is_oid_pkcs9_x509_cert(struct asn1_oid *oid) in is_oid_pkcs9_x509_cert()
447 struct asn1_oid oid; in pkcs12_certbag()
[all …]
Dpkcs1.h13 struct asn1_oid;
26 const struct asn1_oid *hash_alg,
Dpkcs5.c38 static int oid_is_rsadsi(struct asn1_oid *oid) in oid_is_rsadsi()
48 static int pkcs5_is_oid(struct asn1_oid *oid, unsigned long alg) in pkcs5_is_oid()
58 static int enc_alg_is_oid(struct asn1_oid *oid, unsigned long alg) in enc_alg_is_oid()
67 static int pkcs12_is_pbe_oid(struct asn1_oid *oid, unsigned long alg) in pkcs12_is_pbe_oid()
78 static enum pkcs5_alg pkcs5_get_alg(struct asn1_oid *oid) in pkcs5_get_alg()
95 struct asn1_oid oid; in pkcs5_get_params_pbes2()
266 struct asn1_oid oid; in pkcs5_get_params()
Dpkcs1.c202 const struct asn1_oid *hash_alg, in pkcs1_v15_sig_ver()
210 struct asn1_oid oid; in pkcs1_v15_sig_ver()
Dtlsv1_client_ocsp.c34 static int is_oid_basic_ocsp_resp(struct asn1_oid *oid) in is_oid_basic_ocsp_resp()
67 static unsigned int ocsp_hash_data(struct asn1_oid *alg, const u8 *data, in ocsp_hash_data()
654 struct asn1_oid oid; in tls_process_ocsp_response()
Dpkcs8.c24 struct asn1_oid oid; in pkcs8_key_import()
/hostap-3.7.0/src/common/
Ddpp_backup.c114 const struct asn1_oid *oid; in dpp_build_key_alg()
218 const struct asn1_oid *oid; in dpp_build_pbkdf2_alg_id()
375 const struct asn1_oid *oid; in dpp_build_enc_cont_info()
541 struct asn1_oid oid; in dpp_parse_recipient_infos()
732 struct asn1_oid oid; in dpp_parse_encrypted_content_info()
864 struct asn1_oid oid; in dpp_parse_one_asymmetric_key()
/hostap-3.7.0/tests/fuzzing/asn1/
Dasn1.c39 struct asn1_oid oid; in asn1_parse()
/hostap-3.7.0/tests/
Dtest-rsa-sig-ver.c129 const struct asn1_oid *alg; in cavp_rsa_sig_ver()