Home | History | Annotate | Download | only in default

Lines Matching defs:passwd

93     char          passwd[256];
100 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
106 out, (unsigned long long) tests[i].outlen, passwd,
142 char passwd[256];
149 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
155 out, (unsigned long long) tests[i].outlen, passwd,
169 const char *passwd;
278 char * passwd;
285 passwd = (char *) sodium_malloc(strlen(tests[i].passwd) + 1U);
286 assert(passwd != NULL);
287 memcpy(passwd, tests[i].passwd, strlen(tests[i].passwd) + 1U);
289 out, passwd, strlen(passwd)) != 0) {
293 sodium_free(passwd);
303 const char *passwd = "Correct Horse Battery Staple";
312 if (crypto_pwhash_scryptsalsa208sha256_str(str_out, passwd, strlen(passwd),
316 if (crypto_pwhash_scryptsalsa208sha256_str(str_out2, passwd, strlen(passwd),
341 passwd,
342 strlen(passwd)) != 0) {
345 if (crypto_pwhash_scryptsalsa208sha256_str_verify(str_out, passwd,
346 strlen(passwd)) != 0) {
350 if (crypto_pwhash_scryptsalsa208sha256_str_verify(str_out, passwd,
351 strlen(passwd)) == 0) {