Home
last modified time | relevance | path

Searched refs:oldpass (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/pkcs12/
H A Dp12_npas.c20 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass);
21 static int newpass_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *oldpass,
23 static int newpass_bag(PKCS12_SAFEBAG *bag, const char *oldpass,
32 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass) in PKCS12_newpass() argument
43 if (!PKCS12_verify_mac(p12, oldpass, -1)) { in PKCS12_newpass()
48 if (!newpass_p12(p12, oldpass, newpass)) { in PKCS12_newpass()
58 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass) in newpass_p12() argument
79 bags = PKCS12_unpack_p7encdata(p7, oldpass, -1); in newpass_p12()
89 if (!newpass_bags(bags, oldpass, newpass)) in newpass_p12()
133 static int newpass_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *oldpass, in newpass_bags() argument
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/pkcs12/
H A Dp12_npas.c20 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass);
21 static int newpass_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *oldpass,
23 static int newpass_bag(PKCS12_SAFEBAG *bag, const char *oldpass,
32 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass) in PKCS12_newpass() argument
44 if (!PKCS12_verify_mac(p12, oldpass, -1)) { in PKCS12_newpass()
49 if (!newpass_p12(p12, oldpass, newpass)) { in PKCS12_newpass()
59 static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass) in newpass_p12() argument
80 bags = PKCS12_unpack_p7encdata(p7, oldpass, -1); in newpass_p12()
89 if (!newpass_bags(bags, oldpass, newpass)) in newpass_p12()
133 static int newpass_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *oldpass, in newpass_bags() argument
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DPKCS12_newpass.pod11 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);
17 B<p12> is a pointer to a PKCS12 structure. B<oldpass> is the existing password
20 Each of B<oldpass> and B<newpass> is independently interpreted as a string in
31 string "" for B<oldpass>. Using NULL for B<oldpass> will result in a
34 If the wrong password is used for B<oldpass> then the function will fail,
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DPKCS12_newpass.pod11 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);
17 B<p12> is a pointer to a PKCS12 structure. B<oldpass> is the existing password
22 Each of B<oldpass> and B<newpass> is independently interpreted as a string in
89 string "" for B<oldpass>. Using NULL for B<oldpass> will result in a
92 If the wrong password is used for B<oldpass> then the function will fail,
/netbsd-src/usr.bin/chpass/
H A Dpw_yp.c154 yppw.oldpass = getpass("Old password:"); in pw_yp()
155 if (!yppw.oldpass) { in pw_yp()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dpasswd.c356 struct berval *oldpass, in slap_passwd_parse() argument
409 if( oldpass == NULL ) { in slap_passwd_parse()
417 tag = ber_get_stringbv( ber, oldpass, LBER_BV_NOTERM ); in slap_passwd_parse()
425 if( oldpass->bv_len == 0 ) { in slap_passwd_parse()
H A Dproto-slap.h1555 struct berval *oldpass,
/netbsd-src/lib/librpcsvc/
H A Dyppasswd.x55 string oldpass<>; /* unencrypted old password */
/netbsd-src/lib/libpam/modules/pam_unix/
H A Dpam_unix.c298 yppwd.oldpass = strdup(old_pass); in yp_set_password()
335 if (yppwd.oldpass != NULL) in yp_set_password()
336 free(yppwd.oldpass); in yp_set_password()
/netbsd-src/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_mkpw.c125 strcmp(crypt(argp->oldpass, pw.pw_passwd), pw.pw_passwd) != 0) in make_passwd()
/netbsd-src/usr.bin/passwd/
H A Dyp_passwd.c156 ypp->newpw.pw_passwd = getnewpasswd(pw, &ypp->oldpass); in makeypp()
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dpkcs12.h218 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dpkcs12.h.in322 int PKCS12_newpass(PKCS12 *p12, const char *oldpass, const char *newpass);