mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-10-26 00:37:41 +03:00
Revert "Remove manual GCD tests that are now generated"
This reverts commit bb50b5ab0e.
Signed-off-by: Felix Conway <felix.conway@arm.com>
This commit is contained in:
@@ -1420,6 +1420,51 @@ Test mbedtls_mpi_exp_mod (N.n=3, RR.n=1 on 64 bit)
|
||||
depends_on:MBEDTLS_HAVE_INT64
|
||||
mpi_exp_mod_min_RR:"10":"2":"100000000000000010000000000000001":"100":0
|
||||
|
||||
Base test GCD #1
|
||||
mpi_gcd:"2b5":"261":"15"
|
||||
|
||||
Base test GCD #2
|
||||
mpi_gcd:"6e4":"364":"1c"
|
||||
|
||||
Base test GCD #3
|
||||
mpi_gcd:"2dcdb10b":"2050d306":"1"
|
||||
|
||||
Test GCD: 0 (null), 0 (null)
|
||||
mpi_gcd:"":"":"0"
|
||||
|
||||
Test GCD: 0 (null), 0 (1 limb)
|
||||
mpi_gcd:"":"00":"0"
|
||||
|
||||
Test GCD: 0 (1 limb), 0 (1 limb)
|
||||
mpi_gcd:"00":"00":"0"
|
||||
|
||||
Test GCD: 0 (null), 3
|
||||
mpi_gcd:"":"03":"3"
|
||||
|
||||
Test GCD: 0 (null), 6
|
||||
mpi_gcd:"":"06":"6"
|
||||
|
||||
Test GCD: 0 (1 limb), 0 (null)
|
||||
mpi_gcd:"00":"":"0"
|
||||
|
||||
Test GCD: 0 (1 limb), 3
|
||||
mpi_gcd:"00":"03":"3"
|
||||
|
||||
Test GCD: 0 (1 limb), 6
|
||||
mpi_gcd:"00":"06":"6"
|
||||
|
||||
Test GCD: 3, 0 (null)
|
||||
mpi_gcd:"03":"":"3"
|
||||
|
||||
Test GCD: 3, 0 (1 limb)
|
||||
mpi_gcd:"03":"00":"3"
|
||||
|
||||
Test GCD: 6, 0 (null)
|
||||
mpi_gcd:"06":"":"6"
|
||||
|
||||
Test GCD: 6, 0 (1 limb)
|
||||
mpi_gcd:"06":"00":"6"
|
||||
|
||||
Test GCD: gcd=1, A is odd, B is odd, 0 < A < B
|
||||
mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user