aboutsummaryrefslogtreecommitdiff
path: root/_results/default/Oberthur_Cosmo_v7.default
blob: 32c2e4fefa99adad4d56362991b66234a33eba89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
---
testRun:
  date: 2019.07.18 16:54:22
  suite:
    name: default
    desc: The default test suite tests basic support and performance of ECDH and ECDSA.
  device:
    type: card
    ectester: v0.3.3
    cplc: {
      }
    applet:
      version: v0.3.3
      javacard: 2.2
      base: 546
      cleanup: true
      arrays:
        apduBuf: 635
        ramArray: 256
        ramArray2: 256
        apduArray: 512
    ATR: 3bdb960080b1fe451f830031c064c308010001900095
  tests:
  - result:
      ok: false
      value: FAILURE
      cause: Some sub-tests did not have the expected result.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 70 05
        desc: Allocate both keypairs 112b ALG_EC_FP
      response:
        successful: false
        apdu: 00 03 00 03 90 00
        natural_sw: 36864
        sws:
        - 3
        - 3
        duration: 79198095
        desc: Allocate both keypairs 112b ALG_EC_FP
      desc: Allocate both keypairs 112b ALG_EC_FP
      result:
        ok: false
        value: FAILURE
        cause: null
    index: 0
    type: compound
    desc: No support for 112b ALG_EC_FP.
  - result:
      ok: false
      value: FAILURE
      cause: Some sub-tests did not have the expected result.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 80 05
        desc: Allocate both keypairs 128b ALG_EC_FP
      response:
        successful: false
        apdu: 00 03 00 03 90 00
        natural_sw: 36864
        sws:
        - 3
        - 3
        duration: 87028138
        desc: Allocate both keypairs 128b ALG_EC_FP
      desc: Allocate both keypairs 128b ALG_EC_FP
      result:
        ok: false
        value: FAILURE
        cause: null
    index: 1
    type: compound
    desc: No support for 128b ALG_EC_FP.
  - result:
      ok: true
      value: SUCCESS
      cause: All sub-tests matched the expected mask.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 a0 05
        desc: Allocate both keypairs 160b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 676488073
        desc: Allocate both keypairs 160b ALG_EC_FP
      desc: Allocate both keypairs 160b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: false
        apdu: 00 01 00 01 90 00
        natural_sw: 36864
        sws:
        - 1
        - 1
        duration: 29891730
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: false
        value: FAILURE
        cause: null
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 a0 05
        desc: Allocate both keypairs 160b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 697533891
        desc: Allocate both keypairs 160b ALG_EC_FP
      desc: Allocate both keypairs 160b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5c 03 03 02 00 7d
        desc: Set secp160r1 curve parameters on both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 298119298
        desc: Set secp160r1 curve parameters on both keypairs
      desc: Set secp160r1 curve parameters on both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 1378047138
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 01
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 29024721
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 761088998
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 547702864
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 750857431
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: Mean = 739464609 ns, Median = 739786526 ns, Mode = 735392953 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DH KeyAgreement.
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 02
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 30771179
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 686389680
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 549697749
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 680339656
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: Mean = 669710665 ns, Median = 670309666 ns, Mode = 667515707 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DHC KeyAgreement.
      - type: command
        command:
          apdu: b0 76 00 00 01 03
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13613769
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 04
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21028749
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 05
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21107345
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 06
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20946541
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: KeyAgreement tests.
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: All sub-tests had the expected result.
        tests:
        - type: command
          command:
            apdu: b0 77 00 00 01 11
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 36315200
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          desc: Allocate Signature(ALG_ECDSA_SHA) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 72 01 00 03 11 00 00
            desc: ALG_ECDSA_SHA with local keypair(random data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1856561869
            desc: ALG_ECDSA_SHA with local keypair(random data)
          desc: ALG_ECDSA_SHA with local keypair(random data)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 73 01 ff 43 11 00 40 5e fe 3d 42 a6 86 65 f3 e5 84 f0 19 03 45
              32 9d 87 e7 e4 a6 a6 1a 54 94 39 ff 9a 33 b1 df 6e 6a a6 39 83 99 a1
              a8 3b 53 86 be bb 14 d5 7f 98 8b 56 ee 35 e3 c1 86 26 97 21 a7 86 c0
              64 b2 3d 36
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 00 2e 30 2c 02 14 3b cf 69 71 1e 9f 42 ac 02 12 f8 d3 af fd
              4f 50 34 ec 7e 72 02 14 5c 06 b9 8f e3 97 60 05 e0 7e a3 12 7f bb fc
              de 08 47 c1 48 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 694859682
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          desc: Sign (Mean = 683377367 ns, Median = 682555464 ns, Mode = 680665550
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 74 01 11 72 00 40 5e fe 3d 42 a6 86 65 f3 e5 84 f0 19 03 45 32
              9d 87 e7 e4 a6 a6 1a 54 94 39 ff 9a 33 b1 df 6e 6a a6 39 83 99 a1 a8
              3b 53 86 be bb 14 d5 7f 98 8b 56 ee 35 e3 c1 86 26 97 21 a7 86 c0 64
              b2 3d 36 00 2e 30 2c 02 14 7e f4 a6 a8 35 bd 12 94 ed 27 cb 67 5c 98
              d5 fa 25 fc 51 30 02 14 06 20 02 37 e3 db 79 f0 f3 fa 82 5e 00 c8 19
              de c4 73 34 fb
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 789838283
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          desc: Verify (Mean = 777834067 ns, Median = 776459592 ns, Mode = 776200686
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_ECDSA_SHA signature.
      - type: command
        command:
          apdu: b0 77 00 00 01 25
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13438462
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 21
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20738787
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 22
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20443983
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 26
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20594668
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: Signature tests.
    index: 2
    type: compound
    desc: Tests of 160b ALG_EC_FP support.
  - result:
      ok: true
      value: SUCCESS
      cause: All sub-tests matched the expected mask.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 c0 05
        desc: Allocate both keypairs 192b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 695372652
        desc: Allocate both keypairs 192b ALG_EC_FP
      desc: Allocate both keypairs 192b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: false
        apdu: 00 01 00 01 90 00
        natural_sw: 36864
        sws:
        - 1
        - 1
        duration: 29641205
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: false
        value: FAILURE
        cause: null
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 c0 05
        desc: Allocate both keypairs 192b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 708001747
        desc: Allocate both keypairs 192b ALG_EC_FP
      desc: Allocate both keypairs 192b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5c 03 04 02 00 7d
        desc: Set secp192r1 curve parameters on both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 304298698
        desc: Set secp192r1 curve parameters on both keypairs
      desc: Set secp192r1 curve parameters on both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 1623715988
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 01
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 37995597
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 896720973
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 639707625
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 892762342
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: Mean = 881414915 ns, Median = 881840422 ns, Mode = 878002889 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DH KeyAgreement.
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 02
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 31126417
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 810740445
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 641387718
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 805250970
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: Mean = 793815866 ns, Median = 793668342 ns, Mode = 791505961 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DHC KeyAgreement.
      - type: command
        command:
          apdu: b0 76 00 00 01 03
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13541223
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 04
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20967433
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 05
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21358598
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 06
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21134750
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: KeyAgreement tests.
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: All sub-tests had the expected result.
        tests:
        - type: command
          command:
            apdu: b0 77 00 00 01 11
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 31080181
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          desc: Allocate Signature(ALG_ECDSA_SHA) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 72 01 00 03 11 00 00
            desc: ALG_ECDSA_SHA with local keypair(random data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1758439189
            desc: ALG_ECDSA_SHA with local keypair(random data)
          desc: ALG_ECDSA_SHA with local keypair(random data)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 73 01 ff 43 11 00 40 83 b9 8c 25 63 5d 8a d8 a8 c9 42 16 ce f4
              56 0c 56 b5 7b 2c ef 29 66 03 24 a5 07 a6 42 07 0c a8 53 fe ad aa 2b
              e8 bf 7e e4 5a 3e f7 80 d4 81 58 68 cf d2 4a ab 90 6c 03 4d f2 b4 e6
              ee 90 8b 76
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 00 38 30 36 02 19 00 bc e6 30 12 9d 16 43 83 3f 89 55 a8 9a
              4c 31 7a 3d 79 c6 db 6c 50 50 7f 02 19 00 d7 a2 79 e1 6c c5 54 9f 0b
              50 9e 1b 8c 10 97 c6 38 66 dd 84 f7 a1 b5 c7 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 815394534
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          desc: Sign (Mean = 806043439 ns, Median = 804635244 ns, Mode = 803760609
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 74 01 11 7c 00 40 83 b9 8c 25 63 5d 8a d8 a8 c9 42 16 ce f4 56
              0c 56 b5 7b 2c ef 29 66 03 24 a5 07 a6 42 07 0c a8 53 fe ad aa 2b e8
              bf 7e e4 5a 3e f7 80 d4 81 58 68 cf d2 4a ab 90 6c 03 4d f2 b4 e6 ee
              90 8b 76 00 38 30 36 02 19 00 f8 a9 d2 22 48 a4 4f f1 3a 46 41 ac 3f
              d9 00 ed 95 5b e0 ea f6 d4 78 c3 02 19 00 b3 6d e9 c9 7e 65 fd c2 d5
              78 3e ac 5d 7b c0 23 54 b9 19 9c fa 76 58 ee
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 937597623
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          desc: Verify (Mean = 925924166 ns, Median = 924706129 ns, Mode = 924154800
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_ECDSA_SHA signature.
      - type: command
        command:
          apdu: b0 77 00 00 01 25
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13653340
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 21
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21272801
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 22
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20602601
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 26
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20486422
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: Signature tests.
    index: 3
    type: compound
    desc: Tests of 192b ALG_EC_FP support.
  - result:
      ok: true
      value: SUCCESS
      cause: All sub-tests matched the expected mask.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 e0 05
        desc: Allocate both keypairs 224b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 705527078
        desc: Allocate both keypairs 224b ALG_EC_FP
      desc: Allocate both keypairs 224b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: false
        apdu: 00 01 00 01 90 00
        natural_sw: 36864
        sws:
        - 1
        - 1
        duration: 30100393
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: false
        value: FAILURE
        cause: null
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 e0 05
        desc: Allocate both keypairs 224b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 718368936
        desc: Allocate both keypairs 224b ALG_EC_FP
      desc: Allocate both keypairs 224b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5c 03 05 02 00 7d
        desc: Set secp224r1 curve parameters on both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 304731776
        desc: Set secp224r1 curve parameters on both keypairs
      desc: Set secp224r1 curve parameters on both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 2056401350
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 01
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 38451138
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1130494070
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 830980694
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1125844676
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: Mean = 1114010686 ns, Median = 1114120313 ns, Mode = 1113098729 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DH KeyAgreement.
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 02
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 31297605
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1025697212
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 830861605
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1018514007
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: Mean = 1007336413 ns, Median = 1007506913 ns, Mode = 1004359344 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DHC KeyAgreement.
      - type: command
        command:
          apdu: b0 76 00 00 01 03
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13609625
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 04
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20758024
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 05
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20525864
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 06
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20775439
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: KeyAgreement tests.
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: All sub-tests had the expected result.
        tests:
        - type: command
          command:
            apdu: b0 77 00 00 01 11
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 31243711
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          desc: Allocate Signature(ALG_ECDSA_SHA) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 72 01 00 03 11 00 00
            desc: ALG_ECDSA_SHA with local keypair(random data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 2220552037
            desc: ALG_ECDSA_SHA with local keypair(random data)
          desc: ALG_ECDSA_SHA with local keypair(random data)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 73 01 ff 43 11 00 40 59 20 71 bc 8e ca 17 89 a1 28 65 07 46 cc
              31 c2 fd 6a a4 e0 a1 aa cb e6 58 0d c7 27 98 76 1b cf d1 d7 9a b9 30
              23 a0 8e 60 78 14 7b 70 3a c5 78 a8 e3 04 e7 d1 d2 05 75 9c 45 c2 aa
              a7 86 a5 56
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 00 3e 30 3c 02 1c 4a 3b 40 88 f6 57 f8 02 57 b8 00 fb a2 1d
              4b 56 d1 a8 a4 bc e9 26 5c 6c e5 b5 16 14 02 1c 63 ad 9c 0f fa e3 4e
              c2 78 c7 4f 5b e2 70 ce 01 17 8e b7 e8 39 bd fc 3b aa 7b 15 63 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1031613435
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          desc: Sign (Mean = 1021713890 ns, Median = 1020621392 ns, Mode = 1019346149
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 74 01 11 82 00 40 59 20 71 bc 8e ca 17 89 a1 28 65 07 46 cc 31
              c2 fd 6a a4 e0 a1 aa cb e6 58 0d c7 27 98 76 1b cf d1 d7 9a b9 30 23
              a0 8e 60 78 14 7b 70 3a c5 78 a8 e3 04 e7 d1 d2 05 75 9c 45 c2 aa a7
              86 a5 56 00 3e 30 3c 02 1c 08 ac 4e ab 0e 92 9b 1e 01 5f 7d 09 eb 64
              81 df cc 4b 22 d0 07 49 ee 9a c1 5e f8 71 02 1c 68 bd 9f 9d cb 20 ee
              7d 2d 3b a9 51 8c 49 1c ba 9a 18 bb 00 e1 26 66 6f 55 a9 36 1e
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1184166646
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          desc: Verify (Mean = 1171411412 ns, Median = 1170387344 ns, Mode = 1168159704
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_ECDSA_SHA signature.
      - type: command
        command:
          apdu: b0 77 00 00 01 25
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13561920
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 21
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21178734
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 22
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21028446
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 26
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20487833
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: Signature tests.
    index: 4
    type: compound
    desc: Tests of 224b ALG_EC_FP support.
  - result:
      ok: true
      value: SUCCESS
      cause: All sub-tests matched the expected mask.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 01 00 05
        desc: Allocate both keypairs 256b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 716832637
        desc: Allocate both keypairs 256b ALG_EC_FP
      desc: Allocate both keypairs 256b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: false
        apdu: 00 01 00 01 90 00
        natural_sw: 36864
        sws:
        - 1
        - 1
        duration: 30050660
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: false
        value: FAILURE
        cause: null
    - type: command
      command:
        apdu: b0 5a 03 03 03 01 00 05
        desc: Allocate both keypairs 256b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 728561300
        desc: Allocate both keypairs 256b ALG_EC_FP
      desc: Allocate both keypairs 256b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5c 03 06 02 00 7d
        desc: Set secp256r1 curve parameters on both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 306340452
        desc: Set secp256r1 curve parameters on both keypairs
      desc: Set secp256r1 curve parameters on both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 2141778076
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 01
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 38769881
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1200553508
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 826950109
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1195894664
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: Mean = 1183681830 ns, Median = 1183887707 ns, Mode = 1180557719 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DH KeyAgreement.
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 02
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 31457206
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1067340630
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 828901491
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1065525175
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: Mean = 1051845886 ns, Median = 1052468059 ns, Mode = 1042062963 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DHC KeyAgreement.
      - type: command
        command:
          apdu: b0 76 00 00 01 03
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13518783
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 04
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20992306
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 05
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21031357
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 06
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21156321
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: KeyAgreement tests.
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: All sub-tests had the expected result.
        tests:
        - type: command
          command:
            apdu: b0 77 00 00 01 11
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 31711625
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          desc: Allocate Signature(ALG_ECDSA_SHA) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 72 01 00 03 11 00 00
            desc: ALG_ECDSA_SHA with local keypair(random data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 2349029051
            desc: ALG_ECDSA_SHA with local keypair(random data)
          desc: ALG_ECDSA_SHA with local keypair(random data)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 73 01 ff 43 11 00 40 78 9d 52 e2 15 7d 7f c9 b5 b6 79 a6 b1 8b
              37 69 25 ac e1 2f 13 b2 fc b8 a4 e8 a6 7f 88 1a 83 05 ca bd dd 00 ac
              42 30 6d 18 15 a5 6d 0d 83 81 01 76 a5 18 ca ae e6 91 39 33 eb 7b 48
              77 b9 76 dd
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 00 47 30 45 02 20 67 9d 77 5c 92 3f 28 7f 38 a0 60 49 9b 83
              d2 42 c9 f7 9f 8f 32 d2 c1 af 3a 5c c4 c0 df 11 bc c5 02 21 00 b6 43
              89 95 79 7e 5b 7f ef 99 49 c7 ee 54 ae 4a 8f dd 11 d9 1b f8 37 72 fc
              67 1b 05 98 4b 11 74 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1077909140
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          desc: Sign (Mean = 1067528755 ns, Median = 1066314168 ns, Mode = 1065213509
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 74 01 11 8c 00 40 78 9d 52 e2 15 7d 7f c9 b5 b6 79 a6 b1 8b 37
              69 25 ac e1 2f 13 b2 fc b8 a4 e8 a6 7f 88 1a 83 05 ca bd dd 00 ac 42
              30 6d 18 15 a5 6d 0d 83 81 01 76 a5 18 ca ae e6 91 39 33 eb 7b 48 77
              b9 76 dd 00 48 30 46 02 21 00 cc d1 15 78 cf ee 11 7f 69 eb ad 45 2e
              33 73 9a 7f 87 6f 8a fe 2f 57 8b 6d f7 85 1c ba 8d ca cd 02 21 00 f6
              11 c3 ea e5 62 7d 48 ee 50 73 a0 fe 9f e8 7e 71 59 ff 73 d5 ac 3d 08
              27 5d e6 69 b9 43 54 4e
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1270181952
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          desc: Verify (Mean = 1256440459 ns, Median = 1255338985 ns, Mode = 1254628247
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_ECDSA_SHA signature.
      - type: command
        command:
          apdu: b0 77 00 00 01 25
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13539628
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 21
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20853183
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 22
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20908003
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 26
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21165004
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: Signature tests.
    index: 5
    type: compound
    desc: Tests of 256b ALG_EC_FP support.
  - result:
      ok: true
      value: SUCCESS
      cause: All sub-tests matched the expected mask.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 01 80 05
        desc: Allocate both keypairs 384b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 726600317
        desc: Allocate both keypairs 384b ALG_EC_FP
      desc: Allocate both keypairs 384b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: false
        apdu: 00 01 00 01 90 00
        natural_sw: 36864
        sws:
        - 1
        - 1
        duration: 29837685
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: false
        value: FAILURE
        cause: null
    - type: command
      command:
        apdu: b0 5a 03 03 03 01 80 05
        desc: Allocate both keypairs 384b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 739642740
        desc: Allocate both keypairs 384b ALG_EC_FP
      desc: Allocate both keypairs 384b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5c 03 07 02 00 7d
        desc: Set secp384r1 curve parameters on both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 311647131
        desc: Set secp384r1 curve parameters on both keypairs
      desc: Set secp384r1 curve parameters on both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 3809570099
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 01
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 39337533
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 2206743307
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 1442152304
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 2201387379
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: Mean = 2190466089 ns, Median = 2191007869 ns, Mode = 2185784099 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DH KeyAgreement.
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 02
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 31971975
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1905600189
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 1443498638
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1900049462
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: Mean = 1888783833 ns, Median = 1888971241 ns, Mode = 1884648471 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DHC KeyAgreement.
      - type: command
        command:
          apdu: b0 76 00 00 01 03
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13539056
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 04
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20845675
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 05
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21099456
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 06
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21066940
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: KeyAgreement tests.
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: All sub-tests had the expected result.
        tests:
        - type: command
          command:
            apdu: b0 77 00 00 01 11
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 32196754
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          desc: Allocate Signature(ALG_ECDSA_SHA) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 72 01 00 03 11 00 00
            desc: ALG_ECDSA_SHA with local keypair(random data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 4331645504
            desc: ALG_ECDSA_SHA with local keypair(random data)
          desc: ALG_ECDSA_SHA with local keypair(random data)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 73 01 ff 43 11 00 40 89 7d 41 38 d2 0f f9 eb 3a 22 f4 a3 f1 6b
              a2 8e f6 cc b0 55 77 a6 48 5d f1 8b 4a db c8 51 be 22 ca a9 0b c6 36
              0c 38 3d 75 db 87 57 81 25 f0 b1 8a 54 d8 32 a3 81 48 c6 5c 23 a7 98
              35 a2 f8 68
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 00 67 30 65 02 30 25 9e b3 b9 d9 b3 55 36 92 a7 4b 9f f5 cf
              9b c5 5d 1a df 75 c8 1c 8e 79 f0 27 7f 8d bb 80 58 6d 42 46 fa ec d4
              be 49 ed c3 9f a9 08 50 4a 52 67 02 31 00 d6 b7 5a 65 53 77 8c f1 7c
              e7 b1 ca 95 34 57 c2 5f be 4d b8 7d 30 fc 30 e9 95 ed f0 9a 74 96 ed
              e0 03 3b 71 75 81 fe 8f cc ba cb 2c 20 26 1c d3 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 1918143842
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          desc: Sign (Mean = 1907081743 ns, Median = 1906483488 ns, Mode = 1902505700
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 74 01 11 ac 00 40 89 7d 41 38 d2 0f f9 eb 3a 22 f4 a3 f1 6b a2
              8e f6 cc b0 55 77 a6 48 5d f1 8b 4a db c8 51 be 22 ca a9 0b c6 36 0c
              38 3d 75 db 87 57 81 25 f0 b1 8a 54 d8 32 a3 81 48 c6 5c 23 a7 98 35
              a2 f8 68 00 68 30 66 02 31 00 bc a4 cd c9 01 92 35 6d 62 a6 6b 12 19
              07 67 5d be b9 e6 30 59 85 96 5a a3 89 80 32 a8 af b7 aa 9d 8a f6 21
              2c 5a c9 16 76 e7 58 0f 92 a9 fc a2 02 31 00 fb c3 d5 31 9d cf e0 f7
              aa b5 7b 10 2b 23 ff d9 01 fb c0 7e fa f3 98 e5 67 fe 03 74 a1 0c a4
              59 78 8f fe 43 9b 1a f7 c8 5b ca 46 66 d3 ae 22 ae
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 2413500185
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          desc: Verify (Mean = 2398914471 ns, Median = 2397814360 ns, Mode = 2397122646
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_ECDSA_SHA signature.
      - type: command
        command:
          apdu: b0 77 00 00 01 25
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13538512
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 21
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21392531
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 22
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20575629
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 26
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20617501
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: Signature tests.
    index: 6
    type: compound
    desc: Tests of 384b ALG_EC_FP support.
  - result:
      ok: true
      value: SUCCESS
      cause: All sub-tests matched the expected mask.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 02 09 05
        desc: Allocate both keypairs 521b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 740674623
        desc: Allocate both keypairs 521b ALG_EC_FP
      desc: Allocate both keypairs 521b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: false
        apdu: 00 01 00 01 90 00
        natural_sw: 36864
        sws:
        - 1
        - 1
        duration: 29755775
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: false
        value: FAILURE
        cause: null
    - type: command
      command:
        apdu: b0 5a 03 03 03 02 09 05
        desc: Allocate both keypairs 521b ALG_EC_FP
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 755496346
        desc: Allocate both keypairs 521b ALG_EC_FP
      desc: Allocate both keypairs 521b ALG_EC_FP
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5c 03 08 02 00 7d
        desc: Set secp521r1 curve parameters on both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 319610818
        desc: Set secp521r1 curve parameters on both keypairs
      desc: Set secp521r1 curve parameters on both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - type: command
      command:
        apdu: b0 5e 03 00 01 00
        desc: Generate both keypairs
      response:
        successful: true
        apdu: 90 00 90 00 90 00
        natural_sw: 36864
        sws:
        - 36864
        - 36864
        duration: 7204991206
        desc: Generate both keypairs
      desc: Generate both keypairs
      result:
        ok: true
        value: SUCCESS
        cause: null
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 01
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 39826552
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 4260515055
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 2753898920
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DH of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 01
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 4259657589
            desc: ALG_EC_SVDP_DH of local pubkey and remote privkey
          desc: Mean = 4245992380 ns, Median = 4246553312 ns, Mode = 4240357968 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DH KeyAgreement.
      - result:
          ok: true
          value: SUCCESS
          cause: Some ECDH is supported.
        tests:
        - type: command
          command:
            apdu: b0 76 00 00 01 02
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 32683899
            desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 3615802583
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 01 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          response:
            successful: false
            apdu: 00 01 90 00
            natural_sw: 36864
            sws:
            - 1
            duration: 2756823864
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey(COMPRESSED point)
          result:
            ok: false
            value: FAILURE
            cause: null
        - type: command
          command:
            apdu: b0 70 01 02 04 00 00 00 02
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 3605319087
            desc: ALG_EC_SVDP_DHC of local pubkey and remote privkey
          desc: Mean = 3592986110 ns, Median = 3594488778 ns, Mode = 3585674837 ns
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_EC_SVDP_DHC KeyAgreement.
      - type: command
        command:
          apdu: b0 76 00 00 01 03
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13040657
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 04
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20873014
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DHC_PLAIN) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 05
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21054829
          desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        desc: Allocate KeyAgreement(ALG_EC_PACE_GM) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 76 00 00 01 06
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 20754854
          desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        desc: Allocate KeyAgreement(ALG_EC_SVDP_DH_PLAIN_XY) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: KeyAgreement tests.
    - result:
        ok: true
        value: SUCCESS
        cause: Some sub-tests did have the expected result.
      tests:
      - result:
          ok: true
          value: SUCCESS
          cause: All sub-tests had the expected result.
        tests:
        - type: command
          command:
            apdu: b0 77 00 00 01 11
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 32148879
            desc: Allocate Signature(ALG_ECDSA_SHA) object
          desc: Allocate Signature(ALG_ECDSA_SHA) object
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 72 01 00 03 11 00 00
            desc: ALG_ECDSA_SHA with local keypair(random data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 8422033969
            desc: ALG_ECDSA_SHA with local keypair(random data)
          desc: ALG_ECDSA_SHA with local keypair(random data)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 73 01 ff 43 11 00 40 b7 00 82 b0 13 34 c0 cb fa 26 dc 61 11 b0
              b7 fa 10 e5 2b f6 2b 92 e5 ed 56 30 bf c2 38 66 8c 62 90 f9 46 fb 5e
              d5 e5 73 01 ed 6e be 8d 36 c5 b6 14 ef e7 f2 ce 7b 45 32 74 17 c0 3d
              92 ae 20 d9
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 00 8a 30 88 02 42 00 3c 3a 3b 69 38 46 eb ba 2f 06 17 e8 08
              f3 6b 73 0a 35 1f 6f fc 06 6d 82 00 11 eb 99 d2 5b 4d 71 ee 91 07 32
              c8 a8 75 d6 ea 71 73 83 5c 07 7e aa a0 ae 7d d2 62 bf 94 ff 26 d5 a7
              aa ee 57 27 ab 6b 02 42 01 ed d0 c5 40 5a c1 39 45 f1 b5 2d 02 ec 06
              1e 7c 1e 2d 00 2a 79 1e a9 f1 22 21 38 34 36 31 97 35 bd 5e 9c 9c f2
              3f 37 16 98 53 f3 c9 25 11 fa 59 75 2f f4 24 b2 6a 31 f5 48 24 1d 7e
              4b 83 5c c7 f6 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 3623754778
            desc: ALG_ECDSA_SHA signature with local keypair(provided data)
          desc: Sign (Mean = 3611828271 ns, Median = 3611135473 ns, Mode = 3607758297
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        - type: command
          command:
            apdu: b0 74 01 11 ce 00 40 b7 00 82 b0 13 34 c0 cb fa 26 dc 61 11 b0 b7
              fa 10 e5 2b f6 2b 92 e5 ed 56 30 bf c2 38 66 8c 62 90 f9 46 fb 5e d5
              e5 73 01 ed 6e be 8d 36 c5 b6 14 ef e7 f2 ce 7b 45 32 74 17 c0 3d 92
              ae 20 d9 00 8a 30 88 02 42 00 a8 5b 70 77 2e 8c 6e 95 5f db 12 16 ec
              75 dd 53 8b 4c 94 31 dc f7 78 81 f7 ee b8 7b ad a4 7b 70 1d 0f bf bb
              3f 6e 33 d3 64 a5 b1 75 16 8f 0a fd c6 96 7d 17 15 19 c4 8a b7 cb b2
              db f1 d7 38 68 e6 02 42 01 04 06 fb 48 43 3a 0d 43 69 e1 47 f7 06 41
              d8 9b c0 0e 48 6d fd 24 2a 51 a8 8a 45 ee 0e 67 ba 2b 12 53 d8 56 5e
              a5 9e 28 0e a6 24 d3 a4 54 72 d4 26 07 aa bf 61 73 17 2f 36 af b7 9b
              f3 bc 71 29 38
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          response:
            successful: true
            apdu: 90 00 90 00
            natural_sw: 36864
            sws:
            - 36864
            duration: 4808273413
            desc: ALG_ECDSA_SHA verification with local keypair(provided data)
          desc: Verify (Mean = 4789889800 ns, Median = 4789237058 ns, Mode = 4787804709
            ns)
          result:
            ok: true
            value: SUCCESS
            cause: null
        type: compound
        desc: Test of the ALG_ECDSA_SHA signature.
      - type: command
        command:
          apdu: b0 77 00 00 01 25
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 13605512
          desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        desc: Allocate Signature(ALG_ECDSA_SHA_224) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 21
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21111650
          desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        desc: Allocate Signature(ALG_ECDSA_SHA_256) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 22
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21082735
          desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        desc: Allocate Signature(ALG_ECDSA_SHA_384) object
        result:
          ok: false
          value: FAILURE
          cause: null
      - type: command
        command:
          apdu: b0 77 00 00 01 26
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        response:
          successful: false
          apdu: 00 03 90 00
          natural_sw: 36864
          sws:
          - 3
          duration: 21024055
          desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        desc: Allocate Signature(ALG_ECDSA_SHA_512) object
        result:
          ok: false
          value: FAILURE
          cause: null
      type: compound
      desc: Signature tests.
    index: 7
    type: compound
    desc: Tests of 521b ALG_EC_FP support.
  - result:
      ok: false
      value: FAILURE
      cause: Some sub-tests did not have the expected result.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 a3 04
        desc: Allocate both keypairs 163b ALG_EC_F2M
      response:
        successful: false
        apdu: 00 03 00 03 90 00
        natural_sw: 36864
        sws:
        - 3
        - 3
        duration: 98103516
        desc: Allocate both keypairs 163b ALG_EC_F2M
      desc: Allocate both keypairs 163b ALG_EC_F2M
      result:
        ok: false
        value: FAILURE
        cause: null
    index: 8
    type: compound
    desc: No support for 163b ALG_EC_F2M.
  - result:
      ok: false
      value: FAILURE
      cause: Some sub-tests did not have the expected result.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 00 e9 04
        desc: Allocate both keypairs 233b ALG_EC_F2M
      response:
        successful: false
        apdu: 00 03 00 03 90 00
        natural_sw: 36864
        sws:
        - 3
        - 3
        duration: 91057585
        desc: Allocate both keypairs 233b ALG_EC_F2M
      desc: Allocate both keypairs 233b ALG_EC_F2M
      result:
        ok: false
        value: FAILURE
        cause: null
    index: 9
    type: compound
    desc: No support for 233b ALG_EC_F2M.
  - result:
      ok: false
      value: FAILURE
      cause: Some sub-tests did not have the expected result.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 01 1b 04
        desc: Allocate both keypairs 283b ALG_EC_F2M
      response:
        successful: false
        apdu: 00 03 00 03 90 00
        natural_sw: 36864
        sws:
        - 3
        - 3
        duration: 91371305
        desc: Allocate both keypairs 283b ALG_EC_F2M
      desc: Allocate both keypairs 283b ALG_EC_F2M
      result:
        ok: false
        value: FAILURE
        cause: null
    index: 10
    type: compound
    desc: No support for 283b ALG_EC_F2M.
  - result:
      ok: false
      value: FAILURE
      cause: Some sub-tests did not have the expected result.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 01 99 04
        desc: Allocate both keypairs 409b ALG_EC_F2M
      response:
        successful: false
        apdu: 00 03 00 03 90 00
        natural_sw: 36864
        sws:
        - 3
        - 3
        duration: 91199868
        desc: Allocate both keypairs 409b ALG_EC_F2M
      desc: Allocate both keypairs 409b ALG_EC_F2M
      result:
        ok: false
        value: FAILURE
        cause: null
    index: 11
    type: compound
    desc: No support for 409b ALG_EC_F2M.
  - result:
      ok: false
      value: FAILURE
      cause: Some sub-tests did not have the expected result.
    tests:
    - type: command
      command:
        apdu: b0 5a 03 03 03 02 3b 04
        desc: Allocate both keypairs 571b ALG_EC_F2M
      response:
        successful: false
        apdu: 00 03 00 03 90 00
        natural_sw: 36864
        sws:
        - 3
        - 3
        duration: 91360417
        desc: Allocate both keypairs 571b ALG_EC_F2M
      desc: Allocate both keypairs 571b ALG_EC_F2M
      result:
        ok: false
        value: FAILURE
        cause: null
    index: 12
    type: compound
    desc: No support for 571b ALG_EC_F2M.

---