Lines Matching defs:key
64 {"p", OPT_P, '-', "Print the iv/key"},
65 {"P", OPT_UPPER_P, '-', "Print the iv/key and exit"},
91 {"K", OPT_UPPER_K, 's', "Raw key, in hex"},
94 {"md", OPT_MD, 's', "Use specified digest to create a key from the passphrase"},
99 "Use password-based key derivation function 2 (PBKDF2)"},
134 unsigned char key[EVP_MAX_KEY_LENGTH], iv[EVP_MAX_IV_LENGTH];
251 "%s Can't read key from %s\n", prog, opt_arg());
492 * derive key and default iv
506 memcpy(key, tmpkeyiv, iklen);
510 "deprecated key derivation used.\n"
514 1, key, iv)) {
547 if (!set_hex(hkey, key, EVP_CIPHER_get_key_length(cipher))) {
548 BIO_printf(bio_err, "invalid hex key value\n");
575 if (!EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc)) {
595 printf("key=");
597 printf("%02X", key[i]);