Searched refs:countsalt (Results 1 – 1 of 1) sorted by relevance
117 u_int8_t *countsalt; in bcrypt_pbkdf() local127 if ((countsalt = calloc(1, saltlen + 4)) == NULL) in bcrypt_pbkdf()132 memcpy(countsalt, salt, saltlen); in bcrypt_pbkdf()139 countsalt[saltlen + 0] = (count >> 24) & 0xff; in bcrypt_pbkdf()140 countsalt[saltlen + 1] = (count >> 16) & 0xff; in bcrypt_pbkdf()141 countsalt[saltlen + 2] = (count >> 8) & 0xff; in bcrypt_pbkdf()142 countsalt[saltlen + 3] = count & 0xff; in bcrypt_pbkdf()145 crypto_hash_sha512(sha2salt, countsalt, saltlen + 4); in bcrypt_pbkdf()169 memset(countsalt, 0, saltlen + 4); in bcrypt_pbkdf()170 free(countsalt); in bcrypt_pbkdf()