Home
last modified time | relevance | path

Searched refs:pub_len (Results 1 – 3 of 3) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
A Dpkwrite.c409 size_t pub_len = 0, par_len = 0; in mbedtls_pk_write_key_der() local
423 MBEDTLS_ASN1_CHK_ADD( pub_len, pk_write_ec_pubkey( &c, buf, ec ) ); in mbedtls_pk_write_key_der()
428 pub_len += 1; in mbedtls_pk_write_key_der()
430 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der()
431 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_tag( &c, buf, MBEDTLS_ASN1_BIT_STRING ) ); in mbedtls_pk_write_key_der()
433 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der()
434 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_tag( &c, buf, in mbedtls_pk_write_key_der()
436 len += pub_len; in mbedtls_pk_write_key_der()
A Dx509write_csr.c147 size_t pub_len = 0, sig_and_oid_len = 0, sig_len; in x509write_csr_der_internal() local
194 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_pk_write_pubkey_der( ctx->key, in x509write_csr_der_internal()
196 c -= pub_len; in x509write_csr_der_internal()
197 len += pub_len; in x509write_csr_der_internal()
A Dx509write_crt.c336 size_t sub_len = 0, pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_crt_der() local
387 MBEDTLS_ASN1_CHK_ADD( pub_len, in mbedtls_x509write_crt_der()
390 c -= pub_len; in mbedtls_x509write_crt_der()
391 len += pub_len; in mbedtls_x509write_crt_der()

Completed in 8 milliseconds