1HKDF vector creation 2==================== 3 4This page documents the code that was used to generate a longer 5HKDF test vector (1200 bytes) than is available in :rfc:`5869`. All 6the vectors were generated using OpenSSL and verified with Go. 7 8Creation 9-------- 10 11The following Python script was run to generate the vector files. 12 13.. literalinclude:: /development/custom-vectors/hkdf/generate_hkdf.py 14 15Download link: :download:`generate_hkdf.py 16</development/custom-vectors/hkdf/generate_hkdf.py>` 17 18 19Verification 20------------ 21 22The following Go code was used to verify the vectors. 23 24.. literalinclude:: /development/custom-vectors/hkdf/verify_hkdf.go 25 :language: go 26 27Download link: :download:`verify_hkdf.go 28</development/custom-vectors/hkdf/verify_hkdf.go>` 29