Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 144) sorted by relevance

123456

/mbedtls-3.4.0/library/
Dasn1parse.c39 int mbedtls_asn1_get_len( unsigned char **p, in mbedtls_asn1_get_len() argument
43 if( ( end - *p ) < 1 ) in mbedtls_asn1_get_len()
46 if( ( **p & 0x80 ) == 0 ) in mbedtls_asn1_get_len()
47 *len = *(*p)++; in mbedtls_asn1_get_len()
50 switch( **p & 0x7F ) in mbedtls_asn1_get_len()
53 if( ( end - *p ) < 2 ) in mbedtls_asn1_get_len()
56 *len = (*p)[1]; in mbedtls_asn1_get_len()
57 (*p) += 2; in mbedtls_asn1_get_len()
61 if( ( end - *p ) < 3 ) in mbedtls_asn1_get_len()
64 *len = ( (size_t)(*p)[1] << 8 ) | (*p)[2]; in mbedtls_asn1_get_len()
[all …]
Dasn1write.c31 int mbedtls_asn1_write_len( unsigned char **p, const unsigned char *start, size_t len ) in mbedtls_asn1_write_len() argument
35 if( *p - start < 1 ) in mbedtls_asn1_write_len()
38 *--(*p) = (unsigned char) len; in mbedtls_asn1_write_len()
44 if( *p - start < 2 ) in mbedtls_asn1_write_len()
47 *--(*p) = (unsigned char) len; in mbedtls_asn1_write_len()
48 *--(*p) = 0x81; in mbedtls_asn1_write_len()
54 if( *p - start < 3 ) in mbedtls_asn1_write_len()
57 *--(*p) = MBEDTLS_BYTE_0( len ); in mbedtls_asn1_write_len()
58 *--(*p) = MBEDTLS_BYTE_1( len ); in mbedtls_asn1_write_len()
59 *--(*p) = 0x82; in mbedtls_asn1_write_len()
[all …]
Dx509.c71 int mbedtls_x509_get_serial( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_serial() argument
76 if( ( end - *p ) < 1 ) in mbedtls_x509_get_serial()
80 if( **p != ( MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_PRIMITIVE | 2 ) && in mbedtls_x509_get_serial()
81 **p != MBEDTLS_ASN1_INTEGER ) in mbedtls_x509_get_serial()
85 serial->tag = *(*p)++; in mbedtls_x509_get_serial()
87 if( ( ret = mbedtls_asn1_get_len( p, end, &serial->len ) ) != 0 ) in mbedtls_x509_get_serial()
90 serial->p = *p; in mbedtls_x509_get_serial()
91 *p += serial->len; in mbedtls_x509_get_serial()
102 int mbedtls_x509_get_alg_null( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg_null() argument
107 if( ( ret = mbedtls_asn1_get_alg_null( p, end, alg ) ) != 0 ) in mbedtls_x509_get_alg_null()
[all …]
Dx509_crl.c62 static int x509_crl_get_version( unsigned char **p, in x509_crl_get_version() argument
68 if( ( ret = mbedtls_asn1_get_int( p, end, ver ) ) != 0 ) in x509_crl_get_version()
89 static int x509_get_crl_ext( unsigned char **p, in x509_get_crl_ext() argument
95 if( *p == end ) in x509_get_crl_ext()
102 if( ( ret = mbedtls_x509_get_ext( p, end, ext, 0 ) ) != 0 ) in x509_get_crl_ext()
105 end = ext->p + ext->len; in x509_get_crl_ext()
107 while( *p < end ) in x509_get_crl_ext()
120 if( ( ret = mbedtls_asn1_get_tag( p, end, &len, in x509_get_crl_ext()
124 end_ext_data = *p + len; in x509_get_crl_ext()
127 if( ( ret = mbedtls_asn1_get_tag( p, end_ext_data, &len, in x509_get_crl_ext()
[all …]
Dssl_tls13_client.c52 unsigned char *p = buf; in ssl_tls13_write_supported_versions_ext() local
66 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 5 + versions_len ); in ssl_tls13_write_supported_versions_ext()
68 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SUPPORTED_VERSIONS, p, 0 ); in ssl_tls13_write_supported_versions_ext()
69 MBEDTLS_PUT_UINT16_BE( versions_len + 1, p, 2 ); in ssl_tls13_write_supported_versions_ext()
70 p += 4; in ssl_tls13_write_supported_versions_ext()
73 *p++ = versions_len; in ssl_tls13_write_supported_versions_ext()
79 mbedtls_ssl_write_version( p, MBEDTLS_SSL_TRANSPORT_STREAM, in ssl_tls13_write_supported_versions_ext()
86 mbedtls_ssl_write_version( p + 2, MBEDTLS_SSL_TRANSPORT_STREAM, in ssl_tls13_write_supported_versions_ext()
133 const unsigned char *p = buf; in ssl_tls13_parse_alpn_ext() local
152 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, 2 ); in ssl_tls13_parse_alpn_ext()
[all …]
Dssl_client.c49 unsigned char *p = buf; in ssl_write_hostname_ext() local
63 MBEDTLS_SSL_CHK_BUF_PTR( p, end, hostname_len + 9 ); in ssl_write_hostname_ext()
91 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_SERVERNAME, p, 0 ); in ssl_write_hostname_ext()
92 p += 2; in ssl_write_hostname_ext()
94 MBEDTLS_PUT_UINT16_BE( hostname_len + 5, p, 0 ); in ssl_write_hostname_ext()
95 p += 2; in ssl_write_hostname_ext()
97 MBEDTLS_PUT_UINT16_BE( hostname_len + 3, p, 0 ); in ssl_write_hostname_ext()
98 p += 2; in ssl_write_hostname_ext()
100 *p++ = MBEDTLS_BYTE_0( MBEDTLS_TLS_EXT_SERVERNAME_HOSTNAME ); in ssl_write_hostname_ext()
102 MBEDTLS_PUT_UINT16_BE( hostname_len, p, 0 ); in ssl_write_hostname_ext()
[all …]
Dpkcs7.c55 static int pkcs7_get_next_content_len( unsigned char **p, unsigned char *end, in pkcs7_get_next_content_len() argument
60 ret = mbedtls_asn1_get_tag( p, end, len, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_next_content_len()
74 static int pkcs7_get_version( unsigned char **p, unsigned char *end, int *ver ) in pkcs7_get_version() argument
78 ret = mbedtls_asn1_get_int( p, end, ver ); in pkcs7_get_version()
95 static int pkcs7_get_content_info_type( unsigned char **p, unsigned char *end, in pkcs7_get_content_info_type() argument
100 unsigned char *start = *p; in pkcs7_get_content_info_type()
102 ret = mbedtls_asn1_get_tag( p, end, &len, MBEDTLS_ASN1_CONSTRUCTED in pkcs7_get_content_info_type()
105 *p = start; in pkcs7_get_content_info_type()
109 ret = mbedtls_asn1_get_tag( p, end, &len, MBEDTLS_ASN1_OID ); in pkcs7_get_content_info_type()
111 *p = start; in pkcs7_get_content_info_type()
[all …]
Dpkparse.c165 static int pk_get_ecparams( unsigned char **p, const unsigned char *end, in pk_get_ecparams() argument
170 if ( end - *p < 1 ) in pk_get_ecparams()
175 params->tag = **p; in pk_get_ecparams()
186 if( ( ret = mbedtls_asn1_get_tag( p, end, &params->len, params->tag ) ) != 0 ) in pk_get_ecparams()
191 params->p = *p; in pk_get_ecparams()
192 *p += params->len; in pk_get_ecparams()
194 if( *p != end ) in pk_get_ecparams()
224 unsigned char *p = params->p; in pk_group_from_specified() local
225 const unsigned char * const end = params->p + params->len; in pk_group_from_specified()
231 if( ( ret = mbedtls_asn1_get_int( &p, end, &ver ) ) != 0 ) in pk_group_from_specified()
[all …]
Dx509_csr.c54 static int x509_csr_get_version( unsigned char **p, in x509_csr_get_version() argument
60 if( ( ret = mbedtls_asn1_get_int( p, end, ver ) ) != 0 ) in x509_csr_get_version()
82 unsigned char *p, *end; in mbedtls_x509_csr_parse_der() local
98 p = mbedtls_calloc( 1, len = buflen ); in mbedtls_x509_csr_parse_der()
100 if( p == NULL ) in mbedtls_x509_csr_parse_der()
103 memcpy( p, buf, buflen ); in mbedtls_x509_csr_parse_der()
105 csr->raw.p = p; in mbedtls_x509_csr_parse_der()
107 end = p + len; in mbedtls_x509_csr_parse_der()
116 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_x509_csr_parse_der()
123 if( len != (size_t) ( end - p ) ) in mbedtls_x509_csr_parse_der()
[all …]
Dx509_crt.c285 if( name->len < 3 || name->p[0] != '*' || name->p[1] != '.' ) in x509_check_wildcard()
301 x509_memcasecmp( name->p + 1, cn + cn_idx, name->len - 1 ) == 0 ) in x509_check_wildcard()
319 memcmp( a->p, b->p, b->len ) == 0 ) in x509_string_cmp()
327 x509_memcasecmp( a->p, b->p, b->len ) == 0 ) in x509_string_cmp()
356 memcmp( a->oid.p, b->oid.p, b->oid.len ) != 0 ) in x509_name_cmp()
401 static int x509_get_version( unsigned char **p, in x509_get_version() argument
408 if( ( ret = mbedtls_asn1_get_tag( p, end, &len, in x509_get_version()
420 end = *p + len; in x509_get_version()
422 if( ( ret = mbedtls_asn1_get_int( p, end, ver ) ) != 0 ) in x509_get_version()
425 if( *p != end ) in x509_get_version()
[all …]
Dssl_tls13_server.c75 const unsigned char *p = buf; in ssl_tls13_parse_key_exchange_modes_ext() local
80 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, 1 ); in ssl_tls13_parse_key_exchange_modes_ext()
81 ke_modes_len = *p++; in ssl_tls13_parse_key_exchange_modes_ext()
91 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, ke_modes_len ); in ssl_tls13_parse_key_exchange_modes_ext()
95 switch( *p++ ) in ssl_tls13_parse_key_exchange_modes_ext()
383 for ( const unsigned char *p = cipher_suites; in ssl_tls13_select_ciphersuite_for_psk() local
384 p < cipher_suites_end; p += 2 ) in ssl_tls13_select_ciphersuite_for_psk()
389 cipher_suite = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_select_ciphersuite_for_psk()
422 for( const unsigned char *p = cipher_suites; p < cipher_suites_end; p += 2 ) in ssl_tls13_select_ciphersuite_for_resumption() local
424 uint16_t cipher_suite = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_select_ciphersuite_for_resumption()
[all …]
Dx509_create.c219 cur->val.p[0] = critical; in mbedtls_x509_set_extension()
220 memcpy( cur->val.p + 1, val, val_len ); in mbedtls_x509_set_extension()
237 static int x509_write_name( unsigned char **p, unsigned char *start, mbedtls_asn1_named_data* cur_n… in x509_write_name() argument
241 const char *oid = (const char*)cur_name->oid.p; in x509_write_name()
243 const unsigned char *name = cur_name->val.p; in x509_write_name()
247 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tagged_string( p, start, in x509_write_name()
253 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, in x509_write_name()
256 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_name()
257 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, in x509_write_name()
261 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_name()
[all …]
Dbignum.c74 X->p = NULL; in mbedtls_mpi_init()
85 if( X->p != NULL ) in mbedtls_mpi_free()
87 mbedtls_mpi_zeroize( X->p, X->n ); in mbedtls_mpi_free()
88 mbedtls_free( X->p ); in mbedtls_mpi_free()
93 X->p = NULL; in mbedtls_mpi_free()
101 mbedtls_mpi_uint *p; in mbedtls_mpi_grow() local
109 if( ( p = (mbedtls_mpi_uint*)mbedtls_calloc( nblimbs, ciL ) ) == NULL ) in mbedtls_mpi_grow()
112 if( X->p != NULL ) in mbedtls_mpi_grow()
114 memcpy( p, X->p, X->n * ciL ); in mbedtls_mpi_grow()
115 mbedtls_mpi_zeroize( X->p, X->n ); in mbedtls_mpi_grow()
[all …]
Dssl_tls12_server.c182 const unsigned char *p; in ssl_parse_supported_groups_ext() local
225 p = buf + 2; in ssl_parse_supported_groups_ext()
228 curve_info = mbedtls_ecp_curve_info_from_tls_id( ( p[0] << 8 ) | p[1] ); in ssl_parse_supported_groups_ext()
237 p += 2; in ssl_parse_supported_groups_ext()
249 const unsigned char *p; in ssl_parse_supported_point_formats() local
260 p = buf + 1; in ssl_parse_supported_point_formats()
263 if( p[0] == MBEDTLS_ECP_PF_UNCOMPRESSED || in ssl_parse_supported_point_formats()
264 p[0] == MBEDTLS_ECP_PF_COMPRESSED ) in ssl_parse_supported_point_formats()
268 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats()
274 p[0] ); in ssl_parse_supported_point_formats()
[all …]
Decjpake.c180 ctx->s.p == NULL ) in mbedtls_ecjpake_check()
191 static int ecjpake_write_len_point( unsigned char **p, in ecjpake_write_len_point() argument
201 if( end < *p || end - *p < 5 ) in ecjpake_write_len_point()
205 &len, *p + 4, end - ( *p + 4 ) ); in ecjpake_write_len_point()
209 MBEDTLS_PUT_UINT32_BE( len, *p, 0 ); in ecjpake_write_len_point()
211 *p += 4 + len; in ecjpake_write_len_point()
236 unsigned char *p = buf; in ecjpake_hash() local
242 MBEDTLS_MPI_CHK( ecjpake_write_len_point( &p, end, grp, pf, G ) ); in ecjpake_hash()
243 MBEDTLS_MPI_CHK( ecjpake_write_len_point( &p, end, grp, pf, V ) ); in ecjpake_hash()
244 MBEDTLS_MPI_CHK( ecjpake_write_len_point( &p, end, grp, pf, X ) ); in ecjpake_hash()
[all …]
Dssl_tls12_client.c59 unsigned char *p = buf; in ssl_write_renegotiation_ext() local
72 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 5 + ssl->verify_data_len ); in ssl_write_renegotiation_ext()
77 MBEDTLS_PUT_UINT16_BE( MBEDTLS_TLS_EXT_RENEGOTIATION_INFO, p, 0 ); in ssl_write_renegotiation_ext()
78 p += 2; in ssl_write_renegotiation_ext()
80 *p++ = 0x00; in ssl_write_renegotiation_ext()
81 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len + 1 ); in ssl_write_renegotiation_ext()
82 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len ); in ssl_write_renegotiation_ext()
84 memcpy( p, ssl->own_verify_data, ssl->verify_data_len ); in ssl_write_renegotiation_ext()
101 unsigned char *p = buf; in ssl_write_supported_point_formats_ext() local
108 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 6 ); in ssl_write_supported_point_formats_ext()
[all …]
Dbignum_mod.c39 mbedtls_mpi_uint *p, in mbedtls_mpi_mod_residue_setup() argument
42 if( p_limbs != m->limbs || !mbedtls_mpi_core_lt_ct( p, m->p, m->limbs ) ) in mbedtls_mpi_mod_residue_setup()
46 r->p = p; in mbedtls_mpi_mod_residue_setup()
57 r->p = NULL; in mbedtls_mpi_mod_residue_release()
65 m->p = NULL; in mbedtls_mpi_mod_modulus_init()
95 m->p = NULL; in mbedtls_mpi_mod_modulus_free()
119 memcpy( N.p, A, sizeof(mbedtls_mpi_uint) * limbs ); in set_mont_const_square()
125 *X = RR.p; in set_mont_const_square()
126 RR.p = NULL; in set_mont_const_square()
137 const mbedtls_mpi_uint *p, in mbedtls_mpi_mod_modulus_setup() argument
[all …]
Dssl_tls13_generic.c169 const unsigned char *p = buf; in ssl_tls13_parse_certificate_verify() local
189 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, 2 ); in ssl_tls13_parse_certificate_verify()
190 algorithm = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_certificate_verify()
191 p += 2; in ssl_tls13_parse_certificate_verify()
240 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, 2 ); in ssl_tls13_parse_certificate_verify()
241 signature_len = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_certificate_verify()
242 p += 2; in ssl_tls13_parse_certificate_verify()
243 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, signature_len ); in ssl_tls13_parse_certificate_verify()
271 p, signature_len ) ) == 0 ) in ssl_tls13_parse_certificate_verify()
399 const unsigned char *p = buf; in mbedtls_ssl_tls13_parse_certificate() local
[all …]
Dbase64.c44 unsigned char *p; in mbedtls_base64_encode() local
70 for( i = 0, p = dst; i < n; i += 3 ) in mbedtls_base64_encode()
76 *p++ = mbedtls_ct_base64_enc_char( ( C1 >> 2 ) & 0x3F ); in mbedtls_base64_encode()
77 *p++ = mbedtls_ct_base64_enc_char( ( ( ( C1 & 3 ) << 4 ) + ( C2 >> 4 ) ) in mbedtls_base64_encode()
79 *p++ = mbedtls_ct_base64_enc_char( ( ( ( C2 & 15 ) << 2 ) + ( C3 >> 6 ) ) in mbedtls_base64_encode()
81 *p++ = mbedtls_ct_base64_enc_char( C3 & 0x3F ); in mbedtls_base64_encode()
89 *p++ = mbedtls_ct_base64_enc_char( ( C1 >> 2 ) & 0x3F ); in mbedtls_base64_encode()
90 *p++ = mbedtls_ct_base64_enc_char( ( ( ( C1 & 3 ) << 4 ) + ( C2 >> 4 ) ) in mbedtls_base64_encode()
94 *p++ = mbedtls_ct_base64_enc_char( ( ( C2 & 15 ) << 2 ) & 0x3F ); in mbedtls_base64_encode()
95 else *p++ = '='; in mbedtls_base64_encode()
[all …]
Dssl_tls.c259 if( ( ret = mbedtls_x509_crt_parse_der( dst->peer_cert, src->peer_cert->raw.p, in mbedtls_ssl_session_copy()
1101 uint16_t *p; in ssl_handshake_init() local
1132 p = (uint16_t *)ssl->handshake->sig_algs; in ssl_handshake_init()
1139 *p = (( hash << 8 ) | MBEDTLS_SSL_SIG_ECDSA); in ssl_handshake_init()
1140 p++; in ssl_handshake_init()
1143 *p = (( hash << 8 ) | MBEDTLS_SSL_SIG_RSA); in ssl_handshake_init()
1144 p++; in ssl_handshake_init()
1147 *p = MBEDTLS_TLS_SIG_NONE; in ssl_handshake_init()
1164 unsigned char **p, unsigned char *end, in ssl_cookie_write_dummy() argument
1168 ((void) p); in ssl_cookie_write_dummy()
[all …]
/mbedtls-3.4.0/programs/test/
Dudp_proxy.c192 char *p, *q; in get_options() local
208 p = argv[i]; in get_options()
209 if( ( q = strchr( p, '=' ) ) == NULL ) in get_options()
210 exit_usage( p, NULL ); in get_options()
213 if( strcmp( p, "server_addr" ) == 0 ) in get_options()
215 else if( strcmp( p, "server_port" ) == 0 ) in get_options()
217 else if( strcmp( p, "listen_addr" ) == 0 ) in get_options()
219 else if( strcmp( p, "listen_port" ) == 0 ) in get_options()
221 else if( strcmp( p, "duplicate" ) == 0 ) in get_options()
225 exit_usage( p, q ); in get_options()
[all …]
/mbedtls-3.4.0/include/mbedtls/
Dasn1write.h54 int mbedtls_asn1_write_len( unsigned char **p, const unsigned char *start,
68 int mbedtls_asn1_write_tag( unsigned char **p, const unsigned char *start,
84 int mbedtls_asn1_write_raw_buffer( unsigned char **p, const unsigned char *start,
102 int mbedtls_asn1_write_mpi( unsigned char **p, const unsigned char *start,
118 int mbedtls_asn1_write_null( unsigned char **p, const unsigned char *start );
134 int mbedtls_asn1_write_oid( unsigned char **p, const unsigned char *start,
152 int mbedtls_asn1_write_algorithm_identifier( unsigned char **p,
170 int mbedtls_asn1_write_bool( unsigned char **p, const unsigned char *start,
187 int mbedtls_asn1_write_int( unsigned char **p, const unsigned char *start, int val );
202 int mbedtls_asn1_write_enum( unsigned char **p, const unsigned char *start, int val );
[all …]
Dasn1.h136 memcmp( (oid_str), (oid_buf)->p, (oid_buf)->len) != 0 )
158 unsigned char *p; /**< ASN1 data, e.g. in ASCII. */ member
169 unsigned char *p; /**< Raw ASN1 data for the bit string */ member
235 int mbedtls_asn1_get_len( unsigned char **p,
260 int mbedtls_asn1_get_tag( unsigned char **p,
279 int mbedtls_asn1_get_bool( unsigned char **p,
300 int mbedtls_asn1_get_int( unsigned char **p,
321 int mbedtls_asn1_get_enum( unsigned char **p,
342 int mbedtls_asn1_get_bitstring( unsigned char **p, const unsigned char *end,
363 int mbedtls_asn1_get_bitstring_null( unsigned char **p,
[all …]
/mbedtls-3.4.0/tests/suites/
Dtest_suite_asn1parse.function19 static int nested_parse( unsigned char **const p,
25 unsigned char *const start = *p;
39 TEST_EQUAL( mbedtls_asn1_get_tag( p, end, &len2, tag ^ 1 ),
41 *p = start;
42 TEST_EQUAL( mbedtls_asn1_get_tag( p, end, &len2, tag ), 0 );
44 TEST_ASSERT( *p == content_start );
45 *p = content_start;
52 *p = start;
53 ret = mbedtls_asn1_get_bool( p, end, &val );
64 *p = start;
[all …]
/mbedtls-3.4.0/tests/src/
Dasn1_helpers.c30 int mbedtls_test_asn1_skip_integer( unsigned char **p, const unsigned char *end, in mbedtls_test_asn1_skip_integer() argument
37 TEST_EQUAL( mbedtls_asn1_get_tag( p, end, &len, in mbedtls_test_asn1_skip_integer()
43 TEST_ASSERT( len <= (size_t)( end - *p) ); in mbedtls_test_asn1_skip_integer()
48 if( ( len == 1 && ( *p )[0] == 0 ) || in mbedtls_test_asn1_skip_integer()
49 ( len > 1 && ( *p )[0] == 0 && ( ( *p )[1] & 0x80 ) != 0 ) ) in mbedtls_test_asn1_skip_integer()
51 ++( *p ); in mbedtls_test_asn1_skip_integer()
56 msb = ( *p )[0]; in mbedtls_test_asn1_skip_integer()
67 TEST_ASSERT( ( ( *p )[len-1] & 1 ) != 0 ); in mbedtls_test_asn1_skip_integer()
68 *p += len; in mbedtls_test_asn1_skip_integer()

123456