Lines Matching refs:unhexlify
170 ikm = binascii.unhexlify(vector["ikm"])
172 assert hkdf.derive(ikm) == binascii.unhexlify(vector["okm"])
185 ikm = bytearray(binascii.unhexlify(vector["ikm"]))
187 assert hkdf.derive(ikm) == binascii.unhexlify(vector["okm"])
193 prk = binascii.unhexlify(
200 info = binascii.unhexlify(b"f0f1f2f3f4f5f6f7f8f9")
206 prk = bytearray(binascii.unhexlify(
213 info = binascii.unhexlify(b"f0f1f2f3f4f5f6f7f8f9")
219 prk = binascii.unhexlify(
226 info = binascii.unhexlify(b"f0f1f2f3f4f5f6f7f8f9")
229 assert hkdf.verify(prk, binascii.unhexlify(okm)) is None
232 prk = binascii.unhexlify(
236 info = binascii.unhexlify(b"f0f1f2f3f4f5f6f7f8f9")
243 info = binascii.unhexlify(b"f0f1f2f3f4f5f6f7f8f9")
252 info = binascii.unhexlify(b"f0f1f2f3f4f5f6f7f8f9")