Searched refs:pub_len (Results 1 – 3 of 3) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | pkwrite.c | 230 size_t pub_len = 0, par_len = 0; in mbedtls_pk_write_key_der() local 244 MBEDTLS_ASN1_CHK_ADD( pub_len, pk_write_ec_pubkey( &c, buf, ec ) ); in mbedtls_pk_write_key_der() 249 pub_len += 1; in mbedtls_pk_write_key_der() 251 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der() 252 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_tag( &c, buf, MBEDTLS_ASN1_BIT_STRING ) ); in mbedtls_pk_write_key_der() 254 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der() 255 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_tag( &c, buf, in mbedtls_pk_write_key_der() 257 len += pub_len; in mbedtls_pk_write_key_der()
|
D | x509write_csr.c | 140 size_t pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_csr_der() local 173 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_pk_write_pubkey_der( ctx->key, in mbedtls_x509write_csr_der() 175 c -= pub_len; in mbedtls_x509write_csr_der() 176 len += pub_len; in mbedtls_x509write_csr_der()
|
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 340 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_pk_write_pubkey_der( ctx->subject_key, in mbedtls_x509write_crt_der() 342 c -= pub_len; in mbedtls_x509write_crt_der() 343 len += pub_len; in mbedtls_x509write_crt_der()
|