Lines Matching refs:cur
243 mbedtls_asn1_sequence *cur, in mbedtls_asn1_get_sequence_of() argument
260 buf = &(cur->buf); in mbedtls_asn1_get_sequence_of()
272 cur->next = (mbedtls_asn1_sequence*)mbedtls_calloc( 1, in mbedtls_asn1_get_sequence_of()
275 if( cur->next == NULL ) in mbedtls_asn1_get_sequence_of()
278 cur = cur->next; in mbedtls_asn1_get_sequence_of()
283 cur->next = NULL; in mbedtls_asn1_get_sequence_of()
353 void mbedtls_asn1_free_named_data( mbedtls_asn1_named_data *cur ) in mbedtls_asn1_free_named_data() argument
355 if( cur == NULL ) in mbedtls_asn1_free_named_data()
358 mbedtls_free( cur->oid.p ); in mbedtls_asn1_free_named_data()
359 mbedtls_free( cur->val.p ); in mbedtls_asn1_free_named_data()
361 mbedtls_zeroize( cur, sizeof( mbedtls_asn1_named_data ) ); in mbedtls_asn1_free_named_data()
366 mbedtls_asn1_named_data *cur; in mbedtls_asn1_free_named_data_list() local
368 while( ( cur = *head ) != NULL ) in mbedtls_asn1_free_named_data_list()
370 *head = cur->next; in mbedtls_asn1_free_named_data_list()
371 mbedtls_asn1_free_named_data( cur ); in mbedtls_asn1_free_named_data_list()
372 mbedtls_free( cur ); in mbedtls_asn1_free_named_data_list()