Home | History | Annotate | Download | only in apps

Lines Matching full:psk

124  * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites
307 char *psk_key=NULL; /* by default PSK is not used */
310 unsigned char *psk, unsigned int max_psk_len)
320 BIO_printf(bio_err,"Error: client did not send PSK identity\n");
330 BIO_printf(bio_s_out, "PSK error: client identity not found"
336 BIO_printf(bio_s_out, "PSK client identity found\n");
338 /* convert the PSK key to binary */
342 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key);
349 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n",
355 ret = BN_bn2bin(bn, psk);
363 BIO_printf(bio_s_out, "fetched PSK len=%d\n", psk_len);
367 BIO_printf(bio_err, "Error in PSK server callback\n");
453 BIO_printf(bio_err," -psk_hint arg - PSK identity hint to use\n");
454 BIO_printf(bio_err," -psk arg - PSK in hex (without 0x)\n");
897 /* by default do not send a PSK identity hint */
1123 else if (strcmp(*argv,"-psk") == 0)
1256 "Can't use JPAKE and PSK together\n");
1262 BIO_printf(bio_err, "JPAKE sets cipher to PSK\n");
1265 cipher = "PSK";
1686 BIO_printf(bio_s_out, "PSK key given or JPAKE in use, setting server callback\n");
1692 BIO_printf(bio_err,"error setting PSK identity hint to context\n");