Lines Matching refs:len
98 size_t len; in mbedtls_x509_csr_parse_der() local
115 p = mbedtls_calloc( 1, len = buflen ); in mbedtls_x509_csr_parse_der()
123 csr->raw.len = len; in mbedtls_x509_csr_parse_der()
124 end = p + len; in mbedtls_x509_csr_parse_der()
133 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_x509_csr_parse_der()
140 if( len != (size_t) ( end - p ) ) in mbedtls_x509_csr_parse_der()
152 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_x509_csr_parse_der()
159 end = p + len; in mbedtls_x509_csr_parse_der()
160 csr->cri.len = end - csr->cri.p; in mbedtls_x509_csr_parse_der()
184 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_x509_csr_parse_der()
191 if( ( ret = mbedtls_x509_get_name( &p, p + len, &csr->subject ) ) != 0 ) in mbedtls_x509_csr_parse_der()
197 csr->subject_raw.len = p - csr->subject_raw.p; in mbedtls_x509_csr_parse_der()
218 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_x509_csr_parse_der()
225 p += len; in mbedtls_x509_csr_parse_der()
227 end = csr->raw.p + csr->raw.len; in mbedtls_x509_csr_parse_der()
416 mbedtls_zeroize( csr->raw.p, csr->raw.len ); in mbedtls_x509_csr_free()