@@ -1472,28 +1472,28 @@ def check_HACL_attribute(self, module, version, attrname):
14721472 self .check_attribute (update , partial (read , obj ), read (obj ))
14731473
14741474 @requires_md5
1475- @support .subTests ("attrname" , ['digest_size' , 'block_size' ])
1475+ @support .subTests ("attrname" , ["block_size" , "digest_size" ])
14761476 def test_HACL_md5_attributes (self , attrname ):
14771477 self .check_HACL_attribute (_md5 , "md5" , attrname )
14781478
14791479 @requires_sha1
1480- @support .subTests ("attrname" , ['digest_size' , 'block_size' ])
1480+ @support .subTests ("attrname" , ["block_size" , "digest_size" ])
14811481 def test_HACL_sha1_attributes (self , attrname ):
14821482 self .check_HACL_attribute (_sha1 , "sha1" , attrname )
14831483
14841484 @requires_sha2
1485- @support .subTests ("attrname" , ['digest_size' , 'block_size' ])
14861485 @support .subTests ("size" , [224 , 256 , 384 , 512 ])
1487- def test_HACL_sha2_attributes (self , attrname , size ):
1486+ @support .subTests ("attrname" , ["block_size" , "digest_size" ])
1487+ def test_HACL_sha2_attributes (self , size , attrname ):
14881488 self .check_HACL_attribute (_sha2 , f"sha{ size } " , attrname )
14891489
14901490 @requires_sha3
1491+ @support .subTests ("size" , [224 , 256 , 384 , 512 ])
14911492 @support .subTests (
14921493 "attrname" ,
1493- ['digest_size' , 'block_size' , ' _capacity_bits' , ' _rate_bits' ],
1494+ ["block_size" , "digest_size" , " _capacity_bits" , " _rate_bits" ],
14941495 )
1495- @support .subTests ("size" , [224 , 256 , 384 , 512 ])
1496- def test_HACL_sha3_attributes (self , attrname , size ):
1496+ def test_HACL_sha3_attributes (self , size , attrname ):
14971497 self .check_HACL_attribute (_sha3 , f"sha3_{ size } " , attrname )
14981498
14991499
0 commit comments