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