Lines Matching refs:cur
79 const x509_attr_descriptor_t *cur; in x509_at_oid_from_name() local
81 for( cur = x509_attrs; cur->name != NULL; cur++ ) in x509_at_oid_from_name()
82 if( cur->name_len == name_len && in x509_at_oid_from_name()
83 strncmp( cur->name, name, name_len ) == 0 ) in x509_at_oid_from_name()
86 return( cur->oid ); in x509_at_oid_from_name()
169 mbedtls_asn1_named_data *cur; in mbedtls_x509_set_extension() local
171 if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len, in mbedtls_x509_set_extension()
177 cur->val.p[0] = critical; in mbedtls_x509_set_extension()
178 memcpy( cur->val.p + 1, val, val_len ); in mbedtls_x509_set_extension()
238 mbedtls_asn1_named_data *cur = first; in mbedtls_x509_write_names() local
240 while( cur != NULL ) in mbedtls_x509_write_names()
242 MBEDTLS_ASN1_CHK_ADD( len, x509_write_name( p, start, (char *) cur->oid.p, in mbedtls_x509_write_names()
243 cur->oid.len, in mbedtls_x509_write_names()
244 cur->val.p, cur->val.len ) ); in mbedtls_x509_write_names()
245 cur = cur->next; in mbedtls_x509_write_names()