| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | pwhash_scrypt.c | 93 char passwd[256]; in tv() local 100 sodium_hex2bin((unsigned char *) passwd, sizeof passwd, in tv() 149 sodium_hex2bin((unsigned char *) passwd, sizeof passwd, in tv2() 169 const char *passwd; in tv3() member 278 char * passwd; in tv3() local 285 passwd = (char *) sodium_malloc(strlen(tests[i].passwd) + 1U); in tv3() 287 memcpy(passwd, tests[i].passwd, strlen(tests[i].passwd) + 1U); in tv3() 289 out, passwd, strlen(passwd)) != 0) { in tv3() 293 sodium_free(passwd); in tv3() 312 if (crypto_pwhash_scryptsalsa208sha256_str(str_out, passwd, strlen(passwd), in str_tests() [all …]
|
| H A D | pwhash_argon2i.c | 88 sodium_hex2bin((unsigned char *) passwd, sizeof passwd, in tv() 140 sodium_hex2bin((unsigned char *) passwd, sizeof passwd, in tv2() 192 const char *passwd; in tv3() member 209 char *passwd; in tv3() local 217 passwd = (char *) sodium_malloc(strlen(tests[i].passwd) + 1U); in tv3() 219 memcpy(passwd, tests[i].passwd, strlen(tests[i].passwd) + 1U); in tv3() 220 ret = crypto_pwhash_str_verify(out, passwd, strlen(passwd)); in tv3() 242 if (crypto_pwhash_argon2i_str(str_out, passwd, strlen(passwd), OPSLIMIT, in str_tests() 246 if (crypto_pwhash_argon2i_str(str_out2, passwd, strlen(passwd), OPSLIMIT, in str_tests() 275 if (crypto_pwhash_argon2i_str_verify(str_out, passwd, strlen(passwd)) != 0) { in str_tests() [all …]
|
| H A D | pwhash_argon2id.c | 88 sodium_hex2bin((unsigned char *) passwd, sizeof passwd, in tv() 140 sodium_hex2bin((unsigned char *) passwd, sizeof passwd, in tv2() 205 char *passwd; in tv3() local 213 passwd = (char *) sodium_malloc(strlen(tests[i].passwd) + 1U); in tv3() 215 memcpy(passwd, tests[i].passwd, strlen(tests[i].passwd) + 1U); in tv3() 216 ret = crypto_pwhash_str_verify(out, passwd, strlen(passwd)); in tv3() 238 if (crypto_pwhash_str(str_out, passwd, strlen(passwd), OPSLIMIT, in str_tests() 242 if (crypto_pwhash_str(str_out2, passwd, strlen(passwd), OPSLIMIT, in str_tests() 287 if (crypto_pwhash_str_verify(str_out, passwd, strlen(passwd)) != 0) { in str_tests() 291 if (crypto_pwhash_str_verify(str_out, passwd, strlen(passwd)) != -1) { in str_tests() [all …]
|
| H A D | pwhash_scrypt_ll.c | 24 tv(const char *passwd, const char *salt, uint64_t N, uint32_t r, uint32_t p) in tv() argument 29 size_t passwd_len = strlen(passwd); in tv() 34 (const uint8_t *) passwd, passwd_len, (const uint8_t *) salt, in tv() 36 printf("pwhash_scryptsalsa208sha256_ll([%s],[%s]) failure\n", passwd, in tv() 41 printf("scrypt('%s', '%s', %lu, %lu, %lu, %lu) =\n", passwd, salt, in tv()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
| H A D | xattr_013_pos.ksh | 62 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 79 log_mustnot get_xattr passwd $TESTDIR/myfile.$$ 80 log_mustnot rm_xattr passwd $TESTDIR/myfile.$$ 81 log_mustnot set_xattr_stdin passwd $TESTDIR/myfile.$$ </etc/passwd 84 log_mustnot set_xattr_stdin passwd $TESTDIR/new.$$ </etc/passwd 85 log_mustnot rm_xattr passwd $TESTDIR/new.$$ 93 verify_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 100 log_mustnot get_xattr passwd $TESTDIR/new.$$ 102 create_xattr $TESTDIR/new.$$ passwd /etc/passwd
|
| H A D | xattr_011_pos.ksh | 60 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 71 create_xattr $TESTDIR/cpio.$$ passwd /etc/passwd 144 create_xattr $TESTDIR/mvfile.$$ passwd /etc/passwd 146 verify_xattr $TESTDIR/mvfile2.$$ passwd /etc/passwd 152 create_xattr $TESTDIR/pax.$$ passwd /etc/passwd 169 verify_xattr $TESTDIR/pax.$$ passwd /etc/passwd 183 create_xattr $TESTDIR/tar.$$ passwd /etc/passwd 198 verify_xattr tar.$$ passwd /etc/passwd 212 create_xattr $TESTDIR/tar.$$ passwd /etc/passwd 222 log_mustnot get_xattr passwd $TESTDIR/tar.$$ [all …]
|
| H A D | xattr_003_neg.ksh | 56 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 65 log_mustnot diff /etc/passwd /tmp/passwd.$$ 66 log_must rm /tmp/passwd.$$ 71 get_xattr passwd $TESTDIR/myfile.$$ >/tmp/passwd.$$ 72 log_must diff /etc/passwd /tmp/passwd.$$ 73 log_must rm /tmp/passwd.$$
|
| H A D | xattr_005_pos.ksh | 57 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 65 verify_xattr $TESTDIR/clone/myfile.$$ passwd /etc/passwd 68 create_xattr $TESTDIR/clone/myfile.$$ foo /etc/passwd 72 delete_xattr $TESTDIR/myfile.$$ passwd 75 verify_xattr $TESTDIR/clone/myfile.$$ passwd /etc/passwd 76 delete_xattr $TESTDIR/clone/myfile.$$ passwd
|
| H A D | xattr_009_neg.ksh | 54 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 57 log_mustnot runat $TESTDIR/myfile.$$ ln -s /etc/passwd foo 60 log_mustnot runat $TESTDIR/myfile.$$ ln /etc/passwd foo
|
| H A D | xattr_001_pos.ksh | 64 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 65 verify_write_xattr $TESTDIR/myfile.$$ passwd 66 delete_xattr $TESTDIR/myfile.$$ passwd
|
| H A D | xattr_006_pos.ksh | 55 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 61 verify_xattr $TESTDIR/.zfs/snapshot/snap/myfile.$$ passwd /etc/passwd
|
| H A D | xattr_008_pos.ksh | 57 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd 62 SUNWattr_ro SUNWattr_rw passwd 67 SUNWattr_ro SUNWattr_rw passwd
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/ |
| H A D | crypto_pwhash.c | 130 const char * const passwd, unsigned long long passwdlen, in crypto_pwhash() argument 136 return crypto_pwhash_argon2i(out, outlen, passwd, passwdlen, salt, in crypto_pwhash() 139 return crypto_pwhash_argon2id(out, outlen, passwd, passwdlen, salt, in crypto_pwhash() 149 const char * const passwd, unsigned long long passwdlen, in crypto_pwhash_str() argument 152 return crypto_pwhash_argon2id_str(out, passwd, passwdlen, in crypto_pwhash_str() 158 const char * const passwd, unsigned long long passwdlen, in crypto_pwhash_str_alg() argument 163 return crypto_pwhash_argon2i_str(out, passwd, passwdlen, in crypto_pwhash_str_alg() 166 return crypto_pwhash_argon2id_str(out, passwd, passwdlen, in crypto_pwhash_str_alg() 175 const char * const passwd, in crypto_pwhash_str_verify() argument 180 return crypto_pwhash_argon2id_str_verify(str, passwd, passwdlen); in crypto_pwhash_str_verify() [all …]
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_auth_basic_module.c | 25 ngx_str_t *passwd, ngx_str_t *realm); 168 passwd = 0; in ngx_http_auth_basic_handler() 211 passwd = i + 1; in ngx_http_auth_basic_handler() 224 pwd.len = i - passwd; in ngx_http_auth_basic_handler() 225 pwd.data = &buf[passwd]; in ngx_http_auth_basic_handler() 243 left = left + n - passwd; in ngx_http_auth_basic_handler() 244 ngx_memmove(buf, &buf[passwd], left); in ngx_http_auth_basic_handler() 245 passwd = 0; in ngx_http_auth_basic_handler() 257 pwd.len = i - passwd; in ngx_http_auth_basic_handler() 283 rc = ngx_crypt(r->pool, r->headers_in.passwd.data, passwd->data, in ngx_http_auth_basic_crypt_handler() [all …]
|
| /f-stack/tools/libutil/ |
| H A D | libutil.h | 156 int pw_copy(int _ffd, int _tfd, const struct passwd *_pw, 157 struct passwd *_old_pw); 158 struct passwd 159 *pw_dup(const struct passwd *_pw); 161 int pw_equal(const struct passwd *_pw1, const struct passwd *_pw2); 164 void pw_initpwd(struct passwd *_pw); 165 char *pw_make(const struct passwd *_pw); 166 char *pw_make_v7(const struct passwd *_pw); 169 struct passwd *
|
| H A D | login_cap.h | 100 struct passwd; 103 login_cap_t *login_getclassbyname(const char *, const struct passwd *); 105 login_cap_t *login_getpwclass(const struct passwd *); 106 login_cap_t *login_getuserclass(const struct passwd *); 121 int setusercontext(login_cap_t *, const struct passwd *, uid_t, unsigned int); 123 void setclassenvironment(login_cap_t *, const struct passwd *, int);
|
| H A D | pw_util.c | 382 pw_equal(const struct passwd *pw1, const struct passwd *pw2) in pw_equal() 399 pw_make(const struct passwd *pw) in pw_make() 429 pw_copy(int ffd, int tfd, const struct passwd *pw, struct passwd *old_pw) in pw_copy() 432 struct passwd *fpw; in pw_copy() 433 const struct passwd *spw; in pw_copy() 604 struct passwd * 605 pw_dup(const struct passwd *pw) in pw_dup() 608 struct passwd *npw; in pw_dup() 662 pw_initpwd(struct passwd *pw) in pw_initpwd() 668 struct passwd * [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | pwhash_argon2id.c | 137 const char *const passwd, unsigned long long passwdlen, in crypto_pwhash_argon2id() argument 165 (uint32_t) 1U, passwd, (size_t) passwdlen, salt, in crypto_pwhash_argon2id() 179 const char *const passwd, in crypto_pwhash_argon2id_str() argument 200 (uint32_t) 1U, passwd, (size_t) passwdlen, salt, in crypto_pwhash_argon2id_str() 210 const char *const passwd, in crypto_pwhash_argon2id_str_verify() argument 226 verify_ret = argon2id_verify(str, passwd, (size_t) passwdlen); in crypto_pwhash_argon2id_str_verify()
|
| H A D | pwhash_argon2i.c | 141 const char *const passwd, unsigned long long passwdlen, in crypto_pwhash_argon2i() argument 169 (uint32_t) 1U, passwd, (size_t) passwdlen, salt, in crypto_pwhash_argon2i() 183 const char *const passwd, in crypto_pwhash_argon2i_str() argument 204 (uint32_t) 1U, passwd, (size_t) passwdlen, salt, in crypto_pwhash_argon2i_str() 214 const char *const passwd, in crypto_pwhash_argon2i_str_verify() argument 230 verify_ret = argon2i_verify(str, passwd, (size_t) passwdlen); in crypto_pwhash_argon2i_str_verify()
|
| /f-stack/app/nginx-1.16.1/src/mail/ |
| H A D | ngx_mail_pop3_handler.c | 325 s->passwd.len = arg[0].len; in ngx_mail_pop3_pass() 326 s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); in ngx_mail_pop3_pass() 327 if (s->passwd.data == NULL) { in ngx_mail_pop3_pass() 331 ngx_memcpy(s->passwd.data, arg[0].data, s->passwd.len); in ngx_mail_pop3_pass() 335 "pop3 passwd: \"%V\"", &s->passwd); in ngx_mail_pop3_pass() 426 s->passwd.len = arg[1].len; in ngx_mail_pop3_apop() 427 s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); in ngx_mail_pop3_apop() 428 if (s->passwd.data == NULL) { in ngx_mail_pop3_apop() 432 ngx_memcpy(s->passwd.data, arg[1].data, s->passwd.len); in ngx_mail_pop3_apop() 435 "pop3 apop: \"%V\" \"%V\"", &s->login, &s->passwd); in ngx_mail_pop3_apop()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_pwhash_scryptsalsa208sha256.h | 82 const char * const passwd, 91 const char * const passwd, 99 const char * const passwd, 104 int crypto_pwhash_scryptsalsa208sha256_ll(const uint8_t * passwd, size_t passwdlen,
|
| H A D | crypto_pwhash.h | 105 const char * const passwd, unsigned long long passwdlen, 117 const char * const passwd, unsigned long long passwdlen, 123 const char * const passwd, unsigned long long passwdlen, 129 const char * const passwd,
|
| H A D | crypto_pwhash_argon2i.h | 93 const char * const passwd, 102 const char * const passwd, 109 const char * const passwd,
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
| H A D | pwhash_scryptsalsa208sha256.c | 159 const char *const passwd, in crypto_pwhash_scryptsalsa208sha256() argument 180 (const uint8_t *) passwd, (size_t) passwdlen, (const uint8_t *) salt, in crypto_pwhash_scryptsalsa208sha256() 188 const char *const passwd, unsigned long long passwdlen, in crypto_pwhash_scryptsalsa208sha256_str() argument 217 if (escrypt_r(&escrypt_local, (const uint8_t *) passwd, (size_t) passwdlen, in crypto_pwhash_scryptsalsa208sha256_str() 242 const char *const passwd, unsigned long long passwdlen) in crypto_pwhash_scryptsalsa208sha256_str_verify() argument 256 if (escrypt_r(&escrypt_local, (const uint8_t *) passwd, (size_t) passwdlen, in crypto_pwhash_scryptsalsa208sha256_str_verify()
|
| H A D | pbkdf2-sha256.c | 47 PBKDF2_SHA256(const uint8_t *passwd, size_t passwdlen, const uint8_t *salt, in PBKDF2_SHA256() argument 66 crypto_auth_hmacsha256_init(&PShctx, passwd, passwdlen); in PBKDF2_SHA256() 78 crypto_auth_hmacsha256_init(&hctx, passwd, passwdlen); in PBKDF2_SHA256()
|