Lines Matching full:psk
119 * Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites
216 /* Default PSK identity and key */
218 /*char *psk_key=NULL; by default PSK is not used */
221 unsigned int max_identity_len, unsigned char *psk,
234 BIO_printf(bio_c_out,"NULL received PSK identity hint, continuing anyway\n");
237 BIO_printf(bio_c_out, "Received PSK identity hint '%s'\n", hint);
239 /* lookup PSK identity and PSK key based on the given identity hint here */
248 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key);
256 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n",
262 psk_len=BN_bn2bin(bn, psk);
268 BIO_printf(bio_c_out, "created PSK len=%d\n", psk_len);
273 BIO_printf(bio_err, "Error in PSK client callback\n");
313 BIO_printf(bio_err," -psk_identity arg - PSK identity\n");
314 BIO_printf(bio_err," -psk arg - PSK in hex (without 0x)\n");
618 else if (strcmp(*argv,"-psk") == 0)
799 "Can't use JPAKE and PSK together\n");
807 BIO_printf(bio_err, "JPAKE sets cipher to PSK\n");
810 cipher = "PSK";
936 BIO_printf(bio_c_out, "PSK key given or JPAKE in use, setting client callback\n");