mbed TLS Build

Dependents:   Encrypt_Decrypt1 mbed_blink_tls encrypt encrypt

Committer:
markrad
Date:
Thu Jan 05 00:18:44 2017 +0000
Revision:
0:cdf462088d13
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
markrad 0:cdf462088d13 1 Arguments with no value
markrad 0:cdf462088d13 2 mpi_null:
markrad 0:cdf462088d13 3
markrad 0:cdf462088d13 4 Base test mpi_read_write_string #1
markrad 0:cdf462088d13 5 mpi_read_write_string:10:"128":10:"128":100:0:0
markrad 0:cdf462088d13 6
markrad 0:cdf462088d13 7 Base test mpi_read_write_string #2
markrad 0:cdf462088d13 8 mpi_read_write_string:10:"128":16:"80":100:0:0
markrad 0:cdf462088d13 9
markrad 0:cdf462088d13 10 Base test mpi_read_write_string #3 (Read zero)
markrad 0:cdf462088d13 11 mpi_read_write_string:10:"0":10:"0":100:0:0
markrad 0:cdf462088d13 12
markrad 0:cdf462088d13 13 Base test mpi_read_write_string #3 (Negative decimal)
markrad 0:cdf462088d13 14 mpi_read_write_string:10:"-23":10:"-23":100:0:0
markrad 0:cdf462088d13 15
markrad 0:cdf462088d13 16 Base test mpi_read_write_string #3 (Negative hex)
markrad 0:cdf462088d13 17 mpi_read_write_string:16:"-20":10:"-32":100:0:0
markrad 0:cdf462088d13 18
markrad 0:cdf462088d13 19 Base test mpi_read_write_string #3 (Negative decimal)
markrad 0:cdf462088d13 20 mpi_read_write_string:16:"-23":16:"-23":100:0:0
markrad 0:cdf462088d13 21
markrad 0:cdf462088d13 22 Test mpi_read_write_string #1 (Invalid character)
markrad 0:cdf462088d13 23 mpi_read_write_string:10:"a28":0:"":100:MBEDTLS_ERR_MPI_INVALID_CHARACTER:0
markrad 0:cdf462088d13 24
markrad 0:cdf462088d13 25 Test mpi_read_write_string #2 (Illegal input radix)
markrad 0:cdf462088d13 26 mpi_read_write_string:19:"a28":0:"":100:MBEDTLS_ERR_MPI_BAD_INPUT_DATA:0
markrad 0:cdf462088d13 27
markrad 0:cdf462088d13 28 Test mpi_read_write_string #3 (Buffer just fits)
markrad 0:cdf462088d13 29 mpi_read_write_string:16:"-23":16:"-23":4:0:0
markrad 0:cdf462088d13 30
markrad 0:cdf462088d13 31 Test mpi_read_write_string #4 (Buffer too small)
markrad 0:cdf462088d13 32 mpi_read_write_string:16:"-23":16:"-23":3:0:MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
markrad 0:cdf462088d13 33
markrad 0:cdf462088d13 34 Test mpi_read_write_string #5 (Illegal output radix)
markrad 0:cdf462088d13 35 mpi_read_write_string:16:"-23":17:"-23":4:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 36
markrad 0:cdf462088d13 37 Test mpi_read_write_string #6 (Output radix of 15)
markrad 0:cdf462088d13 38 mpi_read_write_string:10:"29":15:"1e":100:0:0
markrad 0:cdf462088d13 39
markrad 0:cdf462088d13 40 Test mpi_read_write_string #7
markrad 0:cdf462088d13 41 mpi_read_write_string:10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924":16:"0941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":200:0:0
markrad 0:cdf462088d13 42
markrad 0:cdf462088d13 43 Test mpi_read_write_string #8 (Empty MPI -> hex)
markrad 0:cdf462088d13 44 mpi_read_write_string:16:"":16:"00":4:0:0
markrad 0:cdf462088d13 45
markrad 0:cdf462088d13 46 Test mpi_read_write_string #9 (Empty MPI -> dec)
markrad 0:cdf462088d13 47 mpi_read_write_string:16:"":10:"0":4:0:0
markrad 0:cdf462088d13 48
markrad 0:cdf462088d13 49 Base test mbedtls_mpi_read_binary #1
markrad 0:cdf462088d13 50 mbedtls_mpi_read_binary:"0941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924"
markrad 0:cdf462088d13 51
markrad 0:cdf462088d13 52 Base test mbedtls_mpi_write_binary #1
markrad 0:cdf462088d13 53 mbedtls_mpi_write_binary:10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924":"0941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":200:0
markrad 0:cdf462088d13 54
markrad 0:cdf462088d13 55 Test mbedtls_mpi_write_binary #1 (Buffer just fits)
markrad 0:cdf462088d13 56 mbedtls_mpi_write_binary:16:"123123123123123123123123123":"0123123123123123123123123123":14:0
markrad 0:cdf462088d13 57
markrad 0:cdf462088d13 58 Test mbedtls_mpi_write_binary #2 (Buffer too small)
markrad 0:cdf462088d13 59 mbedtls_mpi_write_binary:16:"123123123123123123123123123":"123123123123123123123123123":13:MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
markrad 0:cdf462088d13 60
markrad 0:cdf462088d13 61 Base test mbedtls_mpi_read_file #1
markrad 0:cdf462088d13 62 mbedtls_mpi_read_file:10:"data_files/mpi_10":"01f55332c3a48b910f9942f6c914e58bef37a47ee45cb164a5b6b8d1006bf59a059c21449939ebebfdf517d2e1dbac88010d7b1f141e997bd6801ddaec9d05910f4f2de2b2c4d714e2c14a72fc7f17aa428d59c531627f09":0
markrad 0:cdf462088d13 63
markrad 0:cdf462088d13 64 Test mbedtls_mpi_read_file #1 (Empty file)
markrad 0:cdf462088d13 65 mbedtls_mpi_read_file:10:"data_files/hash_file_4":"":MBEDTLS_ERR_MPI_FILE_IO_ERROR
markrad 0:cdf462088d13 66
markrad 0:cdf462088d13 67 Test mbedtls_mpi_read_file #2 (Illegal input)
markrad 0:cdf462088d13 68 mbedtls_mpi_read_file:10:"data_files/hash_file_3":"":0
markrad 0:cdf462088d13 69
markrad 0:cdf462088d13 70 Test mbedtls_mpi_read_file #3 (Input too big)
markrad 0:cdf462088d13 71 mbedtls_mpi_read_file:10:"data_files/mpi_too_big":"":MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
markrad 0:cdf462088d13 72
markrad 0:cdf462088d13 73 Base test mbedtls_mpi_write_file #1
markrad 0:cdf462088d13 74 mbedtls_mpi_write_file:10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924":16:"data_files/mpi_write"
markrad 0:cdf462088d13 75
markrad 0:cdf462088d13 76 Base test mbedtls_mpi_lsb #1
markrad 0:cdf462088d13 77 mbedtls_mpi_lsb:10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924":2
markrad 0:cdf462088d13 78
markrad 0:cdf462088d13 79 Base test mbedtls_mpi_lsb #2
markrad 0:cdf462088d13 80 mbedtls_mpi_lsb:10:"24":3
markrad 0:cdf462088d13 81
markrad 0:cdf462088d13 82 Base test mbedtls_mpi_lsb #3
markrad 0:cdf462088d13 83 mbedtls_mpi_lsb:16:"24":2
markrad 0:cdf462088d13 84
markrad 0:cdf462088d13 85 Base test mbedtls_mpi_lsb #4
markrad 0:cdf462088d13 86 mbedtls_mpi_lsb:16:"2000":13
markrad 0:cdf462088d13 87
markrad 0:cdf462088d13 88 Base test mbedtls_mpi_bitlen #1
markrad 0:cdf462088d13 89 mbedtls_mpi_bitlen:10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924":764
markrad 0:cdf462088d13 90
markrad 0:cdf462088d13 91 Base test mbedtls_mpi_bitlen #2
markrad 0:cdf462088d13 92 mbedtls_mpi_bitlen:10:"24":5
markrad 0:cdf462088d13 93
markrad 0:cdf462088d13 94 Base test mbedtls_mpi_bitlen #3
markrad 0:cdf462088d13 95 mbedtls_mpi_bitlen:10:"1":1
markrad 0:cdf462088d13 96
markrad 0:cdf462088d13 97 Base test mbedtls_mpi_bitlen #4
markrad 0:cdf462088d13 98 mbedtls_mpi_bitlen:10:"15":4
markrad 0:cdf462088d13 99
markrad 0:cdf462088d13 100 Base test mbedtls_mpi_bitlen #5
markrad 0:cdf462088d13 101 mbedtls_mpi_bitlen:10:"16":5
markrad 0:cdf462088d13 102
markrad 0:cdf462088d13 103 Base test mbedtls_mpi_bitlen #6
markrad 0:cdf462088d13 104 mbedtls_mpi_bitlen:10:"10":4
markrad 0:cdf462088d13 105
markrad 0:cdf462088d13 106 Base test mbedtls_mpi_bitlen #7
markrad 0:cdf462088d13 107 mbedtls_mpi_bitlen:10:"0":0
markrad 0:cdf462088d13 108
markrad 0:cdf462088d13 109 Base test mbedtls_mpi_cmp_int #1
markrad 0:cdf462088d13 110 mbedtls_mpi_cmp_int:693:693:0
markrad 0:cdf462088d13 111
markrad 0:cdf462088d13 112 Base test mbedtls_mpi_cmp_int #2
markrad 0:cdf462088d13 113 mbedtls_mpi_cmp_int:693:692:1
markrad 0:cdf462088d13 114
markrad 0:cdf462088d13 115 Base test mbedtls_mpi_cmp_int #3
markrad 0:cdf462088d13 116 mbedtls_mpi_cmp_int:693:694:-1
markrad 0:cdf462088d13 117
markrad 0:cdf462088d13 118 Base test mbedtls_mpi_cmp_int (Negative values) #1
markrad 0:cdf462088d13 119 mbedtls_mpi_cmp_int:-2:-2:0
markrad 0:cdf462088d13 120
markrad 0:cdf462088d13 121 Base test mbedtls_mpi_cmp_int (Negative values) #2
markrad 0:cdf462088d13 122 mbedtls_mpi_cmp_int:-2:-3:1
markrad 0:cdf462088d13 123
markrad 0:cdf462088d13 124 Base test mbedtls_mpi_cmp_int (Negative values) #3
markrad 0:cdf462088d13 125 mbedtls_mpi_cmp_int:-2:-1:-1
markrad 0:cdf462088d13 126
markrad 0:cdf462088d13 127 Base test mbedtls_mpi_cmp_mpi #1
markrad 0:cdf462088d13 128 mbedtls_mpi_cmp_mpi:10:"693":10:"693":0
markrad 0:cdf462088d13 129
markrad 0:cdf462088d13 130 Base test mbedtls_mpi_cmp_mpi #2
markrad 0:cdf462088d13 131 mbedtls_mpi_cmp_mpi:10:"693":10:"692":1
markrad 0:cdf462088d13 132
markrad 0:cdf462088d13 133 Base test mbedtls_mpi_cmp_mpi #3
markrad 0:cdf462088d13 134 mbedtls_mpi_cmp_mpi:10:"693":10:"694":-1
markrad 0:cdf462088d13 135
markrad 0:cdf462088d13 136 Base test mbedtls_mpi_cmp_mpi (Negative values) #1
markrad 0:cdf462088d13 137 mbedtls_mpi_cmp_mpi:10:"-2":10:"-2":0
markrad 0:cdf462088d13 138
markrad 0:cdf462088d13 139 Base test mbedtls_mpi_cmp_mpi (Negative values) #2
markrad 0:cdf462088d13 140 mbedtls_mpi_cmp_mpi:10:"-2":10:"-3":1
markrad 0:cdf462088d13 141
markrad 0:cdf462088d13 142 Base test mbedtls_mpi_cmp_mpi (Negative values) #3
markrad 0:cdf462088d13 143 mbedtls_mpi_cmp_mpi:10:"-2":10:"-1":-1
markrad 0:cdf462088d13 144
markrad 0:cdf462088d13 145 Base test mbedtls_mpi_cmp_mpi (Mixed values) #4
markrad 0:cdf462088d13 146 mbedtls_mpi_cmp_mpi:10:"-3":10:"2":-1
markrad 0:cdf462088d13 147
markrad 0:cdf462088d13 148 Base test mbedtls_mpi_cmp_mpi (Mixed values) #5
markrad 0:cdf462088d13 149 mbedtls_mpi_cmp_mpi:10:"2":10:"-3":1
markrad 0:cdf462088d13 150
markrad 0:cdf462088d13 151 Base test mbedtls_mpi_cmp_mpi (Mixed values) #6
markrad 0:cdf462088d13 152 mbedtls_mpi_cmp_mpi:10:"-2":10:"31231231289798":-1
markrad 0:cdf462088d13 153
markrad 0:cdf462088d13 154 Base test mbedtls_mpi_cmp_abs #1
markrad 0:cdf462088d13 155 mbedtls_mpi_cmp_abs:10:"693":10:"693":0
markrad 0:cdf462088d13 156
markrad 0:cdf462088d13 157 Base test mbedtls_mpi_cmp_abs #2
markrad 0:cdf462088d13 158 mbedtls_mpi_cmp_abs:10:"693":10:"692":1
markrad 0:cdf462088d13 159
markrad 0:cdf462088d13 160 Base test mbedtls_mpi_cmp_abs #3
markrad 0:cdf462088d13 161 mbedtls_mpi_cmp_abs:10:"693":10:"694":-1
markrad 0:cdf462088d13 162
markrad 0:cdf462088d13 163 Base test mbedtls_mpi_cmp_abs (Negative values) #1
markrad 0:cdf462088d13 164 mbedtls_mpi_cmp_abs:10:"-2":10:"-2":0
markrad 0:cdf462088d13 165
markrad 0:cdf462088d13 166 Base test mbedtls_mpi_cmp_abs (Negative values) #2
markrad 0:cdf462088d13 167 mbedtls_mpi_cmp_abs:10:"-2":10:"-3":-1
markrad 0:cdf462088d13 168
markrad 0:cdf462088d13 169 Base test mbedtls_mpi_cmp_abs (Negative values) #3
markrad 0:cdf462088d13 170 mbedtls_mpi_cmp_abs:10:"-2":10:"-1":1
markrad 0:cdf462088d13 171
markrad 0:cdf462088d13 172 Base test mbedtls_mpi_cmp_abs (Zero and Zero) #4
markrad 0:cdf462088d13 173 mbedtls_mpi_cmp_abs:10:"0":10:"0":0
markrad 0:cdf462088d13 174
markrad 0:cdf462088d13 175 Base test mbedtls_mpi_cmp_abs (Mix values) #1
markrad 0:cdf462088d13 176 mbedtls_mpi_cmp_abs:10:"-2":10:"2":0
markrad 0:cdf462088d13 177
markrad 0:cdf462088d13 178 Base test mbedtls_mpi_cmp_abs (Mix values) #2
markrad 0:cdf462088d13 179 mbedtls_mpi_cmp_abs:10:"2":10:"-3":-1
markrad 0:cdf462088d13 180
markrad 0:cdf462088d13 181 Base test mbedtls_mpi_cmp_abs (Mix values) #3
markrad 0:cdf462088d13 182 mbedtls_mpi_cmp_abs:10:"-2":10:"1":1
markrad 0:cdf462088d13 183
markrad 0:cdf462088d13 184 Base test mbedtls_mpi_copy #1
markrad 0:cdf462088d13 185 mbedtls_mpi_copy:0:1500
markrad 0:cdf462088d13 186
markrad 0:cdf462088d13 187 Base test mpi_copy_self #1
markrad 0:cdf462088d13 188 mpi_copy_self:14
markrad 0:cdf462088d13 189
markrad 0:cdf462088d13 190 Base test mbedtls_mpi_swap #1
markrad 0:cdf462088d13 191 mbedtls_mpi_swap:0:1500
markrad 0:cdf462088d13 192
markrad 0:cdf462088d13 193 Test mbedtls_mpi_shrink #1
markrad 0:cdf462088d13 194 mbedtls_mpi_shrink:2:2:4:4
markrad 0:cdf462088d13 195
markrad 0:cdf462088d13 196 Test mbedtls_mpi_shrink #2
markrad 0:cdf462088d13 197 mbedtls_mpi_shrink:4:2:4:4
markrad 0:cdf462088d13 198
markrad 0:cdf462088d13 199 Test mbedtls_mpi_shrink #3
markrad 0:cdf462088d13 200 mbedtls_mpi_shrink:8:2:4:4
markrad 0:cdf462088d13 201
markrad 0:cdf462088d13 202 Test mbedtls_mpi_shrink #4
markrad 0:cdf462088d13 203 mbedtls_mpi_shrink:8:4:4:4
markrad 0:cdf462088d13 204
markrad 0:cdf462088d13 205 Test mbedtls_mpi_shrink #5
markrad 0:cdf462088d13 206 mbedtls_mpi_shrink:8:6:4:6
markrad 0:cdf462088d13 207
markrad 0:cdf462088d13 208 Test mbedtls_mpi_shrink #6
markrad 0:cdf462088d13 209 mbedtls_mpi_shrink:4:2:0:2
markrad 0:cdf462088d13 210
markrad 0:cdf462088d13 211 Test mbedtls_mpi_shrink #7
markrad 0:cdf462088d13 212 mbedtls_mpi_shrink:4:1:0:1
markrad 0:cdf462088d13 213
markrad 0:cdf462088d13 214 Test mbedtls_mpi_shrink #8
markrad 0:cdf462088d13 215 mbedtls_mpi_shrink:4:0:0:1
markrad 0:cdf462088d13 216
markrad 0:cdf462088d13 217 Test mbedtls_mpi_safe_cond_assign #1
markrad 0:cdf462088d13 218 mbedtls_mpi_safe_cond_assign:+1:"01":+1:"02"
markrad 0:cdf462088d13 219
markrad 0:cdf462088d13 220 Test mbedtls_mpi_safe_cond_assign #2
markrad 0:cdf462088d13 221 mbedtls_mpi_safe_cond_assign:+1:"FF000000000000000001":+1:"02"
markrad 0:cdf462088d13 222
markrad 0:cdf462088d13 223 Test mbedtls_mpi_safe_cond_assign #3
markrad 0:cdf462088d13 224 mbedtls_mpi_safe_cond_assign:+1:"01":+1:"FF000000000000000002"
markrad 0:cdf462088d13 225
markrad 0:cdf462088d13 226 Test mbedtls_mpi_safe_cond_assign #4
markrad 0:cdf462088d13 227 mbedtls_mpi_safe_cond_assign:+1:"01":-1:"02"
markrad 0:cdf462088d13 228
markrad 0:cdf462088d13 229 Test mbedtls_mpi_safe_cond_assign #5
markrad 0:cdf462088d13 230 mbedtls_mpi_safe_cond_assign:-1:"01":+1:"02"
markrad 0:cdf462088d13 231
markrad 0:cdf462088d13 232 Test mbedtls_mpi_safe_cond_assign #6
markrad 0:cdf462088d13 233 mbedtls_mpi_safe_cond_assign:-1:"01":-1:"02"
markrad 0:cdf462088d13 234
markrad 0:cdf462088d13 235 Test mbedtls_mpi_safe_cond_swap #1
markrad 0:cdf462088d13 236 mbedtls_mpi_safe_cond_swap:+1:"01":+1:"02"
markrad 0:cdf462088d13 237
markrad 0:cdf462088d13 238 Test mbedtls_mpi_safe_cond_swap #2
markrad 0:cdf462088d13 239 mbedtls_mpi_safe_cond_swap:+1:"FF000000000000000001":+1:"02"
markrad 0:cdf462088d13 240
markrad 0:cdf462088d13 241 Test mbedtls_mpi_safe_cond_swap #3
markrad 0:cdf462088d13 242 mbedtls_mpi_safe_cond_swap:+1:"01":+1:"FF000000000000000002"
markrad 0:cdf462088d13 243
markrad 0:cdf462088d13 244 Test mbedtls_mpi_safe_cond_swap #4
markrad 0:cdf462088d13 245 mbedtls_mpi_safe_cond_swap:+1:"01":-1:"02"
markrad 0:cdf462088d13 246
markrad 0:cdf462088d13 247 Test mbedtls_mpi_safe_cond_swap #5
markrad 0:cdf462088d13 248 mbedtls_mpi_safe_cond_swap:-1:"01":+1:"02"
markrad 0:cdf462088d13 249
markrad 0:cdf462088d13 250 Test mbedtls_mpi_safe_cond_swap #6
markrad 0:cdf462088d13 251 mbedtls_mpi_safe_cond_swap:-1:"01":-1:"02"
markrad 0:cdf462088d13 252
markrad 0:cdf462088d13 253 Base test mbedtls_mpi_add_abs #1
markrad 0:cdf462088d13 254 mbedtls_mpi_add_abs:10:"12345678":10:"642531":10:"12988209"
markrad 0:cdf462088d13 255
markrad 0:cdf462088d13 256 Base test mbedtls_mpi_add_abs #2
markrad 0:cdf462088d13 257 mbedtls_mpi_add_abs:10:"-12345678":10:"642531":10:"12988209"
markrad 0:cdf462088d13 258
markrad 0:cdf462088d13 259 Base test mbedtls_mpi_add_abs #3
markrad 0:cdf462088d13 260 mbedtls_mpi_add_abs:10:"12345678":10:"-642531":10:"12988209"
markrad 0:cdf462088d13 261
markrad 0:cdf462088d13 262 Base test mbedtls_mpi_add_abs #4
markrad 0:cdf462088d13 263 mbedtls_mpi_add_abs:10:"-12345678":10:"-642531":10:"12988209"
markrad 0:cdf462088d13 264
markrad 0:cdf462088d13 265 Test mbedtls_mpi_add_abs #1
markrad 0:cdf462088d13 266 mbedtls_mpi_add_abs:10:"-643808006803554439230129854961492699151386107534013432918073439524138264842370630061369715394739134090922937332590384720397133335969549256322620979036686633213903952966175107096769180017646161851573147596390153":10:"56125680981752282333498088313568935051383833838594899821664631784577337171193624243181360054669678410455329112434552942717084003541384594864129940145043086760031292483340068923506115878221189886491132772739661669044958531131327771":10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924"
markrad 0:cdf462088d13 267
markrad 0:cdf462088d13 268 Test mbedtls_mpi_add_abs #2 (add to first value)
markrad 0:cdf462088d13 269 mpi_add_abs_add_first:10:"123123":10:"123123":10:"246246"
markrad 0:cdf462088d13 270
markrad 0:cdf462088d13 271 Test mbedtls_mpi_add_abs #3 (add to second value)
markrad 0:cdf462088d13 272 mpi_add_abs_add_second:10:"123123":10:"123123":10:"246246"
markrad 0:cdf462088d13 273
markrad 0:cdf462088d13 274 Regression mbedtls_mpi_add_abs (add small to very large MPI with carry rollover)
markrad 0:cdf462088d13 275 mbedtls_mpi_add_abs:16:"FFFFFFFFFFFFFFFFFFFFFFFFFFFFF8":16:"08":16:"1000000000000000000000000000000"
markrad 0:cdf462088d13 276
markrad 0:cdf462088d13 277 Regression mbedtls_mpi_add_abs (add small to very large MPI with carry rollover)
markrad 0:cdf462088d13 278 mbedtls_mpi_add_abs:16:"08":16:"FFFFFFFFFFFFFFFFFFFFFFFFFFFFF8":16:"1000000000000000000000000000000"
markrad 0:cdf462088d13 279
markrad 0:cdf462088d13 280 Base test mbedtls_mpi_add_mpi #1
markrad 0:cdf462088d13 281 mbedtls_mpi_add_mpi:10:"12345678":10:"642531":10:"12988209"
markrad 0:cdf462088d13 282
markrad 0:cdf462088d13 283 Base test mbedtls_mpi_add_mpi #2
markrad 0:cdf462088d13 284 mbedtls_mpi_add_mpi:10:"-12345678":10:"642531":10:"-11703147"
markrad 0:cdf462088d13 285
markrad 0:cdf462088d13 286 Base test mbedtls_mpi_add_mpi #3
markrad 0:cdf462088d13 287 mbedtls_mpi_add_mpi:10:"12345678":10:"-642531":10:"11703147"
markrad 0:cdf462088d13 288
markrad 0:cdf462088d13 289 Base test mbedtls_mpi_add_mpi #4
markrad 0:cdf462088d13 290 mbedtls_mpi_add_mpi:10:"-12345678":10:"-642531":10:"-12988209"
markrad 0:cdf462088d13 291
markrad 0:cdf462088d13 292 Test mbedtls_mpi_add_mpi #1
markrad 0:cdf462088d13 293 mbedtls_mpi_add_mpi:10:"203956878356401977405765866929034577280193993314348263094772646453283062722701277632936616063144088173312372882677123879538709400158306567338328279154499698366071906766440037074217117805690872792848149112022286332144876183376326512083574821647933992961249917319836219304274280243803104015000563790123":10:"531872289054204184185084734375133399408303613982130856645299464930952178606045848877129147820387996428175564228204785846141207532462936339834139412401975338705794646595487324365194792822189473092273993580587964571659678084484152603881094176995594813302284232006001752128168901293560051833646881436219":10:"735829167410606161590850601304167976688497607296479119740072111384235241328747126510065763883532084601487937110881909725679916932621242907172467691556475037071866553361927361439411910627880345885122142692610250903804554267860479115964668998643528806263534149325837971432443181537363155848647445226342"
markrad 0:cdf462088d13 294
markrad 0:cdf462088d13 295 Test mbedtls_mpi_add_mpi #2
markrad 0:cdf462088d13 296 mbedtls_mpi_add_mpi:10:"643808006803554439230129854961492699151386107534013432918073439524138264842370630061369715394739134090922937332590384720397133335969549256322620979036686633213903952966175107096769180017646161851573147596390153":10:"56125680981752282333498088313568935051383833838594899821664631784577337171193624243181360054669678410455329112434552942717084003541384594864129940145043086760031292483340068923506115878221189886491132772739661669044958531131327771":10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924"
markrad 0:cdf462088d13 297
markrad 0:cdf462088d13 298 Base test mbedtls_mpi_add_mpi inplace #1
markrad 0:cdf462088d13 299 mbedtls_mpi_add_mpi_inplace:10:"12345678":10:"24691356"
markrad 0:cdf462088d13 300
markrad 0:cdf462088d13 301 Test mbedtls_mpi_add_mpi inplace #2
markrad 0:cdf462088d13 302 mbedtls_mpi_add_mpi_inplace:10:"643808006803554439230129854961492699151386107534013432918073439524138264842370630061369715394739134090922937332590384720397133335969549256322620979036686633213903952966175107096769180017646161851573147596390153":10:"1287616013607108878460259709922985398302772215068026865836146879048276529684741260122739430789478268181845874665180769440794266671939098512645241958073373266427807905932350214193538360035292323703146295192780306"
markrad 0:cdf462088d13 303
markrad 0:cdf462088d13 304 Test mbedtls_mpi_add_mpi inplace #3
markrad 0:cdf462088d13 305 mbedtls_mpi_add_mpi_inplace:16:"ffffffffffffffffffffffffffffffff":16:"01fffffffffffffffffffffffffffffffe"
markrad 0:cdf462088d13 306
markrad 0:cdf462088d13 307 Test mbedtls_mpi_add_int #1
markrad 0:cdf462088d13 308 mbedtls_mpi_add_int:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227012776329":9871232:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227022647561"
markrad 0:cdf462088d13 309
markrad 0:cdf462088d13 310 Test mbedtls_mpi_add_int #2
markrad 0:cdf462088d13 311 mbedtls_mpi_add_int:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227012776329":-9871232:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227002905097"
markrad 0:cdf462088d13 312
markrad 0:cdf462088d13 313 Base test mbedtls_mpi_sub_abs #1 (Test with larger second input)
markrad 0:cdf462088d13 314 mbedtls_mpi_sub_abs:10:"5":10:"7":10:"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
markrad 0:cdf462088d13 315
markrad 0:cdf462088d13 316 Base test mbedtls_mpi_sub_abs #2 (Test with larger second input)
markrad 0:cdf462088d13 317 mbedtls_mpi_sub_abs:10:"-5":10:"-7":10:"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
markrad 0:cdf462088d13 318
markrad 0:cdf462088d13 319 Base test mbedtls_mpi_sub_abs #3 (Test with larger second input)
markrad 0:cdf462088d13 320 mbedtls_mpi_sub_abs:10:"-5":10:"7":10:"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
markrad 0:cdf462088d13 321
markrad 0:cdf462088d13 322 Base test mbedtls_mpi_sub_abs #4 (Test with larger second input)
markrad 0:cdf462088d13 323 mbedtls_mpi_sub_abs:10:"5":10:"-7":10:"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
markrad 0:cdf462088d13 324
markrad 0:cdf462088d13 325 Base test mbedtls_mpi_sub_abs #1
markrad 0:cdf462088d13 326 mbedtls_mpi_sub_abs:10:"7":10:"5":10:"2":0
markrad 0:cdf462088d13 327
markrad 0:cdf462088d13 328 Base test mbedtls_mpi_sub_abs #2
markrad 0:cdf462088d13 329 mbedtls_mpi_sub_abs:10:"-7":10:"-5":10:"2":0
markrad 0:cdf462088d13 330
markrad 0:cdf462088d13 331 Base test mbedtls_mpi_sub_abs #3
markrad 0:cdf462088d13 332 mbedtls_mpi_sub_abs:10:"-7":10:"5":10:"2":0
markrad 0:cdf462088d13 333
markrad 0:cdf462088d13 334 Base test mbedtls_mpi_sub_abs #4
markrad 0:cdf462088d13 335 mbedtls_mpi_sub_abs:10:"7":10:"-5":10:"2":0
markrad 0:cdf462088d13 336
markrad 0:cdf462088d13 337 Test mbedtls_mpi_sub_abs #1
markrad 0:cdf462088d13 338 mbedtls_mpi_sub_abs:16:"FFFFFFFFFF":16:"01":16:"FFFFFFFFFE":0
markrad 0:cdf462088d13 339
markrad 0:cdf462088d13 340 Test mbedtls_mpi_sub_abs #2
markrad 0:cdf462088d13 341 mbedtls_mpi_sub_abs:16:"FFFFFFFFF0":16:"01":16:"FFFFFFFFEF":0
markrad 0:cdf462088d13 342
markrad 0:cdf462088d13 343 Test mbedtls_mpi_sub_abs #3
markrad 0:cdf462088d13 344 mbedtls_mpi_sub_abs:16:"FF00000000":16:"0F00000000":16:"F000000000":0
markrad 0:cdf462088d13 345
markrad 0:cdf462088d13 346 Test mbedtls_mpi_sub_abs #4
markrad 0:cdf462088d13 347 mbedtls_mpi_sub_abs:16:"FF00000000":16:"0F00000001":16:"EFFFFFFFFF":0
markrad 0:cdf462088d13 348
markrad 0:cdf462088d13 349 Base test mbedtls_mpi_sub_mpi #1 (Test with negative result)
markrad 0:cdf462088d13 350 mbedtls_mpi_sub_mpi:10:"5":10:"7":10:"-2"
markrad 0:cdf462088d13 351
markrad 0:cdf462088d13 352 Base test mbedtls_mpi_sub_mpi #2 (Test with negative inputs)
markrad 0:cdf462088d13 353 mbedtls_mpi_sub_mpi:10:"-5":10:"-7":10:"2"
markrad 0:cdf462088d13 354
markrad 0:cdf462088d13 355 Base test mbedtls_mpi_sub_mpi #3 (Test with negative base)
markrad 0:cdf462088d13 356 mbedtls_mpi_sub_mpi:10:"-5":10:"7":10:"-12"
markrad 0:cdf462088d13 357
markrad 0:cdf462088d13 358 Base test mbedtls_mpi_sub_mpi #4 (Test with negative subtraction)
markrad 0:cdf462088d13 359 mbedtls_mpi_sub_mpi:10:"5":10:"-7":10:"12"
markrad 0:cdf462088d13 360
markrad 0:cdf462088d13 361 Test mbedtls_mpi_sub_mpi #1
markrad 0:cdf462088d13 362 mbedtls_mpi_sub_mpi:10:"531872289054204184185084734375133399408303613982130856645299464930952178606045848877129147820387996428175564228204785846141207532462936339834139412401975338705794646595487324365194792822189473092273993580587964571659678084484152603881094176995594813302284232006001752128168901293560051833646881436219":10:"203956878356401977405765866929034577280193993314348263094772646453283062722701277632936616063144088173312372882677123879538709400158306567338328279154499698366071906766440037074217117805690872792848149112022286332144876183376326512083574821647933992961249917319836219304274280243803104015000563790123":10:"327915410697802206779318867446098822128109620667782593550526818477669115883344571244192531757243908254863191345527661966602498132304629772495811133247475640339722739829047287290977675016498600299425844468565678239514801901107826091797519355347660820341034314686165532823894621049756947818646317646096"
markrad 0:cdf462088d13 363
markrad 0:cdf462088d13 364 Test mbedtls_mpi_sub_mpi #2 (Test for negative result)
markrad 0:cdf462088d13 365 mbedtls_mpi_sub_mpi:10:"643808006803554439230129854961492699151386107534013432918073439524138264842370630061369715394739134090922937332590384720397133335969549256322620979036686633213903952966175107096769180017646161851573147596390153":10:"56125680981752282333498088313568935051383833838594899821664631784577337171193624243181360054669678410455329112434552942717084003541384594864129940145043086760031292483340068923506115878221189886491132772739661669044958531131327771":10:"-56125680981752282332854280306765380612153703983633407122513245677043323738275550803657221789827307780393959397039813808626161066208794210143732806809073537503708671504303382290292211925255014779394363592722015507193385383534937618"
markrad 0:cdf462088d13 366
markrad 0:cdf462088d13 367 Test mbedtls_mpi_sub_int #1
markrad 0:cdf462088d13 368 mbedtls_mpi_sub_int:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227012776329":-9871232:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227022647561"
markrad 0:cdf462088d13 369
markrad 0:cdf462088d13 370 Test mbedtls_mpi_sub_int #2
markrad 0:cdf462088d13 371 mbedtls_mpi_sub_int:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227012776329":9871232:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227002905097"
markrad 0:cdf462088d13 372
markrad 0:cdf462088d13 373 Test mbedtls_mpi_shift_l #1
markrad 0:cdf462088d13 374 mbedtls_mpi_shift_l:10:"64":1:10:"128"
markrad 0:cdf462088d13 375
markrad 0:cdf462088d13 376 Test mbedtls_mpi_shift_l #2
markrad 0:cdf462088d13 377 mbedtls_mpi_shift_l:10:"658385546911733550164516088405238961461880256029834598831972039469421755117818013653494814438931957316403111689187691446941406788869098983929874080332195117465344344350008880118042764943201875870917468833709791733282363323948005998269792207":37:10:"90487820548639020691922304619723076305400961610119884872723190678642804168382367856686134531865643066983017249846286450251272364365605022750900439437595355052945035915579216557330505438734955340526145476988250171181404966718289259743378883640981192704"
markrad 0:cdf462088d13 378
markrad 0:cdf462088d13 379 Test mbedtls_mpi_shift_r #1
markrad 0:cdf462088d13 380 mbedtls_mpi_shift_r:10:"128":1:10:"64"
markrad 0:cdf462088d13 381
markrad 0:cdf462088d13 382 Test mbedtls_mpi_shift_r #2
markrad 0:cdf462088d13 383 mbedtls_mpi_shift_r:10:"120815570979701484704906977000760567182871429114712069861589084706550626575967516787438008593490722779337547394120718248995900363209947025063336882559539208430319216688889117222633155838468458047056355241515415159736436403445579777425189969":45:10:"3433785053053426415343295076376096153094051405637175942660777670498379921354157795219578264137985649407981651226029903483433269093721578004287291678324982297860947730012217028349628999378309630601971640587504883789518896817457"
markrad 0:cdf462088d13 384
markrad 0:cdf462088d13 385 Test mbedtls_mpi_shift_r #4
markrad 0:cdf462088d13 386 mbedtls_mpi_shift_r:16:"FFFFFFFFFFFFFFFF":63:16:"01"
markrad 0:cdf462088d13 387
markrad 0:cdf462088d13 388 Test mbedtls_mpi_shift_r #4
markrad 0:cdf462088d13 389 mbedtls_mpi_shift_r:16:"FFFFFFFFFFFFFFFF":64:16:"00"
markrad 0:cdf462088d13 390
markrad 0:cdf462088d13 391 Test mbedtls_mpi_shift_r #6
markrad 0:cdf462088d13 392 mbedtls_mpi_shift_r:16:"FFFFFFFFFFFFFFFF":65:16:"00"
markrad 0:cdf462088d13 393
markrad 0:cdf462088d13 394 Test mbedtls_mpi_shift_r #7
markrad 0:cdf462088d13 395 mbedtls_mpi_shift_r:16:"FFFFFFFFFFFFFFFF":128:16:"00"
markrad 0:cdf462088d13 396
markrad 0:cdf462088d13 397 Base test mbedtls_mpi_mul_mpi #1
markrad 0:cdf462088d13 398 mbedtls_mpi_mul_mpi:10:"5":10:"7":10:"35"
markrad 0:cdf462088d13 399
markrad 0:cdf462088d13 400 Base test mbedtls_mpi_mul_mpi #2
markrad 0:cdf462088d13 401 mbedtls_mpi_mul_mpi:10:"-5":10:"7":10:"-35"
markrad 0:cdf462088d13 402
markrad 0:cdf462088d13 403 Base test mbedtls_mpi_mul_mpi #3
markrad 0:cdf462088d13 404 mbedtls_mpi_mul_mpi:10:"5":10:"-7":10:"-35"
markrad 0:cdf462088d13 405
markrad 0:cdf462088d13 406 Base test mbedtls_mpi_mul_mpi #4
markrad 0:cdf462088d13 407 mbedtls_mpi_mul_mpi:10:"-5":10:"-7":10:"35"
markrad 0:cdf462088d13 408
markrad 0:cdf462088d13 409 Test mbedtls_mpi_mul_mpi #1
markrad 0:cdf462088d13 410 mbedtls_mpi_mul_mpi:10:"28911710017320205966167820725313234361535259163045867986277478145081076845846493521348693253530011243988160148063424837895971948244167867236923919506962312185829914482993478947657472351461336729641485069323635424692930278888923450060546465883490944265147851036817433970984747733020522259537":10:"16471581891701794764704009719057349996270239948993452268812975037240586099924712715366967486587417803753916334331355573776945238871512026832810626226164346328807407669366029926221415383560814338828449642265377822759768011406757061063524768140567867350208554439342320410551341675119078050953":10:"476221599179424887669515829231223263939342135681791605842540429321038144633323941248706405375723482912535192363845116154236465184147599697841273424891410002781967962186252583311115708128167171262206919514587899883547279647025952837516324649656913580411611297312678955801899536937577476819667861053063432906071315727948826276092545739432005962781562403795455162483159362585281248265005441715080197800335757871588045959754547836825977169125866324128449699877076762316768127816074587766799018626179199776188490087103869164122906791440101822594139648973454716256383294690817576188761"
markrad 0:cdf462088d13 411
markrad 0:cdf462088d13 412 Test mbedtls_mpi_mul_int #1
markrad 0:cdf462088d13 413 mbedtls_mpi_mul_int:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227012776329":9871232:10:"20133056642518226042310730101376278483547239130123806338055387803943342738063359782107667328":"=="
markrad 0:cdf462088d13 414
markrad 0:cdf462088d13 415 Test mbedtls_mpi_mul_int #2 (Unsigned, thus failure)
markrad 0:cdf462088d13 416 mbedtls_mpi_mul_int:10:"2039568783564019774057658669290345772801939933143482630947726464532830627227012776329":-9871232:10:"-20133056642518226042310730101376278483547239130123806338055387803943342738063359782107667328":"!="
markrad 0:cdf462088d13 417
markrad 0:cdf462088d13 418 Test mbedtls_mpi_mul_int #3
markrad 0:cdf462088d13 419 mbedtls_mpi_mul_int:10:"-2039568783564019774057658669290345772801939933143482630947726464532830627227012776329":9871232:10:"-20133056642518226042310730101376278483547239130123806338055387803943342738063359782107667328":"=="
markrad 0:cdf462088d13 420
markrad 0:cdf462088d13 421 Test mbedtls_mpi_mul_int #4 (Unsigned, thus failure)
markrad 0:cdf462088d13 422 mbedtls_mpi_mul_int:10:"-2039568783564019774057658669290345772801939933143482630947726464532830627227012776329":-9871232:10:"20133056642518226042310730101376278483547239130123806338055387803943342738063359782107667328":"!="
markrad 0:cdf462088d13 423
markrad 0:cdf462088d13 424 Base test mbedtls_mpi_div_mpi #1
markrad 0:cdf462088d13 425 mbedtls_mpi_div_mpi:10:"1000":10:"13":10:"76":10:"12":0
markrad 0:cdf462088d13 426
markrad 0:cdf462088d13 427 Base test mbedtls_mpi_div_mpi #2 (Divide by zero)
markrad 0:cdf462088d13 428 mbedtls_mpi_div_mpi:10:"1000":10:"0":10:"1":10:"1":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
markrad 0:cdf462088d13 429
markrad 0:cdf462088d13 430 Base test mbedtls_mpi_div_mpi #3
markrad 0:cdf462088d13 431 mbedtls_mpi_div_mpi:10:"1000":10:"-13":10:"-76":10:"12":0
markrad 0:cdf462088d13 432
markrad 0:cdf462088d13 433 Test mbedtls_mpi_div_mpi #1
markrad 0:cdf462088d13 434 mbedtls_mpi_div_mpi:10:"20133056642518226042310730101376278483547239130123806338055387803943342738063359782107667328":10:"34":10:"592148724779947824773845002981655249516095268533053127589864347174804198178334111238460803":10:"26":0
markrad 0:cdf462088d13 435
markrad 0:cdf462088d13 436 Test mbedtls_mpi_div_mpi #2
markrad 0:cdf462088d13 437 mbedtls_mpi_div_mpi:10:"476221599179424887669515829231223263939342135681791605842540429321038144633323941248706405375723482912535192363845116154236465184147599697841273424891410002781967962186252583311115708128167171262206919514587899883547279647025952837516324649656913580411611297312678955801899536937577476819667861053063432906071315727948826276092545739432005962781562403795455162483159362585281248265005441715080197800335757871588045959754547836825977169125866324128449699877076762316768127816074587766799018626179199776188490087103869164122906791440101822594139648973454716256383294690817576188762":10:"28911710017320205966167820725313234361535259163045867986277478145081076845846493521348693253530011243988160148063424837895971948244167867236923919506962312185829914482993478947657472351461336729641485069323635424692930278888923450060546465883490944265147851036817433970984747733020522259537":10:"16471581891701794764704009719057349996270239948993452268812975037240586099924712715366967486587417803753916334331355573776945238871512026832810626226164346328807407669366029926221415383560814338828449642265377822759768011406757061063524768140567867350208554439342320410551341675119078050953":10:"1":0
markrad 0:cdf462088d13 438
markrad 0:cdf462088d13 439 Test mbedtls_mpi_div_mpi #3
markrad 0:cdf462088d13 440 mbedtls_mpi_div_mpi:10:"1000":10:"7":10:"142":10:"6":0
markrad 0:cdf462088d13 441
markrad 0:cdf462088d13 442 Test mbedtls_mpi_div_mpi #4
markrad 0:cdf462088d13 443 mbedtls_mpi_div_mpi:10:"777":10:"7":10:"111":10:"0":0
markrad 0:cdf462088d13 444
markrad 0:cdf462088d13 445 Base test mbedtls_mpi_div_int #1
markrad 0:cdf462088d13 446 mbedtls_mpi_div_int:10:"1000":13:10:"76":10:"12":0
markrad 0:cdf462088d13 447
markrad 0:cdf462088d13 448 Base test mbedtls_mpi_div_int #2 (Divide by zero)
markrad 0:cdf462088d13 449 mbedtls_mpi_div_int:10:"1000":0:10:"1":10:"1":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
markrad 0:cdf462088d13 450
markrad 0:cdf462088d13 451 Base test mbedtls_mpi_div_int #3
markrad 0:cdf462088d13 452 mbedtls_mpi_div_int:10:"1000":-13:10:"-76":10:"12":0
markrad 0:cdf462088d13 453
markrad 0:cdf462088d13 454 Test mbedtls_mpi_div_int #1
markrad 0:cdf462088d13 455 mbedtls_mpi_div_int:10:"20133056642518226042310730101376278483547239130123806338055387803943342738063359782107667328":34:10:"592148724779947824773845002981655249516095268533053127589864347174804198178334111238460803":10:"26":0
markrad 0:cdf462088d13 456
markrad 0:cdf462088d13 457 Test mbedtls_mpi_div_int #2
markrad 0:cdf462088d13 458 mbedtls_mpi_div_int:10:"20133056642518226042310730101376278483547239130123806338055387803943342738063359782107667328":-34:10:"-592148724779947824773845002981655249516095268533053127589864347174804198178334111238460803":10:"26":0
markrad 0:cdf462088d13 459
markrad 0:cdf462088d13 460 Base test mbedtls_mpi_mod_mpi #1
markrad 0:cdf462088d13 461 mbedtls_mpi_mod_mpi:10:"1000":10:"13":10:"12":0
markrad 0:cdf462088d13 462
markrad 0:cdf462088d13 463 Base test mbedtls_mpi_mod_mpi #2 (Divide by zero)
markrad 0:cdf462088d13 464 mbedtls_mpi_mod_mpi:10:"1000":10:"0":10:"0":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
markrad 0:cdf462088d13 465
markrad 0:cdf462088d13 466 Base test mbedtls_mpi_mod_mpi #3
markrad 0:cdf462088d13 467 mbedtls_mpi_mod_mpi:10:"-1000":10:"13":10:"1":0
markrad 0:cdf462088d13 468
markrad 0:cdf462088d13 469 Base test mbedtls_mpi_mod_mpi #4 (Negative modulo)
markrad 0:cdf462088d13 470 mbedtls_mpi_mod_mpi:10:"1000":10:"-13":10:"-1":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
markrad 0:cdf462088d13 471
markrad 0:cdf462088d13 472 Base test mbedtls_mpi_mod_mpi #5 (Negative modulo)
markrad 0:cdf462088d13 473 mbedtls_mpi_mod_mpi:10:"-1000":10:"-13":10:"-12":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
markrad 0:cdf462088d13 474
markrad 0:cdf462088d13 475 Base test mbedtls_mpi_mod_int #1
markrad 0:cdf462088d13 476 mbedtls_mpi_mod_int:10:"1000":13:12:0
markrad 0:cdf462088d13 477
markrad 0:cdf462088d13 478 Base test mbedtls_mpi_mod_int #2 (Divide by zero)
markrad 0:cdf462088d13 479 mbedtls_mpi_mod_int:10:"1000":0:0:MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
markrad 0:cdf462088d13 480
markrad 0:cdf462088d13 481 Base test mbedtls_mpi_mod_int #3
markrad 0:cdf462088d13 482 mbedtls_mpi_mod_int:10:"-1000":13:1:0
markrad 0:cdf462088d13 483
markrad 0:cdf462088d13 484 Base test mbedtls_mpi_mod_int #4 (Negative modulo)
markrad 0:cdf462088d13 485 mbedtls_mpi_mod_int:10:"1000":-13:0:MBEDTLS_ERR_MPI_NEGATIVE_VALUE
markrad 0:cdf462088d13 486
markrad 0:cdf462088d13 487 Base test mbedtls_mpi_mod_int #5 (Negative modulo)
markrad 0:cdf462088d13 488 mbedtls_mpi_mod_int:10:"-1000":-13:0:MBEDTLS_ERR_MPI_NEGATIVE_VALUE
markrad 0:cdf462088d13 489
markrad 0:cdf462088d13 490 Base test mbedtls_mpi_mod_int #6 (By 1)
markrad 0:cdf462088d13 491 mbedtls_mpi_mod_int:10:"1000":1:0:0
markrad 0:cdf462088d13 492
markrad 0:cdf462088d13 493 Base test mbedtls_mpi_mod_int #7 (By 2)
markrad 0:cdf462088d13 494 mbedtls_mpi_mod_int:10:"1001":2:1:0
markrad 0:cdf462088d13 495
markrad 0:cdf462088d13 496 Base test mbedtls_mpi_mod_int #8 (By 2)
markrad 0:cdf462088d13 497 mbedtls_mpi_mod_int:10:"1000":2:0:0
markrad 0:cdf462088d13 498
markrad 0:cdf462088d13 499 Base test mbedtls_mpi_exp_mod #1
markrad 0:cdf462088d13 500 mbedtls_mpi_exp_mod:10:"23":10:"13":10:"29":10:"":10:"24":0
markrad 0:cdf462088d13 501
markrad 0:cdf462088d13 502 Base test mbedtls_mpi_exp_mod #2 (Even N)
markrad 0:cdf462088d13 503 mbedtls_mpi_exp_mod:10:"23":10:"13":10:"30":10:"":10:"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 504
markrad 0:cdf462088d13 505 Base test mbedtls_mpi_exp_mod #3 (Negative N)
markrad 0:cdf462088d13 506 mbedtls_mpi_exp_mod:10:"23":10:"13":10:"-29":10:"":10:"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 507
markrad 0:cdf462088d13 508 Base test mbedtls_mpi_exp_mod #4 (Negative base)
markrad 0:cdf462088d13 509 mbedtls_mpi_exp_mod:10:"-23":10:"13":10:"29":10:"":10:"5":0
markrad 0:cdf462088d13 510
markrad 0:cdf462088d13 511 Base test mbedtls_mpi_exp_mod #5 (Negative exponent)
markrad 0:cdf462088d13 512 mbedtls_mpi_exp_mod:10:"23":10:"-13":10:"29":10:"":10:"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 513
markrad 0:cdf462088d13 514 Base test mbedtls_mpi_exp_mod #7 (Negative base + exponent)
markrad 0:cdf462088d13 515 mbedtls_mpi_exp_mod:10:"-23":10:"-13":10:"29":10:"":10:"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 516
markrad 0:cdf462088d13 517 Test mbedtls_mpi_exp_mod #1
markrad 0:cdf462088d13 518 mbedtls_mpi_exp_mod:10:"433019240910377478217373572959560109819648647016096560523769010881172869083338285573756574557395862965095016483867813043663981946477698466501451832407592327356331263124555137732393938242285782144928753919588632679050799198937132922145084847":10:"5781538327977828897150909166778407659250458379645823062042492461576758526757490910073628008613977550546382774775570888130029763571528699574717583228939535960234464230882573615930384979100379102915657483866755371559811718767760594919456971354184113721":10:"583137007797276923956891216216022144052044091311388601652961409557516421612874571554415606746479105795833145583959622117418531166391184939066520869800857530421873250114773204354963864729386957427276448683092491947566992077136553066273207777134303397724679138833126700957":10:"":10:"114597449276684355144920670007147953232659436380163461553186940113929777196018164149703566472936578890991049344459204199888254907113495794730452699842273939581048142004834330369483813876618772578869083248061616444392091693787039636316845512292127097865026290173004860736":0
markrad 0:cdf462088d13 519
markrad 0:cdf462088d13 520 Test mbedtls_mpi_exp_mod (Negative base)
markrad 0:cdf462088d13 521 mbedtls_mpi_exp_mod:10:"-10000000000":10:"10000000000":10:"99999":10:"":10:"99998":0
markrad 0:cdf462088d13 522
markrad 0:cdf462088d13 523 Test mbedtls_mpi_exp_mod (Negative base)
markrad 0:cdf462088d13 524 mbedtls_mpi_exp_mod:16:"-9f13012cd92aa72fb86ac8879d2fde4f7fd661aaae43a00971f081cc60ca277059d5c37e89652e2af2585d281d66ef6a9d38a117e9608e9e7574cd142dc55278838a2161dd56db9470d4c1da2d5df15a908ee2eb886aaa890f23be16de59386663a12f1afbb325431a3e835e3fd89b98b96a6f77382f458ef9a37e1f84a03045c8676ab55291a94c2228ea15448ee96b626b998":16:"40a54d1b9e86789f06d9607fb158672d64867665c73ee9abb545fc7a785634b354c7bae5b962ce8040cf45f2c1f3d3659b2ee5ede17534c8fc2ec85c815e8df1fe7048d12c90ee31b88a68a081f17f0d8ce5f4030521e9400083bcea73a429031d4ca7949c2000d597088e0c39a6014d8bf962b73bb2e8083bd0390a4e00b9b3":16:"eeaf0ab9adb38dd69c33f80afa8fc5e86072618775ff3c0b9ea2314c9c256576d674df7496ea81d3383b4813d692c6e0e0d5d8e250b98be48e495c1d6089dad15dc7d7b46154d6b6ce8ef4ad69b15d4982559b297bcf1885c529f566660e57ec68edbc3c05726cc02fd4cbf4976eaa9afd5138fe8376435b9fc61d2fc0eb06e3":16:"":16:"21acc7199e1b90f9b4844ffe12c19f00ec548c5d32b21c647d48b6015d8eb9ec9db05b4f3d44db4227a2b5659c1a7cceb9d5fa8fa60376047953ce7397d90aaeb7465e14e820734f84aa52ad0fc66701bcbb991d57715806a11531268e1e83dd48288c72b424a6287e9ce4e5cc4db0dd67614aecc23b0124a5776d36e5c89483":0
markrad 0:cdf462088d13 525
markrad 0:cdf462088d13 526 Base test GCD #1
markrad 0:cdf462088d13 527 mbedtls_mpi_gcd:10:"693":10:"609":10:"21"
markrad 0:cdf462088d13 528
markrad 0:cdf462088d13 529 Base test GCD #2
markrad 0:cdf462088d13 530 mbedtls_mpi_gcd:10:"1764":10:"868":10:"28"
markrad 0:cdf462088d13 531
markrad 0:cdf462088d13 532 Base test GCD #3
markrad 0:cdf462088d13 533 mbedtls_mpi_gcd:10:"768454923":10:"542167814":10:"1"
markrad 0:cdf462088d13 534
markrad 0:cdf462088d13 535 Test GCD #1
markrad 0:cdf462088d13 536 mbedtls_mpi_gcd:10:"433019240910377478217373572959560109819648647016096560523769010881172869083338285573756574557395862965095016483867813043663981946477698466501451832407592327356331263124555137732393938242285782144928753919588632679050799198937132922145084847":10:"5781538327977828897150909166778407659250458379645823062042492461576758526757490910073628008613977550546382774775570888130029763571528699574717583228939535960234464230882573615930384979100379102915657483866755371559811718767760594919456971354184113721":10:"1"
markrad 0:cdf462088d13 537
markrad 0:cdf462088d13 538 Base test mbedtls_mpi_inv_mod #1
markrad 0:cdf462088d13 539 mbedtls_mpi_inv_mod:10:"3":10:"11":10:"4":0
markrad 0:cdf462088d13 540
markrad 0:cdf462088d13 541 Base test mbedtls_mpi_inv_mod #2
markrad 0:cdf462088d13 542 mbedtls_mpi_inv_mod:10:"3":10:"0":10:"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 543
markrad 0:cdf462088d13 544 Base test mbedtls_mpi_inv_mod #3
markrad 0:cdf462088d13 545 mbedtls_mpi_inv_mod:10:"3":10:"-11":10:"4":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 546
markrad 0:cdf462088d13 547 Base test mbedtls_mpi_inv_mod #4
markrad 0:cdf462088d13 548 mbedtls_mpi_inv_mod:10:"2":10:"4":10:"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
markrad 0:cdf462088d13 549
markrad 0:cdf462088d13 550 Test mbedtls_mpi_inv_mod #1
markrad 0:cdf462088d13 551 mbedtls_mpi_inv_mod:16:"aa4df5cb14b4c31237f98bd1faf527c283c2d0f3eec89718664ba33f9762907c":16:"fffbbd660b94412ae61ead9c2906a344116e316a256fd387874c6c675b1d587d":16:"8d6a5c1d7adeae3e94b9bcd2c47e0d46e778bc8804a2cc25c02d775dc3d05b0c":0
markrad 0:cdf462088d13 552
markrad 0:cdf462088d13 553 Base test mbedtls_mpi_is_prime #1
markrad 0:cdf462088d13 554 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 555 mbedtls_mpi_is_prime:10:"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
markrad 0:cdf462088d13 556
markrad 0:cdf462088d13 557 Base test mbedtls_mpi_is_prime #2
markrad 0:cdf462088d13 558 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 559 mbedtls_mpi_is_prime:10:"1":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
markrad 0:cdf462088d13 560
markrad 0:cdf462088d13 561 Base test mbedtls_mpi_is_prime #3
markrad 0:cdf462088d13 562 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 563 mbedtls_mpi_is_prime:10:"2":0
markrad 0:cdf462088d13 564
markrad 0:cdf462088d13 565 Base test mbedtls_mpi_is_prime #4
markrad 0:cdf462088d13 566 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 567 mbedtls_mpi_is_prime:10:"3":0
markrad 0:cdf462088d13 568
markrad 0:cdf462088d13 569 Base test mbedtls_mpi_is_prime #5
markrad 0:cdf462088d13 570 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 571 mbedtls_mpi_is_prime:10:"4":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
markrad 0:cdf462088d13 572
markrad 0:cdf462088d13 573 Base test mbedtls_mpi_is_prime #6
markrad 0:cdf462088d13 574 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 575 mbedtls_mpi_is_prime:10:"5":0
markrad 0:cdf462088d13 576
markrad 0:cdf462088d13 577 Base test mbedtls_mpi_is_prime #7
markrad 0:cdf462088d13 578 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 579 mbedtls_mpi_is_prime:10:"27":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
markrad 0:cdf462088d13 580
markrad 0:cdf462088d13 581 Base test mbedtls_mpi_is_prime #8
markrad 0:cdf462088d13 582 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 583 mbedtls_mpi_is_prime:10:"47":0
markrad 0:cdf462088d13 584
markrad 0:cdf462088d13 585 Test mbedtls_mpi_is_prime #1a
markrad 0:cdf462088d13 586 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 587 mbedtls_mpi_is_prime:10:"83726728883146151979668243326097049289208482987685965276439157162337476477581":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
markrad 0:cdf462088d13 588
markrad 0:cdf462088d13 589 Test mbedtls_mpi_is_prime #1b
markrad 0:cdf462088d13 590 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 591 mbedtls_mpi_is_prime:10:"81248637410584921454869308488899267096530643632730258201256092582281263244641":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
markrad 0:cdf462088d13 592
markrad 0:cdf462088d13 593 Test mbedtls_mpi_is_prime #2a
markrad 0:cdf462088d13 594 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 595 mbedtls_mpi_is_prime:10:"827131507221654563937832686696200995595835694437983658840870036586124168186967796809117749047430768825822857042432722828096779098498192459819306321073968735177531164565305635281198148032612029767584644305912099":0
markrad 0:cdf462088d13 596
markrad 0:cdf462088d13 597 Test mbedtls_mpi_is_prime #2b
markrad 0:cdf462088d13 598 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 599 mbedtls_mpi_is_prime:10:"827131507221654563937832686696200995595835694437983658840870036586124168186967796809117749047430768825822857042432722828096779098498192459819306321073968735177531164565305635281198148032612029767584644305912001":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
markrad 0:cdf462088d13 600
markrad 0:cdf462088d13 601 Test mbedtls_mpi_is_prime #3
markrad 0:cdf462088d13 602 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 603 mbedtls_mpi_is_prime:10:"2833419889721787128217599":0
markrad 0:cdf462088d13 604
markrad 0:cdf462088d13 605 Test mbedtls_mpi_is_prime #4
markrad 0:cdf462088d13 606 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 607 mbedtls_mpi_is_prime:10:"195845982777569926302400511":0
markrad 0:cdf462088d13 608
markrad 0:cdf462088d13 609 Test mbedtls_mpi_is_prime #5
markrad 0:cdf462088d13 610 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 611 mbedtls_mpi_is_prime:10:"4776913109852041418248056622882488319":0
markrad 0:cdf462088d13 612
markrad 0:cdf462088d13 613 Test mbedtls_mpi_is_prime #5
markrad 0:cdf462088d13 614 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 615 mbedtls_mpi_is_prime:10:"768614336404564651":0
markrad 0:cdf462088d13 616
markrad 0:cdf462088d13 617 Test mbedtls_mpi_is_prime #6
markrad 0:cdf462088d13 618 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 619 mbedtls_mpi_is_prime:10:"201487636602438195784363":0
markrad 0:cdf462088d13 620
markrad 0:cdf462088d13 621 Test mbedtls_mpi_is_prime #7
markrad 0:cdf462088d13 622 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 623 mbedtls_mpi_is_prime:10:"845100400152152934331135470251":0
markrad 0:cdf462088d13 624
markrad 0:cdf462088d13 625 Test mbedtls_mpi_is_prime #8
markrad 0:cdf462088d13 626 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 627 mbedtls_mpi_is_prime:10:"56713727820156410577229101238628035243":0
markrad 0:cdf462088d13 628
markrad 0:cdf462088d13 629 Test mbedtls_mpi_is_prime #9
markrad 0:cdf462088d13 630 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 631 mbedtls_mpi_is_prime:10:"203956878356401977405765866929034577280193993314348263094772646453283062722701277632936616063144088173312372882677123879538709400158306567338328279154499698366071906766440037074217117805690872792848149112022286332144876183376326512083574821647933992961249917319836219304274280243803104015000563790123":0
markrad 0:cdf462088d13 632
markrad 0:cdf462088d13 633 Test mbedtls_mpi_is_prime #10
markrad 0:cdf462088d13 634 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 635 mbedtls_mpi_is_prime:10:"531872289054204184185084734375133399408303613982130856645299464930952178606045848877129147820387996428175564228204785846141207532462936339834139412401975338705794646595487324365194792822189473092273993580587964571659678084484152603881094176995594813302284232006001752128168901293560051833646881436219":0
markrad 0:cdf462088d13 636
markrad 0:cdf462088d13 637 Test mbedtls_mpi_is_prime #11
markrad 0:cdf462088d13 638 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 639 mbedtls_mpi_is_prime:10:"319705304701141539155720137200974664666792526059405792539680974929469783512821793995613718943171723765238853752439032835985158829038528214925658918372196742089464683960239919950882355844766055365179937610326127675178857306260955550407044463370239890187189750909036833976197804646589380690779463976173":0
markrad 0:cdf462088d13 640
markrad 0:cdf462088d13 641 Test mbedtls_mpi_is_prime #12
markrad 0:cdf462088d13 642 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 643 mbedtls_mpi_is_prime:10:"200603822195324642393516294012917598972967449320074999667103434371470616000652036570009912021332527788252300901905236578801044680456930305350440933538867383130165841118050781326291059830545891570648243241795871":0
markrad 0:cdf462088d13 644
markrad 0:cdf462088d13 645 Test mbedtls_mpi_is_prime #13
markrad 0:cdf462088d13 646 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 647 mbedtls_mpi_is_prime:10:"827131507221654563937832686696200995595835694437983658840870036586124168186967796809117749047430768825822857042432722828096779098498192459819306321073968735177531164565305635281198148032612029767584644305912099":0
markrad 0:cdf462088d13 648
markrad 0:cdf462088d13 649 Test mbedtls_mpi_is_prime #14
markrad 0:cdf462088d13 650 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 651 mbedtls_mpi_is_prime:10:"964274047248418797145090983157197980855078966882276492572788532954904112655338439361306213898569516593744267391754033306465125919199692703323878557833023573312685002670662846477592597659826113460619815244721311":0
markrad 0:cdf462088d13 652
markrad 0:cdf462088d13 653 Test mbedtls_mpi_is_prime #15
markrad 0:cdf462088d13 654 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 655 mbedtls_mpi_is_prime:10:"170141183460469231731687303715884105727":0
markrad 0:cdf462088d13 656
markrad 0:cdf462088d13 657 Test mbedtls_mpi_is_prime #16
markrad 0:cdf462088d13 658 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 659 mbedtls_mpi_is_prime:10:"2147483647":0
markrad 0:cdf462088d13 660
markrad 0:cdf462088d13 661 Test mbedtls_mpi_is_prime #17
markrad 0:cdf462088d13 662 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 663 mbedtls_mpi_is_prime:10:"961748941":0
markrad 0:cdf462088d13 664
markrad 0:cdf462088d13 665 Test mbedtls_mpi_is_prime #18
markrad 0:cdf462088d13 666 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 667 mbedtls_mpi_is_prime:10:"179424691":0
markrad 0:cdf462088d13 668
markrad 0:cdf462088d13 669 Test mbedtls_mpi_is_prime #19
markrad 0:cdf462088d13 670 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 671 mbedtls_mpi_is_prime:10:"32452867":0
markrad 0:cdf462088d13 672
markrad 0:cdf462088d13 673 Test mbedtls_mpi_is_prime #20
markrad 0:cdf462088d13 674 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 675 mbedtls_mpi_is_prime:10:"49979687":0
markrad 0:cdf462088d13 676
markrad 0:cdf462088d13 677 Test mbedtls_mpi_gen_prime (Too small)
markrad 0:cdf462088d13 678 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 679 mbedtls_mpi_gen_prime:2:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 680
markrad 0:cdf462088d13 681 Test mbedtls_mpi_gen_prime (OK, minimum size)
markrad 0:cdf462088d13 682 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 683 mbedtls_mpi_gen_prime:3:0:0
markrad 0:cdf462088d13 684
markrad 0:cdf462088d13 685 Test mbedtls_mpi_gen_prime (Larger)
markrad 0:cdf462088d13 686 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 687 mbedtls_mpi_gen_prime:128:0:0
markrad 0:cdf462088d13 688
markrad 0:cdf462088d13 689 Test mbedtls_mpi_gen_prime (Safe)
markrad 0:cdf462088d13 690 depends_on:MBEDTLS_GENPRIME
markrad 0:cdf462088d13 691 mbedtls_mpi_gen_prime:128:1:0
markrad 0:cdf462088d13 692
markrad 0:cdf462088d13 693 Test bit getting (Value bit 25)
markrad 0:cdf462088d13 694 mbedtls_mpi_get_bit:10:"49979687":25:1
markrad 0:cdf462088d13 695
markrad 0:cdf462088d13 696 Test bit getting (Larger but same limb)
markrad 0:cdf462088d13 697 mbedtls_mpi_get_bit:10:"49979687":26:0
markrad 0:cdf462088d13 698
markrad 0:cdf462088d13 699 Test bit getting (Larger and non-existing limb)
markrad 0:cdf462088d13 700 mbedtls_mpi_get_bit:10:"49979687":500:0
markrad 0:cdf462088d13 701
markrad 0:cdf462088d13 702 Test bit getting (Value bit 24)
markrad 0:cdf462088d13 703 mbedtls_mpi_get_bit:10:"49979687":24:0
markrad 0:cdf462088d13 704
markrad 0:cdf462088d13 705 Test bit getting (Value bit 23)
markrad 0:cdf462088d13 706 mbedtls_mpi_get_bit:10:"49979687":23:1
markrad 0:cdf462088d13 707
markrad 0:cdf462088d13 708 Test bit set (Change existing value with a 1)
markrad 0:cdf462088d13 709 mbedtls_mpi_set_bit:10:"49979687":24:1:10:"66756903":0
markrad 0:cdf462088d13 710
markrad 0:cdf462088d13 711 Test bit set (Change existing value with a 0)
markrad 0:cdf462088d13 712 mbedtls_mpi_set_bit:10:"49979687":25:0:10:"16425255":0
markrad 0:cdf462088d13 713
markrad 0:cdf462088d13 714 Test bit set (Add above existing limbs with a 0)
markrad 0:cdf462088d13 715 mbedtls_mpi_set_bit:10:"49979687":80:0:10:"49979687":0
markrad 0:cdf462088d13 716
markrad 0:cdf462088d13 717 Test bit set (Add above existing limbs with a 1)
markrad 0:cdf462088d13 718 mbedtls_mpi_set_bit:10:"49979687":80:1:10:"1208925819614629224685863":0
markrad 0:cdf462088d13 719
markrad 0:cdf462088d13 720 Test bit set (Bit index larger than 31 with a 0)
markrad 0:cdf462088d13 721 mbedtls_mpi_set_bit:16:"FFFFFFFFFFFFFFFF":32:0:16:"FFFFFFFEFFFFFFFF":0
markrad 0:cdf462088d13 722
markrad 0:cdf462088d13 723 Test bit set (Bit index larger than 31 with a 1)
markrad 0:cdf462088d13 724 mbedtls_mpi_set_bit:16:"00":32:1:16:"0100000000":0
markrad 0:cdf462088d13 725
markrad 0:cdf462088d13 726 Test bit set (Invalid bit value)
markrad 0:cdf462088d13 727 mbedtls_mpi_set_bit:16:"00":5:2:16:"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
markrad 0:cdf462088d13 728
markrad 0:cdf462088d13 729 MPI Selftest
markrad 0:cdf462088d13 730 depends_on:MBEDTLS_SELF_TEST
markrad 0:cdf462088d13 731 mpi_selftest: