Searched refs:sub_len (Results 1 – 1 of 1) sorted by relevance
/net-tools-latest/mbedtls-2.4.0/library/ |
D | x509write_crt.c | 306 size_t sub_len = 0, pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_crt_der() local 355 sub_len = 0; in mbedtls_x509write_crt_der() 357 MBEDTLS_ASN1_CHK_ADD( sub_len, x509_write_time( &c, tmp_buf, ctx->not_after, in mbedtls_x509write_crt_der() 360 MBEDTLS_ASN1_CHK_ADD( sub_len, x509_write_time( &c, tmp_buf, ctx->not_before, in mbedtls_x509write_crt_der() 363 len += sub_len; in mbedtls_x509write_crt_der() 364 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, sub_len ) ); in mbedtls_x509write_crt_der() 387 sub_len = 0; in mbedtls_x509write_crt_der() 388 MBEDTLS_ASN1_CHK_ADD( sub_len, mbedtls_asn1_write_int( &c, tmp_buf, ctx->version ) ); in mbedtls_x509write_crt_der() 389 len += sub_len; in mbedtls_x509write_crt_der() 390 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, sub_len ) ); in mbedtls_x509write_crt_der()
|