Lines Matching refs:bytearray
427 h = hmac.HMAC(bytearray(b"key"), bytearray(b"hash this!"),
430 self.fail("Constructor call with bytearray arguments raised exception.")
591 a, b = bytearray(b"foobar"), bytearray(b"foobar")
595 a, b = bytearray(b"foobar"), bytearray(b"foo")
599 a, b = bytearray(b"foobar"), bytearray(b"foobaz")
602 # Testing byte and bytearray of same lengths, same values
603 a, b = bytearray(b"foobar"), b"foobar"
607 # Testing byte bytearray of different lengths
608 a, b = bytearray(b"foobar"), b"foo"
612 # Testing byte and bytearray of same lengths, different values
613 a, b = bytearray(b"foobar"), b"foobaz"