Searched refs:MBEDTLS_OID_SIZE (Results 1 – 14 of 14) sorted by relevance
/third_party/mbedtls/include/mbedtls/ |
D | psa_util.h | 178 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_SECP192R1); in mbedtls_psa_get_ecc_oid_from_id() 184 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_SECP224R1); in mbedtls_psa_get_ecc_oid_from_id() 190 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_SECP256R1); in mbedtls_psa_get_ecc_oid_from_id() 196 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_SECP384R1); in mbedtls_psa_get_ecc_oid_from_id() 202 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_SECP521R1); in mbedtls_psa_get_ecc_oid_from_id() 212 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_SECP192K1); in mbedtls_psa_get_ecc_oid_from_id() 218 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_SECP224K1); in mbedtls_psa_get_ecc_oid_from_id() 224 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_SECP256K1); in mbedtls_psa_get_ecc_oid_from_id() 234 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_BP256R1); in mbedtls_psa_get_ecc_oid_from_id() 240 *oid_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_EC_GRP_BP384R1); in mbedtls_psa_get_ecc_oid_from_id() [all …]
|
D | asn1.h | 126 #define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1) macro 135 ((MBEDTLS_OID_SIZE(oid_str) != (oid_buf)->len) || \ 139 ((MBEDTLS_OID_SIZE(oid_str) != (oid_buf_len)) || \
|
/third_party/mbedtls/library/ |
D | x509write_crt.c | 194 MBEDTLS_OID_SIZE(MBEDTLS_OID_BASIC_CONSTRAINTS), in mbedtls_x509write_crt_set_basic_constraints() 258 MBEDTLS_OID_SIZE( in mbedtls_x509write_crt_set_key_identifier() 264 MBEDTLS_OID_SIZE( in mbedtls_x509write_crt_set_key_identifier() 317 MBEDTLS_OID_SIZE(MBEDTLS_OID_KEY_USAGE), in mbedtls_x509write_crt_set_key_usage() 363 MBEDTLS_OID_SIZE(MBEDTLS_OID_EXTENDED_KEY_USAGE), in mbedtls_x509write_crt_set_ext_key_usage() 382 MBEDTLS_OID_SIZE(MBEDTLS_OID_NS_CERT_TYPE), in mbedtls_x509write_crt_set_ns_cert_type()
|
D | x509write_csr.c | 172 MBEDTLS_OID_SIZE(MBEDTLS_OID_SUBJECT_ALT_NAME), in mbedtls_x509write_csr_set_subject_alternative_name() 202 MBEDTLS_OID_SIZE(MBEDTLS_OID_KEY_USAGE), in mbedtls_x509write_csr_set_key_usage() 226 MBEDTLS_OID_SIZE(MBEDTLS_OID_NS_CERT_TYPE), in mbedtls_x509write_csr_set_ns_cert_type() 277 MBEDTLS_OID_SIZE(MBEDTLS_OID_PKCS9_CSR_EXT_REQ))); in x509write_csr_der_internal()
|
D | ssl_tls13_generic.c | 661 ext_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_SERVER_AUTH); in ssl_tls13_validate_certificate() 664 ext_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_CLIENT_AUTH); in ssl_tls13_validate_certificate()
|
D | oid.c | 41 #define ADD_LEN(s) s, MBEDTLS_OID_SIZE(s)
|
D | pkparse.c | 266 if (len != MBEDTLS_OID_SIZE(MBEDTLS_OID_ANSI_X9_62_PRIME_FIELD) || in pk_group_from_specified()
|
D | ssl_tls13_server.c | 1148 MBEDTLS_OID_SIZE(MBEDTLS_OID_SERVER_AUTH)) != 0) { in ssl_tls13_pick_key_cert()
|
D | ssl_tls.c | 5746 ext_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_SERVER_AUTH); in mbedtls_ssl_check_cert_usage() 5749 ext_len = MBEDTLS_OID_SIZE(MBEDTLS_OID_CLIENT_AUTH); in mbedtls_ssl_check_cert_usage()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_x509write.function | 122 MBEDTLS_OID_SIZE(MBEDTLS_OID_EXTENDED_KEY_USAGE), 198 MBEDTLS_OID_SIZE(MBEDTLS_OID_SERVER_AUTH)) == 0); 456 x.len = MBEDTLS_OID_SIZE(oid); \
|
D | test_suite_x509parse.function | 1094 oid.len = MBEDTLS_OID_SIZE(MBEDTLS_OID_PKIX "\x01\x1F");
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-extensions.c | 66 #define ADD_LEN(s) s, MBEDTLS_OID_SIZE(s)
|
/third_party/mbedtls/programs/x509/ |
D | cert_write.c | 54 do { x.len = MBEDTLS_OID_SIZE(oid); x.p = (unsigned char *) oid; } while (0)
|
/third_party/libcoap/src/ |
D | coap_mbedtls.c | 317 MBEDTLS_OID_SIZE(MBEDTLS_OID_AT_CN)); in get_san_or_cn_from_cert()
|