Remove unrequired limb size calculation
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
b7fd1d6044
commit
b8bd47dd68
1 changed files with 1 additions and 2 deletions
|
@ -762,8 +762,7 @@ class EcpP448Raw(bignum_common.ModOperationCommon,
|
|||
|
||||
@property
|
||||
def arg_a(self) -> str:
|
||||
hex_digits = bignum_common.hex_digits_for_limb(448 // self.bits_in_limb, self.bits_in_limb)
|
||||
return super().format_arg('{:x}'.format(self.int_a)).zfill(hex_digits)
|
||||
return super().format_arg('{:x}'.format(self.int_a)).zfill(2 * self.hex_digits)
|
||||
|
||||
def result(self) -> List[str]:
|
||||
result = self.int_a % self.int_n
|
||||
|
|
Loading…
Reference in a new issue