Home
last modified time | relevance | path

Searched refs:max_psk_len (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/openssl/test/
Ddtls_mtu_test.c28 unsigned int max_psk_len) in clnt_psk_callback() argument
32 if (max_psk_len > 20) in clnt_psk_callback()
33 max_psk_len = 20; in clnt_psk_callback()
34 memset(psk, 0x5a, max_psk_len); in clnt_psk_callback()
36 return max_psk_len; in clnt_psk_callback()
41 unsigned int max_psk_len) in srvr_psk_callback() argument
43 if (max_psk_len > 20) in srvr_psk_callback()
44 max_psk_len = 20; in srvr_psk_callback()
45 memset(psk, 0x5a, max_psk_len); in srvr_psk_callback()
46 return max_psk_len; in srvr_psk_callback()
Dssl_old_test.c99 unsigned int max_psk_len);
102 unsigned int max_psk_len);
2939 unsigned int max_psk_len) in psk_key2bn() argument
2951 if (BN_num_bytes(bn) > (int)max_psk_len) { in psk_key2bn()
2954 max_psk_len, BN_num_bytes(bn)); in psk_key2bn()
2967 unsigned int max_psk_len) in psk_client_callback() argument
2978 ret = psk_key2bn(psk_key, psk, max_psk_len); in psk_client_callback()
2988 unsigned int max_psk_len) in psk_server_callback() argument
2996 psk_len = psk_key2bn(psk_key, psk, max_psk_len); in psk_server_callback()
Dsslapitest.c3248 unsigned int max_psk_len) in psk_client_cb() argument
3265 if (SSL_SESSION_get_master_key(clientpsk, NULL, 0) > max_psk_len) in psk_client_cb()
3267 psklen = SSL_SESSION_get_master_key(clientpsk, psk, max_psk_len); in psk_client_cb()
3302 unsigned char *psk, unsigned int max_psk_len) in psk_server_cb() argument
3321 if (SSL_SESSION_get_master_key(serverpsk, NULL, 0) > max_psk_len) in psk_server_cb()
3323 psklen = SSL_SESSION_get_master_key(serverpsk, psk, max_psk_len); in psk_server_cb()
/third_party/openssl/doc/man3/
DSSL_CTX_use_psk_identity_hint.pod32 unsigned int max_psk_len);
76 length B<max_psk_len> bytes where the pre-shared key is to be stored.
113 B<max_psk_len>.
DSSL_CTX_set_psk_client_callback.pod33 unsigned int max_psk_len);
114 of length B<max_psk_len> bytes where the resulting pre-shared key is to
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dcallbacks.rs66 max_psk_len: c_uint, in raw_client_psk()
89 let psk_sl = slice::from_raw_parts_mut(psk as *mut u8, max_psk_len as usize); in raw_client_psk()
105 max_psk_len: c_uint, in raw_server_psk()
127 let psk_sl = slice::from_raw_parts_mut(psk as *mut u8, max_psk_len as usize); in raw_server_psk()
/third_party/node/src/crypto/
Dcrypto_tls.h238 unsigned int max_psk_len);
244 unsigned int max_psk_len);
Dcrypto_tls.cc1365 unsigned int max_psk_len) { in PskServerCallback() argument
1382 Integer::NewFromUnsigned(env->isolate(), max_psk_len) in PskServerCallback()
1393 if (psk_buf.length() > max_psk_len) in PskServerCallback()
1406 unsigned int max_psk_len) { in PskClientCallback() argument
1414 Integer::NewFromUnsigned(env->isolate(), max_psk_len), in PskClientCallback()
1441 if (psk_buf.length() > max_psk_len) in PskClientCallback()
/third_party/libcoap/src/
Dcoap_openssl.c500 unsigned int max_psk_len) { in coap_dtls_psk_client_callback() argument
565 if (psk_key->length > max_psk_len) { in coap_dtls_psk_client_callback()
567 max_psk_len); in coap_dtls_psk_client_callback()
570 max_psk_len = (unsigned int)psk_key->length; in coap_dtls_psk_client_callback()
572 memcpy(psk, psk_key->s, max_psk_len); in coap_dtls_psk_client_callback()
573 return max_psk_len; in coap_dtls_psk_client_callback()
583 unsigned int max_psk_len in coap_dtls_psk_server_callback() argument
617 if (psk_key->length > max_psk_len) { in coap_dtls_psk_server_callback()
619 max_psk_len); in coap_dtls_psk_server_callback()
622 max_psk_len = (unsigned int)psk_key->length; in coap_dtls_psk_server_callback()
[all …]
/third_party/node/deps/openssl/openssl/apps/
Dciphers.c82 unsigned int max_psk_len) in dummy_psk() argument
Ds_client.c99 unsigned int max_psk_len) in psk_client_cb() argument
133 if (max_psk_len > INT_MAX || key_len > (long)max_psk_len) { in psk_client_cb()
136 max_psk_len, key_len); in psk_client_cb()
Ds_server.c126 unsigned int max_psk_len) in psk_server_cb() argument
168 if (key_len > (int)max_psk_len) { in psk_server_cb()
171 max_psk_len, key_len); in psk_server_cb()
/third_party/openssl/apps/
Dciphers.c82 unsigned int max_psk_len) in dummy_psk() argument
Ds_client.c99 unsigned int max_psk_len) in psk_client_cb() argument
133 if (max_psk_len > INT_MAX || key_len > (long)max_psk_len) { in psk_client_cb()
136 max_psk_len, key_len); in psk_client_cb()
Ds_server.c126 unsigned int max_psk_len) in psk_server_cb() argument
168 if (key_len > (int)max_psk_len) { in psk_server_cb()
171 max_psk_len, key_len); in psk_server_cb()
/third_party/nghttp2/src/
Dshrpx_tls.cc841 unsigned int max_psk_len) { in psk_server_cb() argument
851 if (secret.size() > max_psk_len) { in psk_server_cb()
853 << ", but the acceptable maximum size is" << max_psk_len; in psk_server_cb()
868 unsigned int max_psk_len) { in psk_client_cb() argument
885 if (secret.size() > max_psk_len) { in psk_client_cb()
887 << ", but the acceptable maximum size is " << max_psk_len; in psk_client_cb()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/
Dssl.h1356 int max_psk_len));
/third_party/openssl/ohos_lite/include/openssl/
Dssl.h828 unsigned int max_psk_len);
835 unsigned int max_psk_len);
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/
Dssl.h843 unsigned int max_psk_len);
850 unsigned int max_psk_len);
/third_party/node/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/
Dssl.h843 unsigned int max_psk_len);
850 unsigned int max_psk_len);
/third_party/node/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/
Dssl.h843 unsigned int max_psk_len);
850 unsigned int max_psk_len);
/third_party/node/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/
Dssl.h843 unsigned int max_psk_len);
850 unsigned int max_psk_len);
/third_party/node/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/
Dssl.h843 unsigned int max_psk_len);
850 unsigned int max_psk_len);
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/
Dssl.h843 unsigned int max_psk_len);
850 unsigned int max_psk_len);
/third_party/node/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/
Dssl.h843 unsigned int max_psk_len);
850 unsigned int max_psk_len);

1234