Home | History | Annotate | Download | only in apps

Lines Matching refs:psk

119  * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites
222 /* Default PSK identity and key */
224 /*char *psk_key=NULL; by default PSK is not used */
227 unsigned int max_identity_len, unsigned char *psk,
240 BIO_printf(bio_c_out,"NULL received PSK identity hint, continuing anyway\n");
243 BIO_printf(bio_c_out, "Received PSK identity hint '%s'\n", hint);
245 /* lookup PSK identity and PSK key based on the given identity hint here */
254 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key);
262 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n",
268 psk_len=BN_bn2bin(bn, psk);
274 BIO_printf(bio_c_out, "created PSK len=%d\n", psk_len);
279 BIO_printf(bio_err, "Error in PSK client callback\n");
321 BIO_printf(bio_err," -psk_identity arg - PSK identity\n");
322 BIO_printf(bio_err," -psk arg - PSK in hex (without 0x)\n");
766 else if (strcmp(*argv,"-psk") == 0)
1015 "Can't use JPAKE and PSK together\n");
1021 BIO_printf(bio_err, "JPAKE sets cipher to PSK\n");
1024 cipher = "PSK";
1159 BIO_printf(bio_c_out, "PSK key given or JPAKE in use, setting client callback\n");