bignum_common.py: Addressed minor typos
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
diff --git a/scripts/mbedtls_dev/bignum_common.py b/scripts/mbedtls_dev/bignum_common.py
index 20f7ff8..51b25a3 100644
--- a/scripts/mbedtls_dev/bignum_common.py
+++ b/scripts/mbedtls_dev/bignum_common.py
@@ -90,12 +90,12 @@
return bound_mpi_limbs(l, bits_in_limb)
def zfill_match(reference: str, target: str) -> str:
- """ Zero pad target hex-string the match the limb size of
- the refference input """
+ """ Zero pad target hex-string to match the limb size of
+ the reference input """
lt = len(target)
lr = len(reference)
- targen_len = lr if lt < lr else lt
- return "{:x}".format(int(target, 16)).zfill(targen_len)
+ target_len = lr if lt < lr else lt
+ return "{:x}".format(int(target, 16)).zfill(target_len)
class OperationCommon(test_data_generation.BaseTest):
"""Common features for bignum binary operations.