Home
last modified time | relevance | path

Searched refs:mbedtls_asn1_write_len (Results 1 – 12 of 12) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_asn1write.data53 mbedtls_asn1_write_len:0:"00":1:1
56 mbedtls_asn1_write_len:127:"7F":1:1
59 mbedtls_asn1_write_len:127:"7F":0:MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
62 mbedtls_asn1_write_len:128:"8180":2:2
65 mbedtls_asn1_write_len:255:"81FF":2:2
68 mbedtls_asn1_write_len:255:"81FF":1:MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
71 mbedtls_asn1_write_len:258:"820102":3:3
74 mbedtls_asn1_write_len:65535:"82FFFF":3:3
77 mbedtls_asn1_write_len:65535:"82FFFF":2:MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
80 mbedtls_asn1_write_len:66051:"83010203":4:4
[all …]
Dtest_suite_asn1write.function82 void mbedtls_asn1_write_len( int len, data_t * asn1, int buf_len,
95 ret = mbedtls_asn1_write_len( &p, buf + GUARD_LEN, (size_t) len );
/third_party/mbedtls/library/
Dasn1write.c67 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len ) in mbedtls_asn1_write_len() function
184 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_mpi()
201 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, 0) ); in mbedtls_asn1_write_null()
215 MBEDTLS_ASN1_CHK_ADD( len , mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_oid()
235 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_algorithm_identifier()
253 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_bool()
279 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_int()
294 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_tagged_string()
345 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_bitstring()
359 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_octet_string()
Dx509write_crt.c198 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_basic_constraints()
228 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_subject_key_identifier()
256 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_authority_key_identifier()
260 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_authority_key_identifier()
365 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_time()
374 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_time()
429 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_der()
434 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_der()
473 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, sub_len ) ); in mbedtls_x509write_crt_der()
510 mbedtls_asn1_write_len( &c, buf, sub_len ) ); in mbedtls_x509write_crt_der()
[all …]
Dx509_create.c286 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_name()
291 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_name()
312 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_x509_write_names()
339 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_x509_write_sig()
358 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->val.len - 1 ) ); in x509_write_extension()
368 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->oid.len ) ); in x509_write_extension()
371 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_extension()
Dx509write_csr.c220 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in x509write_csr_der_internal()
226 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in x509write_csr_der_internal()
237 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in x509write_csr_der_internal()
244 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in x509write_csr_der_internal()
266 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in x509write_csr_der_internal()
324 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c2, buf, len ) ); in x509write_csr_der_internal()
Dpkwrite.c125 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in pk_write_rsa_pubkey()
255 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_pubkey_der()
274 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_pubkey_der()
366 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_key_der()
398 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der()
401 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der()
409 MBEDTLS_ASN1_CHK_ADD( par_len, mbedtls_asn1_write_len( &c, buf, par_len ) ); in mbedtls_pk_write_key_der()
420 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_key_der()
Decdsa.c748 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &p, buf, len ) ); in ecdsa_signature_to_asn1()
/third_party/mbedtls/include/mbedtls/
Dasn1write.h85 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start,
Dcompat-1.3.h1787 #define asn1_write_len mbedtls_asn1_write_len
/third_party/mbedtls/scripts/data_files/
Drename-1.3-2.0.txt1338 asn1_write_len mbedtls_asn1_write_len
/third_party/mbedtls/
DChangeLog1738 * Added support for 3 and 4 byte lengths to mbedtls_asn1_write_len().