Lines Matching defs:cur
407 mbedtls_x509_name *cur)
426 oid = &cur->oid;
449 val = &cur->val;
464 cur->next = NULL;
492 * On success, this function may allocate a linked list starting at cur->next
498 mbedtls_x509_name *cur)
503 mbedtls_x509_name *head = cur;
519 if ((ret = x509_get_attr_type_value(p, end_set, cur)) != 0) {
528 cur->next_merged = 1;
530 cur->next = mbedtls_calloc(1, sizeof(mbedtls_x509_name));
532 if (cur->next == NULL) {
537 cur = cur->next;
547 cur->next = mbedtls_calloc(1, sizeof(mbedtls_x509_name));
549 if (cur->next == NULL) {
554 cur = cur->next;
1218 mbedtls_asn1_sequence *cur = subject_alt_name;
1258 if (cur->buf.p != NULL) {
1259 if (cur->next != NULL) {
1263 cur->next = mbedtls_calloc(1, sizeof(mbedtls_asn1_sequence));
1265 if (cur->next == NULL) {
1270 cur = cur->next;
1273 cur->buf = tmp_san_buf;
1278 cur->next = NULL;
1519 const mbedtls_x509_sequence *cur = subject_alt_name;
1523 while (cur != NULL) {
1525 parse_ret = mbedtls_x509_parse_subject_alt_name(&cur->buf, &san);
1534 cur = cur->next;
1695 cur = cur->next;