/src/sys/external/isc/libsodium/dist/test/default/ |
pwhash_argon2i.c | 233 char *str_out2; local in function:str_tests 239 str_out2 = (char *) sodium_malloc(crypto_pwhash_STRBYTES); 245 if (crypto_pwhash_argon2i_str(str_out2, passwd, strlen(passwd), OPSLIMIT, 249 if (strcmp(str_out, str_out2) == 0) { 270 sodium_is_zero((const unsigned char *) str_out2 + strlen(str_out2), 271 crypto_pwhash_STRBYTES - strlen(str_out2)) != 1) { 284 if (crypto_pwhash_argon2i_str(str_out2, passwd, 0x100000000ULL, OPSLIMIT, 288 if (crypto_pwhash_argon2i_str(str_out2, passwd, strlen(passwd), 1, MEMLIMIT) != 394 sodium_free(str_out2); [all...] |
pwhash_argon2id.c | 229 char *str_out2; local in function:str_tests 236 str_out2 = (char *) sodium_malloc(crypto_pwhash_argon2id_STRBYTES); 242 if (crypto_pwhash_str(str_out2, passwd, strlen(passwd), OPSLIMIT, 246 if (strcmp(str_out, str_out2) == 0) { 280 sodium_is_zero((const unsigned char *) str_out2 + strlen(str_out2), 281 crypto_pwhash_STRBYTES - strlen(str_out2)) != 1) { 297 if (crypto_pwhash_str(str_out2, passwd, 0x100000000ULL, OPSLIMIT, 301 if (crypto_pwhash_str(str_out2, passwd, strlen(passwd), 1, MEMLIMIT) != 0) { 304 if (crypto_pwhash_str(str_out2, passwd, strlen(passwd), 0, MEMLIMIT) != -1) [all...] |
pwhash_scrypt.c | 301 char *str_out2; local in function:str_tests 308 str_out2 = 316 if (crypto_pwhash_scryptsalsa208sha256_str(str_out2, passwd, strlen(passwd), 320 if (strcmp(str_out, str_out2) == 0) { 367 sodium_free(str_out2);
|