Lines Matching refs:tmp_buf

135     unsigned char tmp_buf[2048];  in mbedtls_x509write_csr_der()  local
143 c = tmp_buf + sizeof( tmp_buf ); in mbedtls_x509write_csr_der()
145 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_x509_write_extensions( &c, tmp_buf, ctx->extensions ) ); in mbedtls_x509write_csr_der()
149 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
150 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( &c, tmp_buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_csr_der()
153 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
154 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( &c, tmp_buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_csr_der()
157 … MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( &c, tmp_buf, MBEDTLS_OID_PKCS9_CSR_EXT_REQ, in mbedtls_x509write_csr_der()
160 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
161 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( &c, tmp_buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_csr_der()
165 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
166 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( &c, tmp_buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_csr_der()
170 tmp_buf, c - tmp_buf ) ); in mbedtls_x509write_csr_der()
177 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_x509_write_names( &c, tmp_buf, ctx->subject ) ); in mbedtls_x509write_csr_der()
182 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_int( &c, tmp_buf, 0 ) ); in mbedtls_x509write_csr_der()
184 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
185 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( &c, tmp_buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_csr_der()