Home
last modified time | relevance | path

Searched refs:MBEDTLS_OID_SIZE (Results 1 – 14 of 14) sorted by relevance

/third_party/mbedtls/include/mbedtls/
Dpsa_util.h178 *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 …]
Dasn1.h126 #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/
Dx509write_crt.c194 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()
Dx509write_csr.c172 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()
Dssl_tls13_generic.c661 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()
Doid.c41 #define ADD_LEN(s) s, MBEDTLS_OID_SIZE(s)
Dpkparse.c266 if (len != MBEDTLS_OID_SIZE(MBEDTLS_OID_ANSI_X9_62_PRIME_FIELD) || in pk_group_from_specified()
Dssl_tls13_server.c1148 MBEDTLS_OID_SIZE(MBEDTLS_OID_SERVER_AUTH)) != 0) { in ssl_tls13_pick_key_cert()
Dssl_tls.c5746 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/
Dtest_suite_x509write.function122 MBEDTLS_OID_SIZE(MBEDTLS_OID_EXTENDED_KEY_USAGE),
198 MBEDTLS_OID_SIZE(MBEDTLS_OID_SERVER_AUTH)) == 0);
456 x.len = MBEDTLS_OID_SIZE(oid); \
Dtest_suite_x509parse.function1094 oid.len = MBEDTLS_OID_SIZE(MBEDTLS_OID_PKIX "\x01\x1F");
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-extensions.c66 #define ADD_LEN(s) s, MBEDTLS_OID_SIZE(s)
/third_party/mbedtls/programs/x509/
Dcert_write.c54 do { x.len = MBEDTLS_OID_SIZE(oid); x.p = (unsigned char *) oid; } while (0)
/third_party/libcoap/src/
Dcoap_mbedtls.c317 MBEDTLS_OID_SIZE(MBEDTLS_OID_AT_CN)); in get_san_or_cn_from_cert()