Searched refs:pub_len (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/mbedtls/library/ |
A D | pkwrite.c | 330 size_t pub_len = 0, par_len = 0; in mbedtls_pk_write_key_der() local 344 MBEDTLS_ASN1_CHK_ADD( pub_len, pk_write_ec_pubkey( &c, buf, ec ) ); in mbedtls_pk_write_key_der() 349 pub_len += 1; in mbedtls_pk_write_key_der() 351 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der() 352 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_tag( &c, buf, MBEDTLS_ASN1_BIT_STRING ) ); in mbedtls_pk_write_key_der() 354 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der() 355 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_tag( &c, buf, in mbedtls_pk_write_key_der() 357 len += pub_len; in mbedtls_pk_write_key_der()
|
A D | x509write_csr.c | 136 size_t pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_csr_der() local 169 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_pk_write_pubkey_der( ctx->key, in mbedtls_x509write_csr_der() 171 c -= pub_len; in mbedtls_x509write_csr_der() 172 len += pub_len; in mbedtls_x509write_csr_der()
|
A D | x509write_crt.c | 308 size_t sub_len = 0, pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_crt_der() local 353 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_pk_write_pubkey_der( ctx->subject_key, in mbedtls_x509write_crt_der() 355 c -= pub_len; in mbedtls_x509write_crt_der() 356 len += pub_len; in mbedtls_x509write_crt_der()
|
Completed in 6 milliseconds