HomeSort by: relevance | last modified time | path
    Searched defs:str_out (Results 1 - 6 of 6) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/test/default/
pwhash_argon2i.c 232 char *str_out; local in function:str_tests
238 str_out = (char *) sodium_malloc(crypto_pwhash_STRBYTES);
241 if (crypto_pwhash_argon2i_str(str_out, passwd, strlen(passwd), OPSLIMIT,
249 if (strcmp(str_out, str_out2) == 0) {
252 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) {
255 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
256 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT / 2, MEMLIMIT) != 1 ||
257 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
258 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT * 2, MEMLIMIT) != 1) {
261 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1)
    [all...]
pwhash_argon2id.c 228 char *str_out; local in function:str_tests
235 str_out = (char *) sodium_malloc(crypto_pwhash_argon2id_STRBYTES);
238 if (crypto_pwhash_str(str_out, passwd, strlen(passwd), OPSLIMIT,
246 if (strcmp(str_out, str_out2) == 0) {
249 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0 ||
250 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) {
253 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
254 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != 1 ||
255 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
256 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) != 1)
    [all...]
pwhash_scrypt.c 300 char *str_out; local in function:str_tests
306 str_out =
312 if (crypto_pwhash_scryptsalsa208sha256_str(str_out, passwd, strlen(passwd),
320 if (strcmp(str_out, str_out2) == 0) {
324 (str_out, OPSLIMIT, MEMLIMIT) != 0) {
328 (str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
330 (str_out, OPSLIMIT / 2, MEMLIMIT) != 1 ||
332 (str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
334 (str_out, OPSLIMIT * 2, MEMLIMIT) != 1) {
338 (str_out + 1, OPSLIMIT, MEMLIMIT) != -1)
    [all...]
pwhash_argon2i.c 232 char *str_out; local in function:str_tests
238 str_out = (char *) sodium_malloc(crypto_pwhash_STRBYTES);
241 if (crypto_pwhash_argon2i_str(str_out, passwd, strlen(passwd), OPSLIMIT,
249 if (strcmp(str_out, str_out2) == 0) {
252 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) {
255 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
256 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT / 2, MEMLIMIT) != 1 ||
257 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
258 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT * 2, MEMLIMIT) != 1) {
261 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1)
    [all...]
pwhash_argon2id.c 228 char *str_out; local in function:str_tests
235 str_out = (char *) sodium_malloc(crypto_pwhash_argon2id_STRBYTES);
238 if (crypto_pwhash_str(str_out, passwd, strlen(passwd), OPSLIMIT,
246 if (strcmp(str_out, str_out2) == 0) {
249 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0 ||
250 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) {
253 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
254 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != 1 ||
255 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
256 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) != 1)
    [all...]
pwhash_scrypt.c 300 char *str_out; local in function:str_tests
306 str_out =
312 if (crypto_pwhash_scryptsalsa208sha256_str(str_out, passwd, strlen(passwd),
320 if (strcmp(str_out, str_out2) == 0) {
324 (str_out, OPSLIMIT, MEMLIMIT) != 0) {
328 (str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
330 (str_out, OPSLIMIT / 2, MEMLIMIT) != 1 ||
332 (str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
334 (str_out, OPSLIMIT * 2, MEMLIMIT) != 1) {
338 (str_out + 1, OPSLIMIT, MEMLIMIT) != -1)
    [all...]

Completed in 24 milliseconds