Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 103) sorted by relevance

12345

/net-tools-3.4.0/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()
102 int mbedtls_asn1_write_tag( unsigned char **p, unsigned char *start, unsigned char tag ) in mbedtls_asn1_write_tag()
112 int mbedtls_asn1_write_raw_buffer( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_raw_buffer()
128 int mbedtls_asn1_write_mpi( unsigned char **p, unsigned char *start, const mbedtls_mpi *X ) in mbedtls_asn1_write_mpi()
165 int mbedtls_asn1_write_null( unsigned char **p, unsigned char *start ) in mbedtls_asn1_write_null()
178 int mbedtls_asn1_write_oid( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_oid()
192 int mbedtls_asn1_write_algorithm_identifier( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_algorithm_identifier()
213 int mbedtls_asn1_write_bool( unsigned char **p, unsigned char *start, int boolean ) in mbedtls_asn1_write_bool()
230 int mbedtls_asn1_write_int( unsigned char **p, unsigned char *start, int val ) in mbedtls_asn1_write_int()
260 int mbedtls_asn1_write_printable_string( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_printable_string()
[all …]
Dasn1parse.c48 volatile unsigned char *p = (unsigned char*)v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
54 int mbedtls_asn1_get_len( unsigned char **p, in mbedtls_asn1_get_len()
112 int mbedtls_asn1_get_tag( unsigned char **p, in mbedtls_asn1_get_tag()
127 int mbedtls_asn1_get_bool( unsigned char **p, in mbedtls_asn1_get_bool()
146 int mbedtls_asn1_get_int( unsigned char **p, in mbedtls_asn1_get_int()
171 int mbedtls_asn1_get_mpi( unsigned char **p, in mbedtls_asn1_get_mpi()
189 int mbedtls_asn1_get_bitstring( unsigned char **p, const unsigned char *end, in mbedtls_asn1_get_bitstring()
222 int mbedtls_asn1_get_bitstring_null( unsigned char **p, const unsigned char *end, in mbedtls_asn1_get_bitstring_null()
241 int mbedtls_asn1_get_sequence_of( unsigned char **p, in mbedtls_asn1_get_sequence_of()
291 int mbedtls_asn1_get_alg( unsigned char **p, in mbedtls_asn1_get_alg()
[all …]
Dssl_cli.c53 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
62 unsigned char *p = buf; in ssl_write_hostname_ext() local
124 unsigned char *p = buf; in ssl_write_renegotiation_ext() local
165 unsigned char *p = buf; in ssl_write_signature_algorithms_ext() local
250 unsigned char *p = buf; local
321 unsigned char *p = buf; local
354 unsigned char *p = buf; local
431 unsigned char *p = buf; local
464 unsigned char *p = buf; local
496 unsigned char *p = buf; local
[all …]
Dx509.c88 int mbedtls_x509_get_serial( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_serial()
119 int mbedtls_x509_get_alg_null( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg_null()
133 int mbedtls_x509_get_alg( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg()
157 unsigned char *p; in x509_get_hash_alg() local
218 unsigned char *p; in mbedtls_x509_get_rsassa_pss_params() local
356 static int x509_get_attr_type_value( unsigned char **p, in x509_get_attr_type_value()
430 int mbedtls_x509_get_name( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_name()
483 static int x509_parse_int(unsigned char **p, unsigned n, int *res){ in x509_parse_int()
525 int mbedtls_x509_get_time( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_time()
590 int mbedtls_x509_get_sig( unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig ) in mbedtls_x509_get_sig()
[all …]
Dpkparse.c66 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
173 static int pk_get_ecparams( unsigned char **p, const unsigned char *end, in pk_get_ecparams()
228 unsigned char *p = params->p; in pk_group_from_specified() local
481 static int pk_get_ecpubkey( unsigned char **p, const unsigned char *end, in pk_get_ecpubkey()
508 static int pk_get_rsapubkey( unsigned char **p, in pk_get_rsapubkey()
546 static int pk_get_pk_alg( unsigned char **p, in pk_get_pk_alg()
579 int mbedtls_pk_parse_subpubkey( unsigned char **p, const unsigned char *end, in mbedtls_pk_parse_subpubkey()
648 unsigned char *p, *end; in pk_parse_key_pkcs1_der() local
731 unsigned char *p = (unsigned char *) key; in pk_parse_key_sec1_der() local
856 unsigned char *p = (unsigned char *) key; in pk_parse_key_pkcs8_unencrypted_der() local
[all …]
Dx509_crl.c71 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
77 static int x509_crl_get_version( unsigned char **p, in x509_crl_get_version()
100 static int x509_get_crl_ext( unsigned char **p, in x509_get_crl_ext()
135 static int x509_get_crl_entry_ext( unsigned char **p, in x509_get_crl_entry_ext()
189 static int x509_get_entries( unsigned char **p, in x509_get_entries()
260 unsigned char *p, *end; in mbedtls_x509_crl_parse_der() local
585 char *p; in mbedtls_x509_crl_info() local
Dssl_srv.c55 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
96 const unsigned char *p; in ssl_parse_servername_ext() local
194 const unsigned char *p; in ssl_parse_signature_algorithms_ext() local
242 const unsigned char *p; in ssl_parse_supported_elliptic_curves() local
294 const unsigned char *p; in ssl_parse_supported_point_formats() local
806 unsigned char *buf, *p; local
1079 unsigned char *buf, *p, *ext; local
1860 unsigned char *p = buf; local
1885 unsigned char *p = buf; local
1928 unsigned char *p = buf; local
[all …]
Dx509_csr.c65 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
71 static int x509_csr_get_version( unsigned char **p, in x509_csr_get_version()
99 unsigned char *p, *end; in mbedtls_x509_csr_parse_der() local
345 char *p; in mbedtls_x509_csr_info() local
Dx509_crt.c80 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
209 static int x509_get_version( unsigned char **p, in x509_get_version()
245 static int x509_get_dates( unsigned char **p, in x509_get_dates()
275 static int x509_get_uid( unsigned char **p, in x509_get_uid()
301 static int x509_get_basic_constraints( unsigned char **p, in x509_get_basic_constraints()
351 static int x509_get_ns_cert_type( unsigned char **p, in x509_get_ns_cert_type()
370 static int x509_get_key_usage( unsigned char **p, in x509_get_key_usage()
400 static int x509_get_ext_key_usage( unsigned char **p, in x509_get_ext_key_usage()
443 static int x509_get_subject_alt_name( unsigned char **p, in x509_get_subject_alt_name()
520 static int x509_get_crt_ext( unsigned char **p, in x509_get_crt_ext()
[all …]
Dx509_create.c195 static int x509_write_name( unsigned char **p, unsigned char *start, in x509_write_name()
233 int mbedtls_x509_write_names( unsigned char **p, unsigned char *start, in mbedtls_x509_write_names()
255 int mbedtls_x509_write_sig( unsigned char **p, unsigned char *start, in mbedtls_x509_write_sig()
286 static int x509_write_extension( unsigned char **p, unsigned char *start, in x509_write_extension()
324 int mbedtls_x509_write_extensions( unsigned char **p, unsigned char *start, in mbedtls_x509_write_extensions()
Dssl_cookie.c48 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
135 unsigned char **p, unsigned char *end, in ssl_cookie_hmac()
161 unsigned char **p, unsigned char *end, in mbedtls_ssl_cookie_write()
212 unsigned char *p = ref_hmac; in mbedtls_ssl_cookie_check() local
Decjpake.c141 static int ecjpake_write_len_point( unsigned char **p, in ecjpake_write_len_point()
189 unsigned char *p = buf; in ecjpake_hash() local
234 const unsigned char **p, in ecjpake_zkp_read()
307 unsigned char **p, in ecjpake_zkp_write()
367 const unsigned char **p, in ecjpake_kkp_read()
405 unsigned char **p, in ecjpake_kkp_write()
446 const unsigned char *p = buf; in ecjpake_kkpp_read() local
484 unsigned char *p = buf; in ecjpake_kkpp_write() local
556 const unsigned char *p = buf; in mbedtls_ecjpake_read_round_two() local
649 unsigned char *p = buf; in mbedtls_ecjpake_write_round_two() local
[all …]
Ddhm.c62 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
69 unsigned char **p, in dhm_read_bignum()
130 unsigned char **p, in mbedtls_dhm_read_params()
158 unsigned char *p; in mbedtls_dhm_make_params() local
420 unsigned char *p, *end; in mbedtls_dhm_parse_dhm() local
Dpkcs12.c52 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
59 unsigned char **p = &params->p; in pkcs12_parse_pbe_params() local
236 unsigned char *p = data; in pkcs12_fill_buffer() local
259 unsigned char *p; in mbedtls_pkcs12_derivation() local
Dpkwrite.c64 static int pk_write_rsa_pubkey( unsigned char **p, unsigned char *start, in pk_write_rsa_pubkey()
85 static int pk_write_ec_pubkey( unsigned char **p, unsigned char *start, in pk_write_ec_pubkey()
113 static int pk_write_ec_param( unsigned char **p, unsigned char *start, in pk_write_ec_param()
130 int mbedtls_pk_write_pubkey( unsigned char **p, unsigned char *start, in mbedtls_pk_write_pubkey()
Dctr_drbg.c54 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
149 unsigned char *p, *iv; in block_cipher_df() local
236 unsigned char *p = tmp; in ctr_drbg_update_internal() local
339 unsigned char *p = output; in mbedtls_ctr_drbg_random_with_add() local
523 const unsigned char *p = data; in ctr_drbg_self_test_entropy() local
Dmemory_buffer_alloc.c47 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
235 unsigned char *p; in buffer_alloc_calloc() local
384 unsigned char *p = (unsigned char *) ptr; in buffer_alloc_free() local
612 static int check_pointer( void *p ) in check_pointer()
651 unsigned char *p, *q, *r, *end; in mbedtls_memory_buffer_alloc_self_test() local
Dbase64.c82 unsigned char *p; in mbedtls_base64_encode() local
149 unsigned char *p; in mbedtls_base64_decode() local
Dhavege.c44 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
222 unsigned char *p = buf; in mbedtls_havege_random() local
Dbignum.c63 volatile mbedtls_mpi_uint *p = v; while( n-- ) *p++ = 0; in mbedtls_mpi_zeroize() local
116 mbedtls_mpi_uint *p; in mbedtls_mpi_grow() local
146 mbedtls_mpi_uint *p; in mbedtls_mpi_shrink() local
496 static int mpi_write_hlp( mbedtls_mpi *X, int radix, char **p ) in mpi_write_hlp()
528 char *p; in mbedtls_mpi_write_string() local
599 char *p; in mbedtls_mpi_read_file() local
628 int mbedtls_mpi_write_file( const char *p, const mbedtls_mpi *X, int radix, FILE *fout ) in mbedtls_mpi_write_file()
869 mbedtls_mpi_uint p[1]; in mbedtls_mpi_cmp_int() local
886 mbedtls_mpi_uint *o, *p, c, tmp; in mbedtls_mpi_add_abs() local
1067 mbedtls_mpi_uint p[1]; in mbedtls_mpi_add_int() local
[all …]
Dssl_ticket.c44 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
173 unsigned char *p = buf; in ssl_save_session() local
216 const unsigned char *p = buf; in ssl_load_session() local
/net-tools-3.4.0/tinydtls-0.8.2/
Dnetq.c62 netq_t *p; in netq_insert_node() local
88 netq_next(netq_t *p) { in netq_next()
96 netq_remove(list_t queue, netq_t *p) { in netq_remove()
134 netq_t *p; in netq_delete_all() local
/net-tools-3.4.0/libcoap/include/coap/
Duthash.h537 #define MUR_GETBLOCK(p,i) p[i] argument
539 #define MUR_PLUS0_ALIGNED(p) (((unsigned long)p & 0x3) == 0) argument
540 #define MUR_PLUS1_ALIGNED(p) (((unsigned long)p & 0x3) == 1) argument
541 #define MUR_PLUS2_ALIGNED(p) (((unsigned long)p & 0x3) == 2) argument
542 #define MUR_PLUS3_ALIGNED(p) (((unsigned long)p & 0x3) == 3) argument
543 #define WP(p) ((uint32_t*)((unsigned long)(p) & ~3UL)) argument
545 #define MUR_THREE_ONE(p) ((((*WP(p))&0x00ffffff) << 8) | (((*(WP(p)+1))&0xff000000) >> 24)) argument
546 #define MUR_TWO_TWO(p) ((((*WP(p))&0x0000ffff) <<16) | (((*(WP(p)+1))&0xffff0000) >> 16)) argument
547 #define MUR_ONE_THREE(p) ((((*WP(p))&0x000000ff) <<24) | (((*(WP(p)+1))&0xffffff00) >> 8)) argument
549 #define MUR_THREE_ONE(p) ((((*WP(p))&0xffffff00) >> 8) | (((*(WP(p)+1))&0x000000ff) << 24)) argument
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/
Dudp_proxy.c149 char *p, *q; in get_options() local
301 void print_packet( const packet *p, const char *why ) in print_packet()
312 int send_packet( const packet *p, const char *why ) in send_packet()
377 void update_dropped( const packet *p ) in update_dropped()
/net-tools-3.4.0/libcoap/src/
Duri.c46 unsigned char *p, *q; in coap_split_uri() local
329 const unsigned char *p, *q; in coap_split_path_impl() local
389 const unsigned char *p; in coap_split_query() local

12345