Searched refs:psk_key (Results 1 – 4 of 4) sorted by relevance
/openssl/test/ |
H A D | ssl_old_test.c | 94 static char *psk_key = NULL; /* by default PSK is not used */ variable 1023 psk_key = *(++argv); in main() 1025 if (strspn(psk_key, "abcdefABCDEF1234567890") != strlen(psk_key)) { in main() 1600 if (psk_key != NULL) { in main() 2995 ret = psk_key2bn(psk_key, psk, max_psk_len); in psk_client_callback() 3013 psk_len = psk_key2bn(psk_key, psk, max_psk_len); in psk_server_callback()
|
/openssl/apps/ |
H A D | s_server.c | 125 char *psk_key = NULL; /* by default PSK is not used */ variable 168 key = OPENSSL_hexstr2buf(psk_key, &key_len); in psk_server_cb() 171 psk_key); in psk_server_cb() 217 key = OPENSSL_hexstr2buf(psk_key, &key_len); in psk_find_session_cb() 220 psk_key); in psk_find_session_cb() 1481 for (p = psk_key = opt_arg(); *p; p++) { in s_server_main() 1484 BIO_printf(bio_err, "Not a hex number '%s'\n", psk_key); in s_server_main() 2204 if (psk_key != NULL) { in s_server_main() 2240 if (psk_key != NULL || psksess != NULL) in s_server_main()
|
H A D | s_client.c | 172 key = OPENSSL_hexstr2buf(psk_key, &key_len); in psk_client_cb() 175 psk_key); in psk_client_cb() 215 unsigned char *key = OPENSSL_hexstr2buf(psk_key, &key_len); in psk_use_session_cb() 219 psk_key); in psk_use_session_cb() 1240 for (p = psk_key = opt_arg(); *p; p++) { in s_client_main() 1243 BIO_printf(bio_err, "Not a hex number '%s'\n", psk_key); in s_client_main() 1926 if (psk_key != NULL) { in s_client_main() 1948 if (psk_key != NULL || psksess != NULL) in s_client_main()
|
/openssl/apps/include/ |
H A D | apps.h | 274 extern char *psk_key;
|
Completed in 36 milliseconds