Searched refs:SHA512_LENGTH (Results 1 – 2 of 2) sorted by relevance
158 #define SHA512_LENGTH 64 macro456 unsigned char buf[SHA512_LENGTH + F2FS_MAX_PASSPHRASE_SIZE] = {0}; in pbkdf2_sha512()457 unsigned char tempbuf[SHA512_LENGTH] = {0}; in pbkdf2_sha512()458 char final[SHA512_LENGTH] = {0}; in pbkdf2_sha512()460 int actual_buf_len = SHA512_LENGTH + passphrase_size; in pbkdf2_sha512()476 assert(F2FS_MAX_KEY_SIZE <= SHA512_LENGTH); in pbkdf2_sha512()481 memcpy(&buf[SHA512_LENGTH], passphrase, passphrase_size); in pbkdf2_sha512()490 memcpy(buf, tempbuf, SHA512_LENGTH); in pbkdf2_sha512()590 unsigned char key_ref1[SHA512_LENGTH]; in generate_key_ref_str()591 unsigned char key_ref2[SHA512_LENGTH]; in generate_key_ref_str()[all …]
109 #define SHA512_LENGTH 64 macro411 unsigned char buf[SHA512_LENGTH + EXT4_MAX_PASSPHRASE_SIZE] = {0}; in pbkdf2_sha512()412 unsigned char tempbuf[SHA512_LENGTH] = {0}; in pbkdf2_sha512()413 char final[SHA512_LENGTH] = {0}; in pbkdf2_sha512()415 int actual_buf_len = SHA512_LENGTH + passphrase_size; in pbkdf2_sha512()431 assert(EXT4_MAX_KEY_SIZE <= SHA512_LENGTH); in pbkdf2_sha512()436 memcpy(&buf[SHA512_LENGTH], passphrase, passphrase_size); in pbkdf2_sha512()445 memcpy(buf, tempbuf, SHA512_LENGTH); in pbkdf2_sha512()533 unsigned char key_ref1[SHA512_LENGTH]; in generate_key_ref_str()534 unsigned char key_ref2[SHA512_LENGTH]; in generate_key_ref_str()[all …]