Home
last modified time | relevance | path

Searched refs:cached_passphrase (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/openssl/crypto/
H A Dpassphrase.c29 OPENSSL_clear_free(data->cached_passphrase, data->cached_passphrase_len); in ossl_pw_clear_passphrase_cache()
30 data->cached_passphrase = NULL; in ossl_pw_clear_passphrase_cache()
228 } else if (data->flag_cache_passphrase && data->cached_passphrase != NULL) { in ossl_pw_get_passphrase()
229 source = data->cached_passphrase; in ossl_pw_get_passphrase()
293 if (data->cached_passphrase == NULL in ossl_pw_get_passphrase()
296 OPENSSL_clear_realloc(data->cached_passphrase, in ossl_pw_get_passphrase()
305 data->cached_passphrase = new_cache; in ossl_pw_get_passphrase()
307 memcpy(data->cached_passphrase, pass, *pass_len); in ossl_pw_get_passphrase()
308 data->cached_passphrase[*pass_len] = '\0'; in ossl_pw_get_passphrase()
/freebsd/lib/geom/eli/
H A Dgeom_eli.c68 static char cached_passphrase[BUFSIZE] = ""; variable
520 if (strlen(cached_passphrase) > 0) { in eli_genkey_passphrase()
521 strlcpy(passbuf, cached_passphrase, sizeof(passbuf)); in eli_genkey_passphrase()
534 strlcpy(cached_passphrase, passbuf, sizeof(cached_passphrase)); in eli_genkey_passphrase()
1132 explicit_bzero(cached_passphrase, sizeof(cached_passphrase)); in eli_attach()
1427 explicit_bzero(cached_passphrase, sizeof(cached_passphrase)); in eli_setkey_detached()
/freebsd/crypto/openssl/include/internal/
H A Dpassphrase.h81 char *cached_passphrase; member
/freebsd/sys/geom/eli/
H A Dg_eli.c145 static char cached_passphrase[256]; variable
160 strlcpy(cached_passphrase, env_passphrase, in fetch_loader_passphrase()
161 sizeof(cached_passphrase)); in fetch_loader_passphrase()
175 explicit_bzero(cached_passphrase, sizeof(cached_passphrase)); in zero_boot_passcache()
1419 memcpy(passphrase, cached_passphrase, in g_eli_taste()
1428 memcpy(cached_passphrase, passphrase, in g_eli_taste()