Searched refs:asn1_oid (Results 1 – 10 of 10) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | asn1.h | 55 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;
|
D | asn1.c | 14 struct asn1_oid asn1_sha1_oid = { 19 struct asn1_oid asn1_sha256_oid = { 98 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) in asn1_parse_oid() 142 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_oid() 162 void asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) in asn1_oid_to_str() 228 int asn1_oid_equal(const struct asn1_oid *a, const struct asn1_oid *b) in asn1_oid_equal()
|
D | x509v3.h | 15 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);
|
D | tlsv1_cred.c | 335 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 …]
|
D | x509v3.c | 296 struct asn1_oid oid; in x509_parse_name() 714 static int x509_id_ce_oid(struct asn1_oid *oid) in x509_id_ce_oid() 724 static int x509_any_ext_key_usage_oid(struct asn1_oid *oid) in x509_any_ext_key_usage_oid() 1085 static int x509_id_pkix_oid(struct asn1_oid *oid) in x509_id_pkix_oid() 1098 static int x509_id_kp_oid(struct asn1_oid *oid) in x509_id_kp_oid() 1107 static int x509_id_kp_server_auth_oid(struct asn1_oid *oid) in x509_id_kp_server_auth_oid() 1116 static int x509_id_kp_client_auth_oid(struct asn1_oid *oid) in x509_id_kp_client_auth_oid() 1125 static int x509_id_kp_ocsp_oid(struct asn1_oid *oid) in x509_id_kp_ocsp_oid() 1139 struct asn1_oid oid; in x509_parse_ext_ext_key_usage() 1192 struct asn1_oid *oid, in x509_parse_extension_data() [all …]
|
D | pkcs1.h | 13 struct asn1_oid; 26 const struct asn1_oid *hash_alg,
|
D | pkcs5.c | 38 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()
|
D | pkcs1.c | 198 const struct asn1_oid *hash_alg, in pkcs1_v15_sig_ver() 206 struct asn1_oid oid; in pkcs1_v15_sig_ver()
|
D | tlsv1_client_ocsp.c | 34 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()
|
D | pkcs8.c | 24 struct asn1_oid oid; in pkcs8_key_import()
|