#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ verify_v3_kdf(char *, char *, char *, char *, char *);
void test_v3_kdf_Long_passphrase(void) {
  verify_v3_kdf(
      "Long passphrase", "3",
      "$$$it was the epoch of belief, it was the epoch of incredulity; it was "
      "the season of Light, it was the season of Darkness; it was the spring "
      "of hope, it was the winter of despair; we had everything before us, we "
      "had nothing before us; we were all going directly to Heaven, we were "
      "all going the other way.",
      "0405060708010203",
      "11b52c50 cbf45be6 a636a314 2b8c30b8 5a624481 4a7d43e3 7457f38d "
      "e46c6735");
}


x86 assembly (clang, -O0):
<test_v3_kdf_Long_passphrase>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0x102f(%rip),%rsi
lea    0xee7(%rip),%rdx
lea    0x1012(%rip),%rcx
lea    0x101c(%rip),%r8
call   1030 <verify_v3_kdf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_v3_kdf_Long_passphrase>:
lea    0xee9(%rip),%rdi
lea    0x1033(%rip),%rsi
lea    0xeeb(%rip),%rdx
lea    0x1016(%rip),%rcx
lea    0x1020(%rip),%r8
jmp    1030 <verify_v3_kdf@plt>

LLVM IR (-O0):
@.str = [16 x i8] c"Long passphrase\00"
@.str.1 = [2 x i8] c"3\00"
@.str.2 = [306 x i8] c"$$$it was the epoch of belief, it was the epoch of incredulity; it was the season of Light, it was the season of Darkness; it was the spring of hope, it was the winter of despair; we had everything before us, we had nothing before us; we were all going directly to Heaven, we were all going the other way.\00"
@.str.3 = [17 x i8] c"0405060708010203\00"
@.str.4 = [72 x i8] c"11b52c50 cbf45be6 a636a314 2b8c30b8 5a624481 4a7d43e3 7457f38d e46c6735\00"
define void @test_v3_kdf_Long_passphrase() {
%1 = call i32 @verify_v3_kdf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([306 x i8], [306 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [16 x i8] c"Long passphrase\00"
@.str.1 = [2 x i8] c"3\00"
@.str.2 = [306 x i8] c"$$$it was the epoch of belief, it was the epoch of incredulity; it was the season of Light, it was the season of Darkness; it was the spring of hope, it was the winter of despair; we had everything before us, we had nothing before us; we were all going directly to Heaven, we were all going the other way.\00"
@.str.3 = [17 x i8] c"0405060708010203\00"
@.str.4 = [72 x i8] c"11b52c50 cbf45be6 a636a314 2b8c30b8 5a624481 4a7d43e3 7457f38d e46c6735\00"
define void @test_v3_kdf_Long_passphrase() {
%1 = tail call i32 @verify_v3_kdf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([306 x i8], [306 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.4, i64 0, i64 0))
ret void
}