Searched refs:max_psk_len (Results 1 – 9 of 9) sorted by relevance
/openssl/test/ |
H A D | dtls_mtu_test.c | 28 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()
|
H A D | ssl_old_test.c | 100 unsigned int max_psk_len); 103 unsigned int max_psk_len); 2956 unsigned int max_psk_len) in psk_key2bn() argument 2968 if (BN_num_bytes(bn) > (int)max_psk_len) { in psk_key2bn() 2971 max_psk_len, BN_num_bytes(bn)); in psk_key2bn() 2984 unsigned int max_psk_len) in psk_client_callback() argument 2995 ret = psk_key2bn(psk_key, psk, max_psk_len); in psk_client_callback() 3005 unsigned int max_psk_len) in psk_server_callback() argument 3013 psk_len = psk_key2bn(psk_key, psk, max_psk_len); in psk_server_callback()
|
H A D | sslapitest.c | 3292 unsigned int max_psk_len) in psk_client_cb() argument 3309 if (SSL_SESSION_get_master_key(clientpsk, NULL, 0) > max_psk_len) in psk_client_cb() 3311 psklen = SSL_SESSION_get_master_key(clientpsk, psk, max_psk_len); in psk_client_cb() 3346 unsigned char *psk, unsigned int max_psk_len) in psk_server_cb() argument 3365 if (SSL_SESSION_get_master_key(serverpsk, NULL, 0) > max_psk_len) in psk_server_cb() 3367 psklen = SSL_SESSION_get_master_key(serverpsk, psk, max_psk_len); in psk_server_cb()
|
/openssl/doc/man3/ |
H A D | SSL_CTX_use_psk_identity_hint.pod | 32 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>.
|
H A D | SSL_CTX_set_psk_client_callback.pod | 33 unsigned int max_psk_len); 114 of length B<max_psk_len> bytes where the resulting pre-shared key is to
|
/openssl/apps/ |
H A D | ciphers.c | 82 unsigned int max_psk_len) in dummy_psk() argument
|
H A D | s_client.c | 144 unsigned int max_psk_len) in psk_client_cb() argument 178 if (max_psk_len > INT_MAX || key_len > (long)max_psk_len) { in psk_client_cb() 181 max_psk_len, key_len); in psk_client_cb()
|
H A D | s_server.c | 132 unsigned int max_psk_len) in psk_server_cb() argument 174 if (key_len > (int)max_psk_len) { in psk_server_cb() 177 max_psk_len, key_len); in psk_server_cb()
|
/openssl/include/openssl/ |
H A D | ssl.h.in | 840 unsigned int max_psk_len); 847 unsigned int max_psk_len);
|
Completed in 102 milliseconds