Lines Matching defs:SHA512_LENGTH
167 #define SHA512_LENGTH 64
469 unsigned char buf[SHA512_LENGTH + F2FS_MAX_PASSPHRASE_SIZE] = {0};
470 unsigned char tempbuf[SHA512_LENGTH] = {0};
471 char final[SHA512_LENGTH] = {0};
473 int actual_buf_len = SHA512_LENGTH + passphrase_size;
489 assert(F2FS_MAX_KEY_SIZE <= SHA512_LENGTH);
494 memcpy(&buf[SHA512_LENGTH], passphrase, passphrase_size);
503 memcpy(buf, tempbuf, SHA512_LENGTH);
603 unsigned char key_ref1[SHA512_LENGTH];
604 unsigned char key_ref2[SHA512_LENGTH];
608 f2fs_sha512(key_ref1, SHA512_LENGTH, key_ref2);