Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/bcrypt/
A Dbcrypt.c84 unsigned char *hashed_pass; in bcrypt_pbkdf_openbsd() local
106 hashed_pass = XMALLOC(MAXBLOCKSIZE); in bcrypt_pbkdf_openbsd()
107 if (buf[0] == NULL || hashed_pass == NULL) { in bcrypt_pbkdf_openbsd()
108 if (hashed_pass != NULL) { in bcrypt_pbkdf_openbsd()
109 XFREE(hashed_pass); in bcrypt_pbkdf_openbsd()
124 …if ((err = hash_memory(hash_idx, (unsigned char*)secret, secret_len, hashed_pass, &hashed_pass_len… in bcrypt_pbkdf_openbsd()
146 …if ((err = s_bcrypt_pbkdf_hash(hashed_pass, hashed_pass_len, buf[0], x, buf[1], &y)) != CRYPT_OK) { in bcrypt_pbkdf_openbsd()
158 …if ((err = s_bcrypt_pbkdf_hash(hashed_pass, hashed_pass_len, buf[0], x, buf[1], &y)) != CRYPT_OK) { in bcrypt_pbkdf_openbsd()
181 zeromem(hashed_pass, MAXBLOCKSIZE); in bcrypt_pbkdf_openbsd()
184 XFREE(hashed_pass); in bcrypt_pbkdf_openbsd()

Completed in 3 milliseconds