def check_fun_tv(tv):
test_prk = hkdf.hkdf_extract(tv["<STR_LIT>"], tv["<STR_LIT>"], tv["<STR_LIT>"])<EOL>test_okm = hkdf.hkdf_expand(test_prk, tv["<STR_LIT:info>"], tv["<STR_LIT:L>"], tv["<STR_LIT>"])<EOL>print("<STR_LIT:%s>" % tv)<EOL>print("<STR_LIT>" % ("<STR_LIT>" if test_prk == tv["<STR_LIT>"] else "<STR_LIT>"))<EOL>print("<STR_LIT>" % ("<STR_LIT>" if test_okm == tv["<STR_LIT>"] else "<STR_LIT>"))<EOL>print<EOL>assert_equals(test_prk, tv["<STR_LIT>"])<EOL>assert_equals(test_okm, tv["<STR_LIT>"])<EOL>
Generate and check HKDF pseudorandom key and output key material for a specific test vector

PRK = HKDF-Extract([test vector values])
OKM = HKDF-Expand(PRK, [test vector values])