Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(25279)

Delta Between Two Patch Sets: Lib/test/test_hashlib.py

Issue 26798: add BLAKE2 to hashlib
Left Patch Set: Created 3 years, 2 months ago
Right Patch Set: Created 3 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/hashlib.py ('k') | Makefile.pre.in » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 # Test hashlib module 1 # Test hashlib module
2 # 2 #
3 # $Id$ 3 # $Id$
4 # 4 #
5 # Copyright (C) 2005-2010 Gregory P. Smith (greg@krypto.org) 5 # Copyright (C) 2005-2010 Gregory P. Smith (greg@krypto.org)
6 # Licensed to PSF under a Contributor Agreement. 6 # Licensed to PSF under a Contributor Agreement.
7 # 7 #
8 8
9 import array 9 import array
10 import hashlib 10 import hashlib
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 self._test_pbkdf2_hmac(py_hashlib.pbkdf2_hmac) 710 self._test_pbkdf2_hmac(py_hashlib.pbkdf2_hmac)
711 711
712 @unittest.skipUnless(hasattr(c_hashlib, 'pbkdf2_hmac'), 712 @unittest.skipUnless(hasattr(c_hashlib, 'pbkdf2_hmac'),
713 ' test requires OpenSSL > 1.0') 713 ' test requires OpenSSL > 1.0')
714 def test_pbkdf2_hmac_c(self): 714 def test_pbkdf2_hmac_c(self):
715 self._test_pbkdf2_hmac(c_hashlib.pbkdf2_hmac) 715 self._test_pbkdf2_hmac(c_hashlib.pbkdf2_hmac)
716 716
717 717
718 if __name__ == "__main__": 718 if __name__ == "__main__":
719 unittest.main() 719 unittest.main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+