Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
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.h13 struct asn1_oid;
26 const struct asn1_oid *hash_alg,
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dasn1.h55 struct asn1_oid { struct
62 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid); argument
63 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid,
65 void asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len);
67 int asn1_oid_equal(const struct asn1_oid *a, const struct asn1_oid *b);
69 extern struct asn1_oid asn1_sha1_oid;
70 extern struct asn1_oid asn1_sha256_oid;
Dx509v3.h15 struct asn1_oid oid;
45 struct asn1_oid rid; /* registeredID */
152 int x509_sha1_oid(struct asn1_oid *oid);
153 int x509_sha256_oid(struct asn1_oid *oid);
154 int x509_sha384_oid(struct asn1_oid *oid);
155 int x509_sha512_oid(struct asn1_oid *oid);
Dasn1.c14 struct asn1_oid asn1_sha1_oid = {
19 struct asn1_oid asn1_sha256_oid = {
129 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) in asn1_parse_oid()
173 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_oid()
193 void asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) in asn1_oid_to_str()
259 int asn1_oid_equal(const struct asn1_oid *a, const struct asn1_oid *b) in asn1_oid_equal()
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 …]
Dx509v3.c296 struct asn1_oid oid; in x509_parse_name()
756 static int x509_id_ce_oid(struct asn1_oid *oid) in x509_id_ce_oid()
766 static int x509_any_ext_key_usage_oid(struct asn1_oid *oid) in x509_any_ext_key_usage_oid()
1123 static int x509_id_pkix_oid(struct asn1_oid *oid) in x509_id_pkix_oid()
1136 static int x509_id_kp_oid(struct asn1_oid *oid) in x509_id_kp_oid()
1145 static int x509_id_kp_server_auth_oid(struct asn1_oid *oid) in x509_id_kp_server_auth_oid()
1154 static int x509_id_kp_client_auth_oid(struct asn1_oid *oid) in x509_id_kp_client_auth_oid()
1163 static int x509_id_kp_ocsp_oid(struct asn1_oid *oid) in x509_id_kp_ocsp_oid()
1177 struct asn1_oid oid; in x509_parse_ext_ext_key_usage()
1230 struct asn1_oid *oid, in x509_parse_extension_data()
[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()
282 struct asn1_oid oid; in pkcs5_get_params()
Dpkcs1.c198 const struct asn1_oid *hash_alg, in pkcs1_v15_sig_ver()
206 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()
685 struct asn1_oid oid; in tls_process_ocsp_response()
Dpkcs8.c24 struct asn1_oid oid; in pkcs8_key_import()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()