Lines Matching defs:passphrase
72 "Number of tries for entering the passphrase");
77 "Visibility of passphrase prompt (0 = invisible, 1 = visible, 2 = asterisk)");
93 * there are multiple providers using the same passphrase.
108 if ((env_passphrase = getenv("kern.geom.eli.passphrase")) != NULL) {
109 /* Extract passphrase from the environment. */
114 /* Wipe the passphrase from the environment. */
115 unsetenv("kern.geom.eli.passphrase");
1063 char passphrase[256];
1098 /* If there is no passphrase, we try only once. */
1101 /* Ask for the passphrase no more than g_eli_tries times. */
1115 * No key files and no passphrase, something is
1118 * that there was really no passphrase and in that case
1127 /* Ask for the passphrase if defined. */
1129 /* Try first with cached passphrase. */
1133 memcpy(passphrase, cached_passphrase,
1134 sizeof(passphrase));
1136 printf("Enter passphrase for %s: ", pp->name);
1137 cngets(passphrase, sizeof(passphrase),
1139 memcpy(cached_passphrase, passphrase,
1140 sizeof(passphrase));
1145 * Prepare Derived-Key from the user passphrase.
1150 g_eli_crypto_hmac_update(&ctx, passphrase,
1151 strlen(passphrase));
1152 bzero(passphrase, sizeof(passphrase));
1157 sizeof(md.md_salt), passphrase, md.md_iterations);
1158 bzero(passphrase, sizeof(passphrase));