mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Remove unnecessary function override
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
@ -72,10 +72,6 @@ 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)]
|
||||||
|
|
||||||
@property
|
|
||||||
def is_valid(self) -> bool:
|
|
||||||
return True
|
|
||||||
|
|
||||||
class EcpP224R1Raw(bignum_common.ModOperationCommon,
|
class EcpP224R1Raw(bignum_common.ModOperationCommon,
|
||||||
EcpTarget):
|
EcpTarget):
|
||||||
"""Test cases for ecp quasi_reduction()."""
|
"""Test cases for ecp quasi_reduction()."""
|
||||||
@ -137,10 +133,6 @@ 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)]
|
||||||
|
|
||||||
@property
|
|
||||||
def is_valid(self) -> bool:
|
|
||||||
return True
|
|
||||||
|
|
||||||
class EcpP521R1Raw(bignum_common.ModOperationCommon,
|
class EcpP521R1Raw(bignum_common.ModOperationCommon,
|
||||||
EcpTarget):
|
EcpTarget):
|
||||||
"""Test cases for ecp quasi_reduction()."""
|
"""Test cases for ecp quasi_reduction()."""
|
||||||
@ -227,7 +219,3 @@ class EcpP521R1Raw(bignum_common.ModOperationCommon,
|
|||||||
def result(self) -> List[str]:
|
def result(self) -> List[str]:
|
||||||
result = self.int_a % self.int_n
|
result = self.int_a % self.int_n
|
||||||
return [self.format_result(result)]
|
return [self.format_result(result)]
|
||||||
|
|
||||||
@property
|
|
||||||
def is_valid(self) -> bool:
|
|
||||||
return True
|
|
||||||
|
Reference in New Issue
Block a user