blob: 95faa53b80638c2c2ae38361ad3db60eb6c3bec8 [file] [log] [blame]
Werner Lewis0c6ea122022-09-30 13:02:16 +01001Test mbedtls_mpi_mod_setup #1 (Both representations invalid)
2mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_INVALID:MBEDTLS_MPI_MOD_REP_INVALID:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
3
4Test mbedtls_mpi_mod_setup #2 (Internal representation invalid)
5mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_LE:MBEDTLS_MPI_MOD_REP_INVALID:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
6
7Test mbedtls_mpi_mod_setup #3 (Internal representation invalid)
8mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_BE:MBEDTLS_MPI_MOD_REP_INVALID:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
9
10Test mbedtls_mpi_mod_setup #4 (External representation invalid)
11mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_INVALID:MBEDTLS_MPI_MOD_REP_MONTGOMERY:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
12
13Test mbedtls_mpi_mod_setup #5 (External representation invalid)
14mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_INVALID:MBEDTLS_MPI_MOD_REP_OPT_RED:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
15
16Test mbedtls_mpi_mod_setup #6 (Both representations valid)
17mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_BE:MBEDTLS_MPI_MOD_REP_OPT_RED:0
18
19Test mbedtls_mpi_mod_setup #7 (Both representations valid)
20mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_BE:MBEDTLS_MPI_MOD_REP_MONTGOMERY:0
21
22Test mbedtls_mpi_mod_setup #8 (Both representations valid)
23mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_LE:MBEDTLS_MPI_MOD_REP_OPT_RED:0
24
25Test mbedtls_mpi_mod_setup #9 (Both representations valid)
26mpi_mod_setup:MBEDTLS_MPI_MOD_EXT_REP_LE:MBEDTLS_MPI_MOD_REP_MONTGOMERY:0
Janos Follath5933f692022-11-02 14:35:17 +000027
Janos Follathbe136522022-11-02 15:12:04 +000028# BEGIN MERGE SLOT 1
Janos Follath5933f692022-11-02 14:35:17 +000029
Janos Follathbe136522022-11-02 15:12:04 +000030# END MERGE SLOT 1
Janos Follath5933f692022-11-02 14:35:17 +000031
Janos Follathbe136522022-11-02 15:12:04 +000032# BEGIN MERGE SLOT 2
Janos Follath5933f692022-11-02 14:35:17 +000033
Janos Follathbe136522022-11-02 15:12:04 +000034# END MERGE SLOT 2
Janos Follath5933f692022-11-02 14:35:17 +000035
Janos Follathbe136522022-11-02 15:12:04 +000036# BEGIN MERGE SLOT 3
Janos Follath5933f692022-11-02 14:35:17 +000037
Janos Follathbe136522022-11-02 15:12:04 +000038# END MERGE SLOT 3
Janos Follath5933f692022-11-02 14:35:17 +000039
Janos Follathbe136522022-11-02 15:12:04 +000040# BEGIN MERGE SLOT 4
Janos Follath5933f692022-11-02 14:35:17 +000041
Janos Follathbe136522022-11-02 15:12:04 +000042# END MERGE SLOT 4
Janos Follath5933f692022-11-02 14:35:17 +000043
Janos Follathbe136522022-11-02 15:12:04 +000044# BEGIN MERGE SLOT 5
Janos Follath5933f692022-11-02 14:35:17 +000045
Janos Follathbe136522022-11-02 15:12:04 +000046# END MERGE SLOT 5
Janos Follath5933f692022-11-02 14:35:17 +000047
Janos Follathbe136522022-11-02 15:12:04 +000048# BEGIN MERGE SLOT 6
Janos Follath5933f692022-11-02 14:35:17 +000049
Janos Follathbe136522022-11-02 15:12:04 +000050# END MERGE SLOT 6
Janos Follath5933f692022-11-02 14:35:17 +000051
Janos Follathbe136522022-11-02 15:12:04 +000052# BEGIN MERGE SLOT 7
Janos Follath5933f692022-11-02 14:35:17 +000053
Janos Follathbe136522022-11-02 15:12:04 +000054# END MERGE SLOT 7
Janos Follath5933f692022-11-02 14:35:17 +000055
Janos Follathbe136522022-11-02 15:12:04 +000056# BEGIN MERGE SLOT 8
Janos Follath5933f692022-11-02 14:35:17 +000057
Janos Follathbe136522022-11-02 15:12:04 +000058# END MERGE SLOT 8
Janos Follath5933f692022-11-02 14:35:17 +000059
Janos Follathbe136522022-11-02 15:12:04 +000060# BEGIN MERGE SLOT 9
Janos Follath5933f692022-11-02 14:35:17 +000061
Janos Follathbe136522022-11-02 15:12:04 +000062# END MERGE SLOT 9
Janos Follath5933f692022-11-02 14:35:17 +000063
Janos Follathbe136522022-11-02 15:12:04 +000064# BEGIN MERGE SLOT 10
Janos Follath5933f692022-11-02 14:35:17 +000065
Janos Follathbe136522022-11-02 15:12:04 +000066# END MERGE SLOT 10