Home
last modified time | relevance | path

Searched refs:passphrase (Results 1 – 25 of 131) sorted by relevance

123456

/netbsd-src/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_add_passphrase.c66 new_read_passphrase(struct archive_read *a, const char *passphrase) in new_read_passphrase() argument
76 p->passphrase = strdup(passphrase); in new_read_passphrase()
77 if (p->passphrase == NULL) { in new_read_passphrase()
87 archive_read_add_passphrase(struct archive *_a, const char *passphrase) in archive_read_add_passphrase() argument
95 if (passphrase == NULL || passphrase[0] == '\0') { in archive_read_add_passphrase()
101 p = new_read_passphrase(a, passphrase); in archive_read_add_passphrase()
141 const char *passphrase; in __archive_read_next_passphrase() local
171 passphrase = p->passphrase; in __archive_read_next_passphrase()
176 passphrase = a->passphrases.callback(&a->archive, in __archive_read_next_passphrase()
178 if (passphrase != NULL) { in __archive_read_next_passphrase()
[all …]
H A Darchive_write_set_passphrase.c41 free(a->passphrase); in set_passphrase()
42 a->passphrase = strdup(p); in set_passphrase()
43 if (a->passphrase == NULL) { in set_passphrase()
83 if (a->passphrase != NULL) in __archive_write_get_passphrase()
84 return (a->passphrase); in __archive_write_get_passphrase()
94 return (a->passphrase); in __archive_write_get_passphrase()
/netbsd-src/crypto/external/bsd/openssl/dist/demos/encode/
H A Dec_encode.c29 static EVP_PKEY *load_key(OSSL_LIB_CTX *libctx, FILE *f, const char *passphrase) in load_key() argument
63 if (passphrase != NULL) { in load_key()
65 (const unsigned char *)passphrase, in load_key()
66 strlen(passphrase)) == 0) { in load_key()
101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase) in store_key() argument
121 selection = (passphrase != NULL) in store_key()
143 if (passphrase != NULL) { in store_key()
155 (const unsigned char *)passphrase, in store_key()
156 strlen(passphrase)) == 0) { in store_key()
H A Drsa_encode.c29 static EVP_PKEY *load_key(OSSL_LIB_CTX *libctx, FILE *f, const char *passphrase) in load_key() argument
63 if (passphrase != NULL) { in load_key()
65 (const unsigned char *)passphrase, in load_key()
66 strlen(passphrase)) == 0) { in load_key()
101 static int store_key(EVP_PKEY *pkey, FILE *f, const char *passphrase) in store_key() argument
121 selection = (passphrase != NULL) in store_key()
143 if (passphrase != NULL) { in store_key()
152 (const unsigned char *)passphrase, in store_key()
153 strlen(passphrase)) == 0) { in store_key()
/netbsd-src/external/gpl3/autoconf/dist/build-aux/
H A Dgnupload238 unset passphrase
248 read -r passphrase
257 echo "$passphrase" | $dbg $GPG --passphrase-fd 0 -ba -o $file.sig $file
315 echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
320 echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
339 echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
348 echo "$passphrase" | $dbg $GPG --passphrase-fd 0 --clearsign $base.directive
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dauthfile.c69 const char *passphrase, const char *comment, in sshkey_save_private() argument
77 if ((r = sshkey_private_to_fileblob(key, keyblob, passphrase, comment, in sshkey_save_private()
115 sshkey_load_private_type(int type, const char *filename, const char *passphrase, in sshkey_load_private_type() argument
132 r = sshkey_load_private_type_fd(fd, type, passphrase, keyp, commentp); in sshkey_load_private_type()
141 sshkey_load_private(const char *filename, const char *passphrase, in sshkey_load_private() argument
144 return sshkey_load_private_type(KEY_UNSPEC, filename, passphrase, in sshkey_load_private()
149 sshkey_load_private_type_fd(int fd, int type, const char *passphrase, in sshkey_load_private_type_fd() argument
159 passphrase, keyp, commentp)) != 0) in sshkey_load_private_type_fd()
318 sshkey_load_private_cert(int type, const char *filename, const char *passphrase, in sshkey_load_private_cert() argument
342 passphrase, &key, NULL)) != 0 || in sshkey_load_private_cert()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/librsa/
H A Drsastubs.c41 char *passphrase; in pass_cb() local
46 if ((passphrase = getpass(prompt)) == NULL) { in pass_cb()
49 (void) memcpy(buf, passphrase, (size_t)size); in pass_cb()
50 return (int)strlen(passphrase); in pass_cb()
/netbsd-src/lib/libpam/modules/pam_ssh/
H A Dpam_ssh.c101 pam_ssh_load_key(const char *dir, const char *kfn, const char *passphrase, in pam_ssh_load_key() argument
122 if (r == 0 && !(*passphrase == '\0' && nullok)) { in pam_ssh_load_key()
129 r = sshkey_load_private(fn, passphrase, &key, &comment); in pam_ssh_load_key()
167 const char **kfn, *passphrase, *user; in pam_sm_authenticate() local
195 &passphrase, pam_ssh_prompt); in pam_sm_authenticate()
206 psk = pam_ssh_load_key(pwd->pw_dir, *kfn, passphrase, nullok); in pam_sm_authenticate()
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DPKCS12_gen_mac.pod35 I<pass> is the passphrase to use in the HMAC. I<salt> is the salt value to use,
47 regarding the encoding of the given passphrase. See L<passphrase-encoding(7)>
63 L<passphrase-encoding(7)>
H A DUI_UTIL_read_pw.pod20 UI_UTIL_read_pw_string() asks for a passphrase, using B<prompt> as a
28 verification passphrase.
33 passphrase entry without (0) or with (1) verification.
H A DPEM_bytes_read_bio.pod29 the data will be decrypted, waiting on user input to supply a passphrase
31 the decryption passphrase, if applicable.
71 L<passphrase-encoding(7)>
/netbsd-src/external/bsd/wpa/dist/hostapd/
H A Dhostapd.radius_clients2 10.1.2.3 secret passphrase
3 192.168.1.0/24 another very secret passphrase
/netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A DHOWTO8 Enter passphrase (empty for no passphrase):
9 Enter same passphrase again:
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DUI_UTIL_read_pw.pod20 UI_UTIL_read_pw_string() asks for a passphrase, using B<prompt> as a
28 verification passphrase.
33 passphrase entry without (0) or with (1) verification.
H A DPEM_bytes_read_bio.pod29 the data will be decrypted, waiting on user input to supply a passphrase
31 the decryption passphrase, if applicable.
71 L<passphrase-encoding(7)>
H A DPKCS12_create.pod19 B<pass> is the passphrase to use. B<name> is the B<friendlyName> to use for
66 See L<passphrase-encoding(7)> for more information.
75 L<passphrase-encoding(7)>
H A DPEM_read_bio_PrivateKey.pod285 B<klen> bytes at B<kstr> are used as the passphrase and B<cb> is
290 to use as the passphrase. If both B<cb> and B<u> are NULL then the
292 passphrase on the current terminal with echoing turned off.
294 The default passphrase callback is sometimes inappropriate (for example
300 B<buf> is the buffer to write the passphrase to. B<size> is the maximum
301 length of the passphrase (i.e. the size of buf). B<rwflag> is a flag
303 will ask the user to verify the passphrase (for example by prompting
308 B<must> return the number of characters in the passphrase or -1 if
476 L<passphrase-encoding(7)>
H A DPKCS12_parse.pod18 B<p12> is the B<PKCS12> structure to parse. B<pass> is the passphrase to use.
62 L<passphrase-encoding(7)>
/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dkeyring.c225 char *passphrase; member
250 *content->skey_passphrase.passphrase = netpgp_strdup(pass); in decrypt_cb()
304 *content->skey_passphrase.passphrase = netpgp_strdup(""); in decrypt_cb_empty()
833 uint8_t *passphrase) in pgp_keyring_filewrite() argument
867 pgp_write_xfer_seckey(output, key, passphrase, in pgp_keyring_filewrite()
868 strlen((char *)passphrase), 0); in pgp_keyring_filewrite()
1148 pgp_export_key(pgp_io_t *io, const pgp_key_t *keydata, uint8_t *passphrase) in pgp_export_key() argument
1159 pgp_write_xfer_seckey(output, keydata, passphrase, in pgp_export_key()
1160 strlen((char *)passphrase), 1); in pgp_export_key()
H A Dcreate.c283 const uint8_t *passphrase, in write_seckey_body() argument
403 hash.add(&hash, passphrase, (unsigned)pplen); in write_seckey_body()
566 const uint8_t *passphrase, in pgp_write_xfer_seckey() argument
576 if (!pgp_write_struct_seckey(&key->key.seckey, passphrase, in pgp_write_xfer_seckey()
702 const uint8_t *passphrase, in pgp_write_struct_seckey() argument
787 write_seckey_body(key, passphrase, pplen, output); in pgp_write_struct_seckey()
H A Dnetpgp.c313 writekeyring(netpgp_t *netpgp, const char *name, pgp_keyring_t *keyring, uint8_t *passphrase) in writekeyring() argument
319 if (!pgp_keyring_filewrite(keyring, noarmor, filename, passphrase)) { in writekeyring()
754 find_passphrase(FILE *passfp, const char *id, char *passphrase, size_t size, int attempts) in find_passphrase() argument
763 if (fgets(passphrase, (int)size, passfp) == NULL) { in find_passphrase()
766 return (int)strlen(passphrase); in find_passphrase()
778 cc = snprintf(passphrase, size, "%s", cp); in find_passphrase()
779 if (strcmp(buf, passphrase) == 0) { in find_passphrase()
785 (void) memset(passphrase, 0x0, size); in find_passphrase()
1239 char passphrase[128]; in netpgp_generate_key() local
1304 passc = find_passphrase(netpgp->passfp, &cp[ID_OFFSET], passphrase, sizeof(passphrase), attempts); in netpgp_generate_key()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/otp/
H A Dotptest.c72 char *passphrase; in test() member
127 if(alg->init (key, t->passphrase, t->seed)) in test()
/netbsd-src/crypto/external/bsd/netpgp/dist/
H A DTODO73 don't require passphrase for keys without one
88 print signing key info properly when prompting for passphrase
89 print decryption key info properly when prompting for passphrase
98 make netpgpkeys work - add, import, commit, update, sign, passphrase
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A Dpassphrase.c34 const unsigned char *passphrase, in ossl_pw_set_passphrase() argument
37 if (!ossl_assert(data != NULL && passphrase != NULL)) { in ossl_pw_set_passphrase()
44 passphrase_len != 0 ? OPENSSL_memdup(passphrase, passphrase_len) in ossl_pw_set_passphrase()
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man1/
H A Dtsget.pod86 file can optionally be protected by a passphrase. The B<-c> option must also
91 (HTTPS) Specifies the passphrase for the private key specified by the B<-k>
92 argument. If this option is omitted and the key is passphrase protected B<tsget>
171 client authentication (it will ask for the passphrase if client_key.pem is

123456