mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 13:43:31 +00:00
Code style: have two empty lines before and after class definitions
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
5e33e6f5d4
commit
d034b3d0d2
@ -19,11 +19,13 @@ from typing import List
|
|||||||
from . import test_data_generation
|
from . import test_data_generation
|
||||||
from . import bignum_common
|
from . import bignum_common
|
||||||
|
|
||||||
|
|
||||||
class EcpTarget(test_data_generation.BaseTarget):
|
class EcpTarget(test_data_generation.BaseTarget):
|
||||||
#pylint: disable=abstract-method, too-few-public-methods
|
#pylint: disable=abstract-method, too-few-public-methods
|
||||||
"""Target for ecp test case generation."""
|
"""Target for ecp test case generation."""
|
||||||
target_basename = 'test_suite_ecp.generated'
|
target_basename = 'test_suite_ecp.generated'
|
||||||
|
|
||||||
|
|
||||||
class EcpP192R1Raw(bignum_common.ModOperationCommon,
|
class EcpP192R1Raw(bignum_common.ModOperationCommon,
|
||||||
EcpTarget):
|
EcpTarget):
|
||||||
"""Test cases for ecp quasi_reduction()."""
|
"""Test cases for ecp quasi_reduction()."""
|
||||||
@ -72,6 +74,7 @@ class EcpP192R1Raw(bignum_common.ModOperationCommon,
|
|||||||
result = self.int_a % self.int_n
|
result = self.int_a % self.int_n
|
||||||
return [self.format_result(result)]
|
return [self.format_result(result)]
|
||||||
|
|
||||||
|
|
||||||
class EcpP224R1Raw(bignum_common.ModOperationCommon,
|
class EcpP224R1Raw(bignum_common.ModOperationCommon,
|
||||||
EcpTarget):
|
EcpTarget):
|
||||||
"""Test cases for ecp quasi_reduction()."""
|
"""Test cases for ecp quasi_reduction()."""
|
||||||
@ -133,6 +136,7 @@ class EcpP224R1Raw(bignum_common.ModOperationCommon,
|
|||||||
result = self.int_a % self.int_n
|
result = self.int_a % self.int_n
|
||||||
return [self.format_result(result)]
|
return [self.format_result(result)]
|
||||||
|
|
||||||
|
|
||||||
class EcpP521R1Raw(bignum_common.ModOperationCommon,
|
class EcpP521R1Raw(bignum_common.ModOperationCommon,
|
||||||
EcpTarget):
|
EcpTarget):
|
||||||
"""Test cases for ecp quasi_reduction()."""
|
"""Test cases for ecp quasi_reduction()."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user