Lines Matching defs:key
53 static char *cert_file = NULL; /* Combined certificate and private key in PEM */
57 #define MAX_KEY 64 /* Maximum length of a pre-shared key in bytes. */
58 static uint8_t key[MAX_KEY];
296 /* key is only valid if we are at end of string or delimiter follows */
571 "\t [[-h hint] [-k key]]\n"
591 "\t-k key \t\tPre-Shared Key. This argument requires (D)TLS with PSK\n"
658 dtls_pki.pki_key.key.pem.public_cert = cert_file;
659 dtls_pki.pki_key.key.pem.private_key = cert_file;
660 dtls_pki.pki_key.key.pem.ca_file = ca_file;
680 dtls_psk.psk_info.key.s = key;
681 dtls_psk.psk_info.key.length = key_length;
799 key_length = cmdline_read_key(optarg, key, MAX_KEY);