Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/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.function87 void mbedtls_asn1_write_len( int len, char *check_str, int buf_len,
102 ret = mbedtls_asn1_write_len( &p, buf + GUARD_LEN, (size_t) len );
/net-tools-latest/mbedtls-2.4.0/library/
Dasn1write.c42 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len ) in mbedtls_asn1_write_len() function
155 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_mpi()
172 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, 0) ); in mbedtls_asn1_write_null()
186 MBEDTLS_ASN1_CHK_ADD( len , mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_oid()
206 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_algorithm_identifier()
224 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_bool()
254 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_int()
269 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_printable_string()
284 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_ia5_string()
311 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_asn1_write_bitstring()
[all …]
Dx509write_crt.c160 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_basic_constraints()
184 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_subject_key_identifier()
206 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_authority_key_identifier()
209 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_authority_key_identifier()
280 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_time()
288 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_time()
330 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_crt_der()
333 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, 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()
390 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, sub_len ) ); in mbedtls_x509write_crt_der()
[all …]
Dpkwrite.c73 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in pk_write_rsa_pubkey()
173 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_pubkey_der()
192 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_pubkey_der()
220 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); 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()
254 MBEDTLS_ASN1_CHK_ADD( pub_len, mbedtls_asn1_write_len( &c, buf, pub_len ) ); in mbedtls_pk_write_key_der()
262 MBEDTLS_ASN1_CHK_ADD( par_len, mbedtls_asn1_write_len( &c, buf, par_len ) ); in mbedtls_pk_write_key_der()
274 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_key_der()
Dx509write_csr.c153 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
157 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
164 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
169 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
188 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
223 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c2, buf, len ) ); in mbedtls_x509write_csr_der()
Dx509_create.c222 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_name()
226 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_name()
248 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_x509_write_names()
275 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_x509_write_sig()
294 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->val.len - 1 ) ); in x509_write_extension()
304 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->oid.len ) ); in x509_write_extension()
307 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_extension()
Decdsa.c295 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &p, buf, len ) ); in ecdsa_signature_to_asn1()
/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dasn1write.h45 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len );
Dcompat-1.3.h1794 #define asn1_write_len mbedtls_asn1_write_len
/net-tools-latest/mbedtls-2.4.0/scripts/data_files/
Drename-1.3-2.0.txt1338 asn1_write_len mbedtls_asn1_write_len
/net-tools-latest/mbedtls-2.4.0/
DChangeLog72 * Added support for 3 and 4 byte lengths to mbedtls_asn1_write_len().