mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-13 19:21:32 +03:00
Attempt to pacify pylint in bignum tests
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
@ -757,15 +757,7 @@ class BignumCoreExpMod(BignumCoreTarget, bignum_common.ModOperationCommon):
|
||||
test_function = "mpi_core_exp_mod"
|
||||
test_name = "Core modular exponentiation (Mongtomery form only)"
|
||||
input_style = "fixed"
|
||||
|
||||
def arguments(self) -> List[str]:
|
||||
# Input 'a' has to be given in Montgomery form
|
||||
mont_a = self.to_montgomery(self.int_a)
|
||||
arg_mont_a = self.format_arg('{:x}'.format(mont_a))
|
||||
return [bignum_common.quote_str(n) for n in [self.arg_n,
|
||||
arg_mont_a,
|
||||
self.arg_b]
|
||||
] + self.result()
|
||||
mongtomgery_form_a = True
|
||||
|
||||
def result(self) -> List[str]:
|
||||
# Result has to be given in Montgomery form too
|
||||
|
Reference in New Issue
Block a user