Home
last modified time | relevance | path

Searched refs:oid_buf (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/include/mbedtls/
Dasn1.h134 #define MBEDTLS_OID_CMP(oid_str, oid_buf) \ argument
135 ((MBEDTLS_OID_SIZE(oid_str) != (oid_buf)->len) || \
136 memcmp((oid_str), (oid_buf)->p, (oid_buf)->len) != 0)
138 #define MBEDTLS_OID_CMP_RAW(oid_str, oid_buf, oid_buf_len) \ argument
140 memcmp((oid_str), (oid_buf), (oid_buf_len)) != 0)
/third_party/node/deps/openssl/openssl/apps/
Dlist.c934 char *oid_buf = NULL; in list_objects() local
962 oid_buf = OPENSSL_realloc(oid_buf, n + 1); in list_objects()
963 if (oid_buf == NULL) { in list_objects()
969 if (OBJ_obj2txt(oid_buf, oid_size, obj, 1) < 0) in list_objects()
972 BIO_printf(bio_out, "%s = %s\n", sn, oid_buf); in list_objects()
974 BIO_printf(bio_out, "%s = %s, %s\n", sn, ln, oid_buf); in list_objects()
977 OPENSSL_free(oid_buf); in list_objects()
/third_party/openssl/apps/
Dlist.c934 char *oid_buf = NULL; in list_objects() local
962 oid_buf = OPENSSL_realloc(oid_buf, n + 1); in list_objects()
963 if (oid_buf == NULL) { in list_objects()
969 if (OBJ_obj2txt(oid_buf, oid_size, obj, 1) < 0) in list_objects()
972 BIO_printf(bio_out, "%s = %s\n", sn, oid_buf); in list_objects()
974 BIO_printf(bio_out, "%s = %s, %s\n", sn, ln, oid_buf); in list_objects()
977 OPENSSL_free(oid_buf); in list_objects()
/third_party/mbedtls/tests/suites/
Dtest_suite_x509parse.function1346 void x509_oid_numstr(data_t *oid_buf, char *numstr, int blen, int ret)
1354 oid.p = oid_buf->x;
1355 oid.len = oid_buf->len;