Home
last modified time | relevance | path

Searched refs:MBEDTLS_PRIVATE (Results 1 – 25 of 74) sorted by relevance

123

/third_party/mbedtls/include/psa/
Dcrypto_struct.h90 unsigned int MBEDTLS_PRIVATE(id);
91 psa_driver_hash_context_t MBEDTLS_PRIVATE(ctx);
109 unsigned int MBEDTLS_PRIVATE(id);
111 unsigned int MBEDTLS_PRIVATE(iv_required) : 1;
112 unsigned int MBEDTLS_PRIVATE(iv_set) : 1;
114 uint8_t MBEDTLS_PRIVATE(default_iv_length);
116 psa_driver_cipher_context_t MBEDTLS_PRIVATE(ctx);
138 unsigned int MBEDTLS_PRIVATE(id);
139 uint8_t MBEDTLS_PRIVATE(mac_size);
140 unsigned int MBEDTLS_PRIVATE(is_sign) : 1;
[all …]
Dcrypto_se_driver.h101 const void *const MBEDTLS_PRIVATE(persistent_data);
108 const size_t MBEDTLS_PRIVATE(persistent_data_size);
115 uintptr_t MBEDTLS_PRIVATE(transient_data);
327 size_t MBEDTLS_PRIVATE(context_size);
330 psa_drv_se_mac_setup_t MBEDTLS_PRIVATE(p_setup);
333 psa_drv_se_mac_update_t MBEDTLS_PRIVATE(p_update);
336 psa_drv_se_mac_finish_t MBEDTLS_PRIVATE(p_finish);
339 psa_drv_se_mac_finish_verify_t MBEDTLS_PRIVATE(p_finish_verify);
342 psa_drv_se_mac_abort_t MBEDTLS_PRIVATE(p_abort);
345 psa_drv_se_mac_generate_t MBEDTLS_PRIVATE(p_mac);
[all …]
Dcrypto_builtin_composites.h51 psa_algorithm_t MBEDTLS_PRIVATE(alg);
55 uint8_t MBEDTLS_PRIVATE(opad)[PSA_HMAC_MAX_HASH_BLOCK_SIZE];
65 psa_algorithm_t MBEDTLS_PRIVATE(alg);
68 … unsigned MBEDTLS_PRIVATE(dummy); /* Make the union non-empty even with no supported algorithms. */
70 mbedtls_psa_hmac_operation_t MBEDTLS_PRIVATE(hmac);
73 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cmac);
75 } MBEDTLS_PRIVATE(ctx);
89 psa_algorithm_t MBEDTLS_PRIVATE(alg);
90 psa_key_type_t MBEDTLS_PRIVATE(key_type);
92 unsigned int MBEDTLS_PRIVATE(is_encrypt) : 1;
[all …]
Dcrypto_extra.h76 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(alg2) = alg2; in psa_set_key_enrollment_algorithm()
88 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(alg2) ); in psa_get_key_enrollment_algorithm()
146 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(flags) |= MBEDTLS_PSA_KA_FLAG_HAS_SLOT_NUMBER; in psa_set_key_slot_number()
147 attributes->MBEDTLS_PRIVATE(slot_number) = slot_number; in psa_set_key_slot_number()
159 … attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(flags) &= ~MBEDTLS_PSA_KA_FLAG_HAS_SLOT_NUMBER; in psa_clear_key_slot_number()
231 size_t MBEDTLS_PRIVATE(volatile_slots);
234 size_t MBEDTLS_PRIVATE(persistent_slots);
237 size_t MBEDTLS_PRIVATE(external_slots);
240 size_t MBEDTLS_PRIVATE(half_filled_slots);
242 size_t MBEDTLS_PRIVATE(cache_slots);
[all …]
Dcrypto_builtin_primitives.h61 psa_algorithm_t MBEDTLS_PRIVATE(alg);
82 } MBEDTLS_PRIVATE(ctx);
106 psa_algorithm_t MBEDTLS_PRIVATE(alg);
107 uint8_t MBEDTLS_PRIVATE(iv_length);
108 uint8_t MBEDTLS_PRIVATE(block_length);
110 unsigned int MBEDTLS_PRIVATE(dummy);
111 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cipher);
112 } MBEDTLS_PRIVATE(ctx);
/third_party/mbedtls/include/mbedtls/
Dssl.h1091 mbedtls_ssl_srtp_profile MBEDTLS_PRIVATE(chosen_dtls_srtp_profile);
1093 uint16_t MBEDTLS_PRIVATE(mki_len);
1095 unsigned char MBEDTLS_PRIVATE(mki_value)[MBEDTLS_TLS_SRTP_MAX_MKI_LENGTH];
1115 unsigned char MBEDTLS_PRIVATE(mfl_code); /*!< MaxFragmentLength negotiated by peer */
1118 unsigned char MBEDTLS_PRIVATE(exported);
1123 unsigned char MBEDTLS_PRIVATE(minor_ver); /*!< The TLS version used in the session. */
1126 mbedtls_time_t MBEDTLS_PRIVATE(start); /*!< starting time */
1128 int MBEDTLS_PRIVATE(ciphersuite); /*!< chosen ciphersuite */
1129 int MBEDTLS_PRIVATE(compression); /*!< chosen compression */
1130 size_t MBEDTLS_PRIVATE(id_len); /*!< session id length */
[all …]
Dcipher.h284 mbedtls_cipher_type_t MBEDTLS_PRIVATE(type);
287 mbedtls_cipher_mode_t MBEDTLS_PRIVATE(mode);
293 unsigned int MBEDTLS_PRIVATE(key_bitlen);
296 const char * MBEDTLS_PRIVATE(name);
302 unsigned int MBEDTLS_PRIVATE(iv_size);
308 int MBEDTLS_PRIVATE(flags);
311 unsigned int MBEDTLS_PRIVATE(block_size);
314 const mbedtls_cipher_base_t *MBEDTLS_PRIVATE(base);
324 const mbedtls_cipher_info_t *MBEDTLS_PRIVATE(cipher_info);
327 int MBEDTLS_PRIVATE(key_bitlen);
[all …]
Decdh.h102 mbedtls_ecp_group MBEDTLS_PRIVATE(grp); /*!< The elliptic curve used. */
103 mbedtls_mpi MBEDTLS_PRIVATE(d); /*!< The private key. */
104 mbedtls_ecp_point MBEDTLS_PRIVATE(Q); /*!< The public key. */
105 mbedtls_ecp_point MBEDTLS_PRIVATE(Qp); /*!< The value of the public key of the peer. */
106 mbedtls_mpi MBEDTLS_PRIVATE(z); /*!< The shared secret. */
108 mbedtls_ecp_restart_ctx MBEDTLS_PRIVATE(rs); /*!< The restart context for EC computations. */
123 mbedtls_ecp_group MBEDTLS_PRIVATE(grp); /*!< The elliptic curve used. */
124 mbedtls_mpi MBEDTLS_PRIVATE(d); /*!< The private key. */
125 mbedtls_ecp_point MBEDTLS_PRIVATE(Q); /*!< The public key. */
126 mbedtls_ecp_point MBEDTLS_PRIVATE(Qp); /*!< The value of the public key of the peer. */
[all …]
Dx509_crt.h55 int MBEDTLS_PRIVATE(own_buffer); /**< Indicates if \c raw is owned
83 …int MBEDTLS_PRIVATE(ext_types); /**< Bit string containing detected and parsed extens…
84 …int MBEDTLS_PRIVATE(ca_istrue); /**< Optional Basic Constraint extension value: 1 if …
85 …int MBEDTLS_PRIVATE(max_pathlen); /**< Optional Basic Constraint extension value: The m…
87 …unsigned int MBEDTLS_PRIVATE(key_usage); /**< Optional key usage extension value: See the valu…
91 …unsigned char MBEDTLS_PRIVATE(ns_cert_type); /**< Optional Netscape certificate type extension val…
93 …mbedtls_x509_buf MBEDTLS_PRIVATE(sig); /**< Signature: hash of the tbs part signed w…
94 …mbedtls_md_type_t MBEDTLS_PRIVATE(sig_md); /**< Internal representation of the MD algori…
95 …mbedtls_pk_type_t MBEDTLS_PRIVATE(sig_pk); /**< Internal representation of the Public Ke…
96 …void *MBEDTLS_PRIVATE(sig_opts); /**< Signature options to be passed to mbedtls_pk_ver…
[all …]
Decjpake.h73 const mbedtls_md_info_t *MBEDTLS_PRIVATE(md_info); /**< Hash to use */
74 mbedtls_ecp_group MBEDTLS_PRIVATE(grp); /**< Elliptic curve */
75 mbedtls_ecjpake_role MBEDTLS_PRIVATE(role); /**< Are we client or server? */
76 int MBEDTLS_PRIVATE(point_format); /**< Format for point export */
78 mbedtls_ecp_point MBEDTLS_PRIVATE(Xm1); /**< My public key 1 C: X1, S: X3 */
79 mbedtls_ecp_point MBEDTLS_PRIVATE(Xm2); /**< My public key 2 C: X2, S: X4 */
80 mbedtls_ecp_point MBEDTLS_PRIVATE(Xp1); /**< Peer public key 1 C: X3, S: X1 */
81 mbedtls_ecp_point MBEDTLS_PRIVATE(Xp2); /**< Peer public key 2 C: X4, S: X2 */
82 mbedtls_ecp_point MBEDTLS_PRIVATE(Xp); /**< Peer public key C: Xs, S: Xc */
84 mbedtls_mpi MBEDTLS_PRIVATE(xm1); /**< My private key 1 C: x1, S: x3 */
[all …]
Dentropy.h109 mbedtls_entropy_f_source_ptr MBEDTLS_PRIVATE(f_source); /**< The entropy source callback */
110 void * MBEDTLS_PRIVATE(p_source); /**< The callback data pointer */
111 size_t MBEDTLS_PRIVATE(size); /**< Amount received in bytes */
112 size_t MBEDTLS_PRIVATE(threshold); /**< Minimum bytes required before release */
113 int MBEDTLS_PRIVATE(strong); /**< Is the source strong? */
122 int MBEDTLS_PRIVATE(accumulator_started); /* 0 after init.
126 mbedtls_sha512_context MBEDTLS_PRIVATE(accumulator);
128 mbedtls_sha256_context MBEDTLS_PRIVATE(accumulator);
130 int MBEDTLS_PRIVATE(source_count); /* Number of entries used in source. */
131 mbedtls_entropy_source_state MBEDTLS_PRIVATE(source)[MBEDTLS_ENTROPY_MAX_SOURCES];
[all …]
Dssl_cache.h65 mbedtls_time_t MBEDTLS_PRIVATE(timestamp); /*!< entry timestamp */
68 unsigned char MBEDTLS_PRIVATE(session_id)[32]; /*!< session ID */
69 size_t MBEDTLS_PRIVATE(session_id_len);
71 unsigned char *MBEDTLS_PRIVATE(session); /*!< serialized session */
72 size_t MBEDTLS_PRIVATE(session_len);
74 mbedtls_ssl_cache_entry *MBEDTLS_PRIVATE(next); /*!< chain pointer */
82 mbedtls_ssl_cache_entry *MBEDTLS_PRIVATE(chain); /*!< start of the chain */
83 int MBEDTLS_PRIVATE(timeout); /*!< cache entry timeout */
84 int MBEDTLS_PRIVATE(max_entries); /*!< maximum entries */
86 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex); /*!< mutex */
Drsa.h93 int MBEDTLS_PRIVATE(ver); /*!< Reserved for internal purposes.
97 size_t MBEDTLS_PRIVATE(len); /*!< The size of \p N in Bytes. */
99 mbedtls_mpi MBEDTLS_PRIVATE(N); /*!< The public modulus. */
100 mbedtls_mpi MBEDTLS_PRIVATE(E); /*!< The public exponent. */
102 mbedtls_mpi MBEDTLS_PRIVATE(D); /*!< The private exponent. */
103 mbedtls_mpi MBEDTLS_PRIVATE(P); /*!< The first prime factor. */
104 mbedtls_mpi MBEDTLS_PRIVATE(Q); /*!< The second prime factor. */
106 mbedtls_mpi MBEDTLS_PRIVATE(DP); /*!< <code>D % (P - 1)</code>. */
107 mbedtls_mpi MBEDTLS_PRIVATE(DQ); /*!< <code>D % (Q - 1)</code>. */
108 mbedtls_mpi MBEDTLS_PRIVATE(QP); /*!< <code>1 / (Q % P)</code>. */
[all …]
Dssl_ticket.h50 unsigned char MBEDTLS_PRIVATE(name)[4]; /*!< random key identifier */
51 uint32_t MBEDTLS_PRIVATE(generation_time); /*!< key generation timestamp (seconds) */
52 mbedtls_cipher_context_t MBEDTLS_PRIVATE(ctx); /*!< context for auth enc/decryption */
61 mbedtls_ssl_ticket_key MBEDTLS_PRIVATE(keys)[2]; /*!< ticket protection keys */
62 unsigned char MBEDTLS_PRIVATE(active); /*!< index of the currently active key */
64 uint32_t MBEDTLS_PRIVATE(ticket_lifetime); /*!< lifetime of tickets in seconds */
67 int (*MBEDTLS_PRIVATE(f_rng))(void *, unsigned char *, size_t);
68 void *MBEDTLS_PRIVATE(p_rng); /*!< context for the RNG function */
71 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Dssl_ciphersuites.h369 int MBEDTLS_PRIVATE(id);
370 const char * MBEDTLS_PRIVATE(name);
372 mbedtls_cipher_type_t MBEDTLS_PRIVATE(cipher);
373 mbedtls_md_type_t MBEDTLS_PRIVATE(mac);
374 mbedtls_key_exchange_type_t MBEDTLS_PRIVATE(key_exchange);
376 int MBEDTLS_PRIVATE(min_major_ver);
377 int MBEDTLS_PRIVATE(min_minor_ver);
378 int MBEDTLS_PRIVATE(max_major_ver);
379 int MBEDTLS_PRIVATE(max_minor_ver);
381 unsigned char MBEDTLS_PRIVATE(flags);
[all …]
Dgcm.h62 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cipher_ctx); /*!< The cipher context used. */
63 uint64_t MBEDTLS_PRIVATE(HL)[16]; /*!< Precalculated HTable low. */
64 uint64_t MBEDTLS_PRIVATE(HH)[16]; /*!< Precalculated HTable high. */
65 …uint64_t MBEDTLS_PRIVATE(len); /*!< The total length of the encrypted data…
66 …uint64_t MBEDTLS_PRIVATE(add_len); /*!< The total length of the additional dat…
67 unsigned char MBEDTLS_PRIVATE(base_ectr)[16]; /*!< The first ECTR for tag. */
68 unsigned char MBEDTLS_PRIVATE(y)[16]; /*!< The Y working value. */
69 unsigned char MBEDTLS_PRIVATE(buf)[16]; /*!< The buf working value. */
70 int MBEDTLS_PRIVATE(mode); /*!< The operation to perform:
Dccm.h79 unsigned char MBEDTLS_PRIVATE(y)[16]; /*!< The Y working buffer */
80 unsigned char MBEDTLS_PRIVATE(ctr)[16]; /*!< The counter buffer */
81 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cipher_ctx); /*!< The cipher context used. */
82 size_t MBEDTLS_PRIVATE(plaintext_len); /*!< Total plaintext length */
83 size_t MBEDTLS_PRIVATE(add_len); /*!< Total authentication data length */
84 size_t MBEDTLS_PRIVATE(tag_len); /*!< Total tag length */
85 size_t MBEDTLS_PRIVATE(processed); /*!< Track how many bytes of input data
91 unsigned char MBEDTLS_PRIVATE(q); /*!< The Q working value */
92 unsigned char MBEDTLS_PRIVATE(mode); /*!< The operation to perform:
97 int MBEDTLS_PRIVATE(state); /*!< Working value holding context's
Ddhm.h116 mbedtls_mpi MBEDTLS_PRIVATE(P); /*!< The prime modulus. */
117 mbedtls_mpi MBEDTLS_PRIVATE(G); /*!< The generator. */
118 mbedtls_mpi MBEDTLS_PRIVATE(X); /*!< Our secret value. */
119 mbedtls_mpi MBEDTLS_PRIVATE(GX); /*!< Our public key = \c G^X mod \c P. */
120 mbedtls_mpi MBEDTLS_PRIVATE(GY); /*!< The public key of the peer = \c G^Y mod \c P. */
121 mbedtls_mpi MBEDTLS_PRIVATE(K); /*!< The shared secret = \c G^(XY) mod \c P. */
122 mbedtls_mpi MBEDTLS_PRIVATE(RP); /*!< The cached value = \c R^2 mod \c P. */
123 mbedtls_mpi MBEDTLS_PRIVATE(Vi); /*!< The blinding value. */
124 mbedtls_mpi MBEDTLS_PRIVATE(Vf); /*!< The unblinding value. */
125 mbedtls_mpi MBEDTLS_PRIVATE(pX); /*!< The previous \c X. */
Dhmac_drbg.h90 mbedtls_md_context_t MBEDTLS_PRIVATE(md_ctx); /*!< HMAC context (inc. K) */
91 unsigned char MBEDTLS_PRIVATE(V)[MBEDTLS_MD_MAX_SIZE]; /*!< V in the spec */
92 int MBEDTLS_PRIVATE(reseed_counter); /*!< reseed counter */
95 size_t MBEDTLS_PRIVATE(entropy_len); /*!< entropy bytes grabbed on each (re)seed */
96 int MBEDTLS_PRIVATE(prediction_resistance); /*!< enable prediction resistance (Automatic
98 int MBEDTLS_PRIVATE(reseed_interval); /*!< reseed interval */
101 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); /*!< entropy function */
102 void *MBEDTLS_PRIVATE(p_entropy); /*!< context for the entropy function */
113 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
Dctr_drbg.h172 unsigned char MBEDTLS_PRIVATE(counter)[16]; /*!< The counter (V). */
173 int MBEDTLS_PRIVATE(reseed_counter); /*!< The reseed counter.
183 int MBEDTLS_PRIVATE(prediction_resistance); /*!< This determines whether prediction
187 size_t MBEDTLS_PRIVATE(entropy_len); /*!< The amount of entropy grabbed on each
189 int MBEDTLS_PRIVATE(reseed_interval); /*!< The reseed interval.
193 mbedtls_aes_context MBEDTLS_PRIVATE(aes_ctx); /*!< The AES context. */
198 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t);
201 void *MBEDTLS_PRIVATE(p_entropy); /*!< The context for the entropy function. */
211 mbedtls_threading_mutex_t MBEDTLS_PRIVATE(mutex);
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c52 if (!xtime || !xtime->MBEDTLS_PRIVATE(year) || xtime->MBEDTLS_PRIVATE(year) < 0) in lws_tls_mbedtls_time_to_unix()
57 t.tm_year = xtime->MBEDTLS_PRIVATE(year) - 1900; in lws_tls_mbedtls_time_to_unix()
58 t.tm_mon = xtime->MBEDTLS_PRIVATE(mon) - 1; /* mbedtls months are 1+, tm are 0+ */ in lws_tls_mbedtls_time_to_unix()
59 t.tm_mday = xtime->MBEDTLS_PRIVATE(day) - 1; /* mbedtls days are 1+, tm are 0+ */ in lws_tls_mbedtls_time_to_unix()
60 t.tm_hour = xtime->MBEDTLS_PRIVATE(hour); in lws_tls_mbedtls_time_to_unix()
61 t.tm_min = xtime->MBEDTLS_PRIVATE(min); in lws_tls_mbedtls_time_to_unix()
62 t.tm_sec = xtime->MBEDTLS_PRIVATE(sec); in lws_tls_mbedtls_time_to_unix()
84 (const char *)name->MBEDTLS_PRIVATE(val).MBEDTLS_PRIVATE(p), in lws_tls_mbedtls_get_x509_name()
85 name->MBEDTLS_PRIVATE(val).MBEDTLS_PRIVATE(len), in lws_tls_mbedtls_get_x509_name()
90 name = name->MBEDTLS_PRIVATE(next); in lws_tls_mbedtls_get_x509_name()
[all …]
Dmbedtls-extensions.c106 while( cur->MBEDTLS_PRIVATE(asn1) != NULL ) { \
107 if( cur->MBEDTLS_PRIVATE(asn1_len) == oid->MBEDTLS_PRIVATE(len) && \
108 …memcmp( cur->MBEDTLS_PRIVATE(asn1), oid->MBEDTLS_PRIVATE(p), oid->MBEDTLS_PRIVATE(len) ) == 0 ) { …
180 skid->MBEDTLS_PRIVATE(len) = len; in x509_get_skid()
181 skid->MBEDTLS_PRIVATE(tag) = MBEDTLS_ASN1_OCTET_STRING; in x509_get_skid()
182 skid->MBEDTLS_PRIVATE(p) = *p; in x509_get_skid()
207 n1 = name->MBEDTLS_PRIVATE(next); in lws_x509_clean_name()
210 name = n1->MBEDTLS_PRIVATE(next); in lws_x509_clean_name()
225 switch (name_buf->MBEDTLS_PRIVATE(tag) & in lws_mbedtls_x509_parse_general_name()
242 bufferPointer = name_buf->MBEDTLS_PRIVATE(p); in lws_mbedtls_x509_parse_general_name()
[all …]
Dlws-genrsa.c67 ctx->ctx->MBEDTLS_PRIVATE(padding) = mode_map[mode];
68 ctx->ctx->MBEDTLS_PRIVATE(hash_id) =
75 &ctx->ctx->MBEDTLS_PRIVATE(E),
76 &ctx->ctx->MBEDTLS_PRIVATE(N),
77 &ctx->ctx->MBEDTLS_PRIVATE(D),
78 &ctx->ctx->MBEDTLS_PRIVATE(P),
79 &ctx->ctx->MBEDTLS_PRIVATE(Q),
80 &ctx->ctx->MBEDTLS_PRIVATE(DP),
81 &ctx->ctx->MBEDTLS_PRIVATE(DQ),
82 &ctx->ctx->MBEDTLS_PRIVATE(QP),
[all …]
/third_party/mbedtls/programs/pkey/
Decdh_curve25519.c90 ret = mbedtls_ecp_group_load( &ctx_cli.MBEDTLS_PRIVATE(grp), MBEDTLS_ECP_DP_CURVE25519 ); in main()
97 …et = mbedtls_ecdh_gen_public( &ctx_cli.MBEDTLS_PRIVATE(grp), &ctx_cli.MBEDTLS_PRIVATE(d), &ctx_cli… in main()
105 … ret = mbedtls_mpi_write_binary( &ctx_cli.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X), cli_to_srv, 32 ); in main()
120 ret = mbedtls_ecp_group_load( &ctx_srv.MBEDTLS_PRIVATE(grp), MBEDTLS_ECP_DP_CURVE25519 ); in main()
127 …et = mbedtls_ecdh_gen_public( &ctx_srv.MBEDTLS_PRIVATE(grp), &ctx_srv.MBEDTLS_PRIVATE(d), &ctx_srv… in main()
135 … ret = mbedtls_mpi_write_binary( &ctx_srv.MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X), srv_to_cli, 32 ); in main()
150 ret = mbedtls_mpi_lset( &ctx_srv.MBEDTLS_PRIVATE(Qp).MBEDTLS_PRIVATE(Z), 1 ); in main()
157 … ret = mbedtls_mpi_read_binary( &ctx_srv.MBEDTLS_PRIVATE(Qp).MBEDTLS_PRIVATE(X), cli_to_srv, 32 ); in main()
164 ret = mbedtls_ecdh_compute_shared( &ctx_srv.MBEDTLS_PRIVATE(grp), &ctx_srv.MBEDTLS_PRIVATE(z), in main()
165 &ctx_srv.MBEDTLS_PRIVATE(Qp), &ctx_srv.MBEDTLS_PRIVATE(d), in main()
[all …]
/third_party/mbedtls/library/
Dssl_misc.h1220 … if( ssl->MBEDTLS_PRIVATE(handshake)->psk != NULL && ssl->MBEDTLS_PRIVATE(handshake)->psk_len > 0 ) in mbedtls_ssl_get_psk()
1222 *psk = ssl->MBEDTLS_PRIVATE(handshake)->psk; in mbedtls_ssl_get_psk()
1223 *psk_len = ssl->MBEDTLS_PRIVATE(handshake)->psk_len; in mbedtls_ssl_get_psk()
1226 else if( ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(psk) != NULL && in mbedtls_ssl_get_psk()
1227 ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(psk_len) > 0 ) in mbedtls_ssl_get_psk()
1229 *psk = ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(psk); in mbedtls_ssl_get_psk()
1230 *psk_len = ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(psk_len); in mbedtls_ssl_get_psk()
1307 … if( ssl->MBEDTLS_PRIVATE(handshake) != NULL && ssl->MBEDTLS_PRIVATE(handshake)->key_cert != NULL ) in mbedtls_ssl_own_key()
1308 key_cert = ssl->MBEDTLS_PRIVATE(handshake)->key_cert; in mbedtls_ssl_own_key()
1310 key_cert = ssl->MBEDTLS_PRIVATE(conf)->MBEDTLS_PRIVATE(key_cert); in mbedtls_ssl_own_key()
[all …]

123