BB_Game_System_SW_Architecture_Overview.htm
62.3 KB
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
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List
href="./BB_Game_System_SW_Architecture_Overview_files/filelist.xml">
<link rel=Edit-Time-Data
href="./BB_Game_System_SW_Architecture_Overview_files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>BB Software Architecture Overview</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>John Princen</o:Author>
<o:LastAuthor>jprincen</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>466</o:TotalTime>
<o:LastPrinted>2002-03-27T01:52:00Z</o:LastPrinted>
<o:Created>2002-04-09T03:00:00Z</o:Created>
<o:LastSaved>2002-04-09T03:00:00Z</o:LastSaved>
<o:Pages>9</o:Pages>
<o:Words>2031</o:Words>
<o:Characters>11577</o:Characters>
<o:Lines>96</o:Lines>
<o:Paragraphs>23</o:Paragraphs>
<o:CharactersWithSpaces>14217</o:CharactersWithSpaces>
<o:Version>9.3821</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:1;
font-size:16.0pt;
font-family:Arial;
mso-font-kerning:16.0pt;}
h2
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:2;
font-size:14.0pt;
font-family:Arial;
font-style:italic;}
h3
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:3;
font-size:13.0pt;
font-family:Arial;}
h4
{mso-style-next:Normal;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:4;
font-size:12.0pt;
font-family:"Times New Roman";}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.MsoBodyText2, li.MsoBodyText2, div.MsoBodyText2
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
font-style:italic;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:102461887;
mso-list-type:hybrid;
mso-list-template-ids:338204090 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l1
{mso-list-id:142502822;
mso-list-type:hybrid;
mso-list-template-ids:987528180 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
{mso-level-tab-stop:39.0pt;
mso-level-number-position:left;
margin-left:39.0pt;
text-indent:-.25in;}
@list l2
{mso-list-id:534583359;
mso-list-type:hybrid;
mso-list-template-ids:-728436712 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l2:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l3
{mso-list-id:618413786;
mso-list-type:hybrid;
mso-list-template-ids:93225102 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l3:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:39.0pt;
mso-level-number-position:left;
margin-left:39.0pt;
text-indent:-.25in;
font-family:Symbol;}
@list l4
{mso-list-id:747847548;
mso-list-type:hybrid;
mso-list-template-ids:-1819779248 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l4:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l5
{mso-list-id:847213100;
mso-list-type:hybrid;
mso-list-template-ids:-1843616564 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l5:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l6
{mso-list-id:1052002962;
mso-list-type:hybrid;
mso-list-template-ids:-172855244 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l6:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l7
{mso-list-id:1214779873;
mso-list-type:hybrid;
mso-list-template-ids:882777238 67698689 67698689 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l7:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l7:level2
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
margin-left:.5in;
text-indent:-.25in;
font-family:Symbol;}
@list l8
{mso-list-id:1320500658;
mso-list-type:hybrid;
mso-list-template-ids:960774672 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l8:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l9
{mso-list-id:1412775511;
mso-list-type:hybrid;
mso-list-template-ids:-867119228 1713391044 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l9:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@list l10
{mso-list-id:1539319742;
mso-list-type:hybrid;
mso-list-template-ids:-715330976 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l10:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l11
{mso-list-id:1564217353;
mso-list-type:hybrid;
mso-list-template-ids:-1580964296 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l11:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l12
{mso-list-id:1784612611;
mso-list-type:hybrid;
mso-list-template-ids:1387004990 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l12:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l13
{mso-list-id:1809589429;
mso-list-type:hybrid;
mso-list-template-ids:-112425112 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l13:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l14
{mso-list-id:1840149999;
mso-list-type:hybrid;
mso-list-template-ids:795878520 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l14:level1
{mso-level-tab-stop:.25in;
mso-level-number-position:left;
margin-left:.25in;
text-indent:-.25in;}
@list l15
{mso-list-id:1927301371;
mso-list-type:hybrid;
mso-list-template-ids:321710228 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l15:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l16
{mso-list-id:1957637572;
mso-list-type:hybrid;
mso-list-template-ids:68325844 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l16:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l17
{mso-list-id:2000225968;
mso-list-type:hybrid;
mso-list-template-ids:-1661985450 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l17:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
<o:regrouptable v:ext="edit">
<o:entry new="1" old="0"/>
<o:entry new="2" old="0"/>
<o:entry new="3" old="0"/>
<o:entry new="4" old="0"/>
<o:entry new="5" old="0"/>
<o:entry new="6" old="0"/>
</o:regrouptable>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<h1>BB Software Functionality Overview</h1>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The goal of this document is to provide an overview of the
BB software components, their functionality and interactions. It does not
define the detailed design of these components at least not yet. This should
allow us to partition the design tasks effectively and estimate the resource
requirements.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The main components of the BB Software are:</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l10 level1 lfo2;tab-stops:list .5in'>Secure
Kernel: that provides security services to applications and is responsible
for booting the device (since it is called on reset) and starting the
Browser application.</li>
<li class=MsoNormal style='mso-list:l10 level1 lfo2;tab-stops:list .5in'>Browser
Application: this is the main application which provides management of
content in Flash, including browsing, acquiring from the depot, deleting,
and launching/playing. The browser application is like any other
application in most ways, except that the secure kernel locates it on
reset and starts it first.</li>
<li class=MsoNormal style='mso-list:l10 level1 lfo2;tab-stops:list .5in'>Games/Applications:
these are always stored encrypted in external Flash.</li>
<li class=MsoNormal style='mso-list:l10 level1 lfo2;tab-stops:list .5in'>Non-game
content: this can consist of Media files like photos, mp3s, etc. Non-game
content, may or may not be encrypted, depending on the source.</li>
<li class=MsoNormal style='mso-list:l10 level1 lfo2;tab-stops:list .5in'>Licenses:
provide the decryption keys for Applications and encrypted Media content,
along with other meta-data.</li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Details of these components and the part they play in the
overall system are discussed in details below.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>From the system point of view there are 2 modes of operation
(see the hardware architecture specification for details on exactly how this is
implemented):</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l11 level1 lfo12;tab-stops:list .5in'>Secure
Mode: In this mode all code, and some critical data comes from the
on-chip, Secure Flash. All devices in the system are visible and
programmable from secure mode. In Secure Mode, the Secure Kernel is in
control of the system.</li>
<li class=MsoNormal style='mso-list:l11 level1 lfo12;tab-stops:list .5in'>Application
Mode: In this mode the Secure Flash is not visible, so all code and data
come from external (off-chip) Flash. Some of the system devices may not be
visible or programmable, depending on how the hardware configuration was
set up by the Secure Kernel before entering Application mode. The Browser
application and all other Games/Applications run in Application mode.</li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The reason for separate modes is to hide critical security
information, particularly the BB device private key from applications and from
anyone snooping on external hardware busses/pins.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The Secure Flash is also used to store data, which, although
public, we do not want applications, or hackers to be able to modify. This
includes the Trusted Root the Certificate Revocation List. See later for how
these are used.</p>
<h2>Secure Kernel</h2>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The Secure Kernel is launched on reset and can also be
called at other times through our system call mechanism to execute secure
services on behalf of the application.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoBodyText2>We need to precisely define the system call mechanism: It
needs to have the notion of a command, plus parameters which are passed through
some shared memory or registers, or something to the Secure Kernel. The
mechanism for getting to the secure kernel is defined in the Hardware
specification. The mechanism also needs error reporting mechanism, and
mechanism for return parameters.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The main functionalities of the Secure Kernel are:</p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l15 level1 lfo13;tab-stops:list .5in'>On
Reset Initialize all hardware</li>
<li class=MsoNormal style='mso-list:l15 level1 lfo13;tab-stops:list .5in'>Auto-update
the Browser application from the depot. This implies auto-detecting the
presence of a valid Depot</li>
<li class=MsoNormal style='mso-list:l15 level1 lfo13;tab-stops:list .5in'>Launch
the Browser application, which is the first application a user sees after
reset and on game/application exit.</li>
<li class=MsoNormal style='mso-list:l15 level1 lfo13;tab-stops:list .5in'>Respond
to requests from applications to launch other applications (primarily the
Browser requesting application launching).</li>
<li class=MsoNormal style='mso-list:l15 level1 lfo13;tab-stops:list .5in'>To
take over when applications exit.</li>
<li class=MsoNormal style='mso-list:l15 level1 lfo13;tab-stops:list .5in'>
Other system calls are TBD as we define Depot/Server/BB protocols and
interactions.</li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The system relies on two fundamental data structures to
implement the above functionalities and provide security: Content and License.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<h3>Content</h3>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Content is the general term we use to describe both
applications (games for example) and media files (e.g. photos). Content is
stored in Flash along with meta-data necessary to use the content. </p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The components of the content meta-data are:</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l0 level1 lfo3;tab-stops:list .5in'>Content
Type: Identifies the type of content so that it can be handled in an appropriate
way. Possible types include: Application, JPEG, MP3.</li>
<li class=MsoNormal style='mso-list:l0 level1 lfo3;tab-stops:list .5in'>Content
ID: For applications and media content distributed to the BB through the
depot this is an ID which is unique within our system. For personal
content the ID is unique within the BB device and distinct from the IDs
used for distributed content (do we really need a unique ID for personal
content?)</li>
<li class=MsoNormal style='mso-list:l0 level1 lfo3;tab-stops:list .5in'>Encrypted
or not (all Applications are encrypted, so the system ignores this
information for Applications)</li>
<li class=MsoNormal style='mso-list:l0 level1 lfo3;tab-stops:list .5in'>Descriptive
meta-data, such as title, proxy-image, description, etc to support Browser
display.</li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Applications are special in that they must be accompanied by
licenses in order for the kernel to launch them. Other content types contain no
code and may or may not have licenses associated with them.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>All licensed content is encrypted so that it cannot be used
without the license being present.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>In our system all applications use 128 bit AES-CBC
encryption, which is supported in hardware. Licensed media content could
potentially use other types of encryption, assuming there is an appropriate
handler for the content.</p>
<h3>Licenses</h3>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>License is the term we use to describe a data structure
which provides information required to play/launch encrypted content. The
components of a license are:</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l5 level1 lfo4;tab-stops:list .5in'>Content
ID: The content ID of the content which this license refers to</li>
<li class=MsoNormal style='mso-list:l5 level1 lfo4;tab-stops:list .5in'>Content
Signature: The complete content is hashed and included in the license</li>
<li class=MsoNormal style='mso-list:l5 level1 lfo4;tab-stops:list .5in'>Decryption
Key: The key that can be used to decrypt the content.</li>
<li class=MsoNormal style='mso-list:l5 level1 lfo4;tab-stops:list .5in'>Rights:
description of how the content may be used, can include time limits, play
limits, etc. The simplest case is the right to use anytime, as many times
as you want, i.e., you purchased it. </li>
<li class=MsoNormal style='mso-list:l5 level1 lfo4;tab-stops:list .5in'>Hardware
Rights: Indicates what hardware resources should be enabled for the
application (e.g. Ethernet)</li>
<li class=MsoNormal style='mso-list:l5 level1 lfo4;tab-stops:list .5in'>License
Server Signature: The license is hashed and encrypted with a license
server private key so that the system can determine that the license is
valid.</li>
<li class=MsoNormal style='mso-list:l5 level1 lfo4;tab-stops:list .5in'>Additional
Certificates to verify up to the Trusted Root. Right now this means we
need two Certificates to be bundled with the license: The License Server
Certificate and the Service-CA Certificate. </li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The license itself is encrypted with the public key of the
BB device, so that it is specific to the device and no other BB can use it.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<h3>System Execution Flows</h3>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>There are three Execution flows we have identified. No doubt
we will add more as we understand the functionalities required of the Secure
Kernel.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<h4>From Reset</h4>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The diagram below gives an outline of the steps taken when
the system is reset. At the end of the process, assuming there are no errors,
the system will be running the Browser application. </p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-.25in;mso-list:l1 level1 lfo14;
tab-stops:list 39.0pt'><![if !supportLists]>1.<span style='font:7.0pt "Times New Roman"'>
</span><![endif]>The BB player will always check for the availability of a
Depot out of reset, since it uses the Depot to keep the Browser application up
to date. If it is an un-initialized device, it must connect to the Depot to get
a copy of the Browser application and license.</p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-.25in;mso-list:l1 level1 lfo14;
tab-stops:list 39.0pt'><![if !supportLists]>2.<span style='font:7.0pt "Times New Roman"'>
</span><![endif]>If a Depot is found then the Kernel will check the version
number of the current Browser application against the one in the Depot and
update if necessary.</p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-.25in;mso-list:l1 level1 lfo14;
tab-stops:list 39.0pt'><![if !supportLists]>3.<span style='font:7.0pt "Times New Roman"'>
</span><![endif]>Before launching the Browser application the Kernel will check
if the application code and license are valid. The detailed steps for
validation are given below</p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-.25in;mso-list:l1 level1 lfo14;
tab-stops:list 39.0pt'><![if !supportLists]>4.<span style='font:7.0pt "Times New Roman"'>
</span><![endif]>If the Browser is valid it is launched. If not, then the
device will continue to attempt to get a valid Browser from the Depot. During
this process some informative progress message is given to the user.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:oval id="_x0000_s1044" style='position:absolute;
margin-left:160pt;margin-top:54.1pt;width:77pt;height:71pt;z-index:1'
o:regroupid="2">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>BB Depot link?</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1045" style='position:absolute;z-index:2' from="198pt,12.75pt"
to="198pt,52.75pt" o:regroupid="2">
<v:stroke endarrow="block"/>
</v:line><v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202"
path="m0,0l0,21600,21600,21600,21600,0xe">
<v:stroke joinstyle="miter"/>
<v:path gradientshapeok="t" o:connecttype="rect"/>
</v:shapetype><v:shape id="_x0000_s1046" type="#_x0000_t202" style='position:absolute;
margin-left:3in;margin-top:.75pt;width:126pt;height:40pt;z-index:3'
o:regroupid="2" filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Hard/Soft Reset</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:line id="_x0000_s1048" style='position:absolute;z-index:4' from="198pt,127.8pt"
to="198pt,162.8pt" o:regroupid="2">
<v:stroke endarrow="block"/>
</v:line><v:line id="_x0000_s1049" style='position:absolute;z-index:5' from="237pt,90.45pt"
to="274pt,90.45pt" o:regroupid="2">
<v:stroke endarrow="block"/>
</v:line><v:oval id="_x0000_s1050" style='position:absolute;margin-left:274pt;
margin-top:54.1pt;width:77pt;height:71pt;z-index:6' o:regroupid="2">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Update Browser</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:oval id="_x0000_s1051" style='position:absolute;margin-left:160pt;
margin-top:163.7pt;width:77pt;height:71pt;z-index:7' o:regroupid="2">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Valid Browser?</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:oval id="_x0000_s1052" style='position:absolute;margin-left:160pt;
margin-top:366.05pt;width:77pt;height:71pt;z-index:8' o:regroupid="2">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Browser running</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1053" style='position:absolute;z-index:9' from="198pt,236.95pt"
to="198pt,263.95pt" o:regroupid="2">
<v:stroke endarrow="block"/>
</v:line><v:line id="_x0000_s1054" style='position:absolute;flip:x;z-index:10'
from="227pt,116.35pt" to="286pt,172.35pt" o:regroupid="2">
<v:stroke endarrow="block"/>
</v:line><v:shape id="_x0000_s1055" type="#_x0000_t202" style='position:absolute;
margin-left:237pt;margin-top:66.55pt;width:63pt;height:33pt;z-index:11'
o:regroupid="2" filled="f" stroked="f">
<v:textbox style='mso-next-textbox:#_x0000_s1055'>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Yes</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1056" type="#_x0000_t202" style='position:absolute;
margin-left:203pt;margin-top:129.8pt;width:63pt;height:33pt;z-index:12'
o:regroupid="2" filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>No</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:line id="_x0000_s1057" style='position:absolute;z-index:13'
from="24pt,347.85pt" to="426pt,347.85pt" o:regroupid="2">
<v:stroke dashstyle="1 1" endcap="round"/>
</v:line><v:shape id="_x0000_s1060" type="#_x0000_t202" style='position:absolute;
margin-left:24pt;margin-top:116.35pt;width:126pt;height:40pt;z-index:14'
o:regroupid="2" filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Secure Mode</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1061" type="#_x0000_t202" style='position:absolute;
margin-left:17pt;margin-top:386.2pt;width:126pt;height:40pt;z-index:15'
o:regroupid="2" filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Application Mode</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:line id="_x0000_s1062" style='position:absolute;z-index:16'
from="24pt,35.65pt" to="426pt,35.65pt" o:regroupid="2">
<v:stroke dashstyle="1 1" endcap="round"/>
</v:line><v:shape id="_x0000_s1063" type="#_x0000_t202" style='position:absolute;
margin-left:24pt;margin-top:.75pt;width:126pt;height:40pt;z-index:17'
o:regroupid="2" filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Any Mode</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:oval id="_x0000_s1065" style='position:absolute;margin-left:160pt;
margin-top:264.85pt;width:77pt;height:71pt;z-index:18' o:regroupid="2">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Launch Browser</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1066" style='position:absolute;z-index:19' from="198pt,338.15pt"
to="198pt,365.15pt" o:regroupid="2">
<v:stroke endarrow="block"/>
</v:line><v:shape id="_x0000_s1067" type="#_x0000_t202" style='position:absolute;
margin-left:203pt;margin-top:236.95pt;width:63pt;height:33pt;z-index:20'
o:regroupid="2" filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Yes</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1068" type="#_x0000_t202" style='position:absolute;
margin-left:121pt;margin-top:203.05pt;width:63pt;height:33pt;z-index:21'
o:regroupid="2" filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>No</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1069" style='position:absolute;margin-left:121pt;
margin-top:90.45pt;width:39pt;height:106.25pt;z-index:22' coordsize="780,2125"
o:regroupid="2" path="m780,2125c390,1752,,1379,,1025,,671,390,335,780,0e"
filled="f">
<v:stroke endarrow="block"/>
<v:path arrowok="t"/>
</v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout'>
<table cellpadding=0 cellspacing=0 align=left>
<tr>
<td width=23 height=1></td>
</tr>
<tr>
<td></td>
<td><img width=547 height=585
src="./BB_Game_System_SW_Architecture_Overview_files/image001.gif" v:shapes="_x0000_s1044 _x0000_s1045 _x0000_s1046 _x0000_s1048 _x0000_s1049 _x0000_s1050 _x0000_s1051 _x0000_s1052 _x0000_s1053 _x0000_s1054 _x0000_s1055 _x0000_s1056 _x0000_s1057 _x0000_s1060 _x0000_s1061 _x0000_s1062 _x0000_s1063 _x0000_s1065 _x0000_s1066 _x0000_s1067 _x0000_s1068 _x0000_s1069"></td>
</tr>
</table>
</span><![endif]><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<br style='mso-ignore:vglayout' clear=ALL>
<h4>Launch Request</h4>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The diagram below illustrates the execution flow for the
Application Launch request system call. The service is mainly for the use of
the Browser application, but there is no restriction on other applications
using it.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<ol style='margin-top:0in' start=1 type=1>
<li class=MsoNormal style='mso-list:l6 level1 lfo16;tab-stops:list .5in'>The
currently running application executes a system call passing the command
ID for the Launch Application command and the content ID to the Secure
Kernel.</li>
<li class=MsoNormal style='mso-list:l6 level1 lfo16;tab-stops:list .5in'>The
Kernel validates the requested application.</li>
<li class=MsoNormal style='mso-list:l6 level1 lfo16;tab-stops:list .5in'>If
the application is valid it launches it.</li>
<li class=MsoNormal style='mso-list:l6 level1 lfo16;tab-stops:list .5in'>If
the application is not valid it returns to the currently running
application with an Error code indicating the reason for the failure.</li>
</ol>
<h3><!--[if gte vml 1]><o:wrapblock pagebreak="t">
<v:group id="_x0000_s1101" style='position:absolute;margin-left:23pt;
margin-top:21.45pt;width:442pt;height:198pt;z-index:23' coordorigin="2260,2421"
coordsize="8840,3960">
<v:oval id="_x0000_s1071" style='position:absolute;left:3000;top:4856;
width:1640;height:1420' o:regroupid="4">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoBodyText>Running</p>
<p class=MsoBodyText>Application X </p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1072" style='position:absolute' from="2380,4501"
to="10420,4501" o:regroupid="4">
<v:stroke dashstyle="1 1" endcap="round"/>
</v:line><v:shape id="_x0000_s1073" type="#_x0000_t202" style='position:absolute;
left:8460;top:4641;width:2520;height:800' o:regroupid="4" filled="f"
stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Application Mode</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:oval id="_x0000_s1074" style='position:absolute;left:3000;top:2421;
width:1640;height:1420' o:regroupid="4">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Validate
Application<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Y?<o:p></o:p></span></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1076" style='position:absolute;flip:y' from="3780,3841"
to="3780,4856" o:regroupid="4">
<v:stroke endarrow="block"/>
</v:line><v:shape id="_x0000_s1077" type="#_x0000_t202" style='position:absolute;
left:3940;top:3841;width:3020;height:800' o:regroupid="4" filled="f"
stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Application Launch Request, Content ID = Y</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:oval id="_x0000_s1078" style='position:absolute;left:6460;top:2421;
width:1640;height:1420' o:regroupid="4">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Launch
Application<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Y<o:p></o:p></span></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:oval id="_x0000_s1079" style='position:absolute;left:6460;top:4961;
width:1640;height:1420' o:regroupid="4">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoBodyText>Running</p>
<p class=MsoBodyText>Application Y </p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1080" style='position:absolute' from="7300,3841"
to="7300,4961" o:regroupid="4">
<v:stroke endarrow="block"/>
</v:line><v:line id="_x0000_s1081" style='position:absolute' from="4640,3141"
to="6460,3141" o:regroupid="4">
<v:stroke endarrow="block"/>
</v:line><v:shape id="_x0000_s1082" type="#_x0000_t202" style='position:absolute;
left:8580;top:3346;width:2520;height:800' o:regroupid="4" filled="f"
stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Secure Mode</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1097" type="#_x0000_t202" style='position:absolute;
left:4740;top:2659;width:1140;height:482' filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Yes</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1098" type="#_x0000_t202" style='position:absolute;
left:2260;top:2659;width:1140;height:482' filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>No</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1099" style='position:absolute;left:2380;
top:3141;width:620;height:2300' coordsize="620,2300" path="m620,0c310,362,,724,,1107,,1490,310,1895,620,2300e"
filled="f">
<v:stroke endarrow="block"/>
<v:path arrowok="t"/>
</v:shape><v:shape id="_x0000_s1100" type="#_x0000_t202" style='position:absolute;
left:2380;top:3841;width:3020;height:800' filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Fail</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape></v:group><![endif]--><![if !vml]><span style='mso-ignore:vglayout'>
<table cellpadding=0 cellspacing=0 align=left>
<tr>
<td width=31 height=29></td>
</tr>
<tr>
<td></td>
<td><img width=591 height=267
src="./BB_Game_System_SW_Architecture_Overview_files/image002.gif" v:shapes="_x0000_s1101 _x0000_s1071 _x0000_s1072 _x0000_s1073 _x0000_s1074 _x0000_s1076 _x0000_s1077 _x0000_s1078 _x0000_s1079 _x0000_s1080 _x0000_s1081 _x0000_s1082 _x0000_s1097 _x0000_s1098 _x0000_s1099 _x0000_s1100"></td>
</tr>
</table>
</span><![endif]><!--[if gte vml 1]></o:wrapblock><![endif]--><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<b><span style='font-size:13.0pt;font-family:Arial;mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:EN-US;
mso-bidi-language:AR-SA'><br clear=all style='mso-special-character:line-break;
page-break-before:always'>
</span></b>
<h3><![if !supportEmptyParas]> <![endif]><o:p></o:p></h3>
<br style='mso-ignore:vglayout' clear=ALL>
<h4>Application Exit</h4>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The case of application exit is similar to the above, except
that the Browser application is launched and in the case of failure, the
behavior is different, since the Secure Kernel will assume that the device
needs re-initialization using a Depot.</p>
<p class=MsoNormal><!--[if gte vml 1]><v:group id="_x0000_s1113" style='position:absolute;
margin-left:3pt;margin-top:10.65pt;width:448pt;height:304pt;z-index:24'
coordorigin="1860,9035" coordsize="8960,6080">
<v:oval id="_x0000_s1085" style='position:absolute;left:2720;top:13590;
width:1640;height:1420' o:regroupid="6">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoBodyText>Running</p>
<p class=MsoBodyText>Application X </p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1086" style='position:absolute' from="2100,13235"
to="10140,13235" o:regroupid="6">
<v:stroke dashstyle="1 1" endcap="round"/>
</v:line><v:shape id="_x0000_s1087" type="#_x0000_t202" style='position:absolute;
left:8180;top:13375;width:2520;height:800' o:regroupid="6" filled="f"
stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Application Mode</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:oval id="_x0000_s1088" style='position:absolute;left:2720;top:11155;
width:1640;height:1420' o:regroupid="6">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Valid
Browser Application?<o:p></o:p></span></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1089" style='position:absolute;flip:y' from="3500,12575"
to="3500,13590" o:regroupid="6">
<v:stroke endarrow="block"/>
</v:line><v:shape id="_x0000_s1090" type="#_x0000_t202" style='position:absolute;
left:3660;top:12575;width:3020;height:800' o:regroupid="6" filled="f"
stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Application Exit</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:oval id="_x0000_s1091" style='position:absolute;left:6180;top:11155;
width:1640;height:1420' o:regroupid="6">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt'>Launch
Browser<o:p></o:p></span></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:oval id="_x0000_s1092" style='position:absolute;left:6180;top:13695;
width:1640;height:1420' o:regroupid="6">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoBodyText>Running</p>
<p class=MsoBodyText>Browser </p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1093" style='position:absolute' from="7020,12575"
to="7020,13695" o:regroupid="6">
<v:stroke endarrow="block"/>
</v:line><v:line id="_x0000_s1094" style='position:absolute' from="4360,11875"
to="6180,11875" o:regroupid="6">
<v:stroke endarrow="block"/>
</v:line><v:shape id="_x0000_s1095" type="#_x0000_t202" style='position:absolute;
left:8300;top:12080;width:2520;height:800' o:regroupid="6" filled="f"
stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Secure Mode</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:oval id="_x0000_s1102" style='position:absolute;left:2640;top:9035;
width:1540;height:1420' o:regroupid="6">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoBodyText>BB Depot link?</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1103" style='position:absolute' from="3400,10455"
to="3400,11155" o:regroupid="6">
<v:stroke endarrow="block"/>
</v:line><v:oval id="_x0000_s1104" style='position:absolute;left:4920;top:9035;
width:1540;height:1420' o:regroupid="6">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoBodyText>Update Browser</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:oval><v:line id="_x0000_s1105" style='position:absolute;flip:x' from="3980,10235"
to="5160,11355" o:regroupid="6">
<v:stroke endarrow="block"/>
</v:line><v:shape id="_x0000_s1106" type="#_x0000_t202" style='position:absolute;
left:4180;top:9275;width:1260;height:660' o:regroupid="6" filled="f"
stroked="f">
<v:textbox style='mso-next-textbox:#_x0000_s1106'>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Yes</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1107" type="#_x0000_t202" style='position:absolute;
left:3500;top:10495;width:1260;height:660' o:regroupid="6" filled="f"
stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>No</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1108" style='position:absolute;left:1860;top:9735;
width:780;height:2125;mso-position-horizontal:absolute;
mso-position-vertical:absolute' coordsize="780,2125" o:regroupid="6" path="m780,2125c390,1752,,1379,,1025,,671,390,335,780,0e"
filled="f">
<v:stroke endarrow="block"/>
<v:path arrowok="t"/>
</v:shape><v:line id="_x0000_s1109" style='position:absolute' from="4180,9735"
to="4920,9735" o:regroupid="6">
<v:stroke endarrow="block"/>
</v:line><v:shape id="_x0000_s1111" type="#_x0000_t202" style='position:absolute;
left:4490;top:11420;width:1260;height:660' filled="f" stroked="f">
<v:textbox style='mso-next-textbox:#_x0000_s1111'>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>Yes</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="_x0000_s1112" type="#_x0000_t202" style='position:absolute;
left:1860;top:10495;width:1260;height:660' filled="f" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal>No</p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape></v:group><![endif]--><![if !vml]><span style='mso-ignore:vglayout'>
<table cellpadding=0 cellspacing=0 align=left>
<tr>
<td width=3 height=14></td>
</tr>
<tr>
<td></td>
<td><img width=600 height=409
src="./BB_Game_System_SW_Architecture_Overview_files/image003.gif" v:shapes="_x0000_s1113 _x0000_s1085 _x0000_s1086 _x0000_s1087 _x0000_s1088 _x0000_s1089 _x0000_s1090 _x0000_s1091 _x0000_s1092 _x0000_s1093 _x0000_s1094 _x0000_s1095 _x0000_s1102 _x0000_s1103 _x0000_s1104 _x0000_s1105 _x0000_s1106 _x0000_s1107 _x0000_s1108 _x0000_s1109 _x0000_s1111 _x0000_s1112"></td>
</tr>
</table>
</span><![endif]><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<h4><![if !supportEmptyParas]> <![endif]><o:p></o:p></h4>
<h4><![if !supportEmptyParas]> <![endif]><o:p></o:p></h4>
<h4><![if !supportEmptyParas]> <![endif]><o:p></o:p></h4>
<h4><![if !supportEmptyParas]> <![endif]><o:p></o:p></h4>
<br style='mso-ignore:vglayout' clear=ALL>
<h4>Application Validation</h4>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Application validation is a core functionality used by the
Secure kernel. The steps involved are as follows:</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<ol style='margin-top:0in' start=1 type=1>
<li class=MsoNormal style='mso-list:l4 level1 lfo10;tab-stops:list .5in'>Check
that the application has a license</li>
<li class=MsoNormal style='mso-list:l4 level1 lfo10;tab-stops:list .5in'>Check
the validity of the signature on the license: Calculate the hash over the
license, decrypt the signature stored in the license and compare against
the calculated hash.</li>
<li class=MsoNormal style='mso-list:l4 level1 lfo10;tab-stops:list .5in'>Check
the validity of the License Server Certificate that gives the public key
of the Server that signed the license, by tracing back to the Trusted
Root. That is, check each signature on the Certificates, as above. This
involves two Hash calculations and two RSA decryption calculations.</li>
<li class=MsoNormal style='mso-list:l4 level1 lfo10;tab-stops:list .5in'>Calculate
the MD-5 hash across the complete application code in Flash.</li>
<li class=MsoNormal style='mso-list:l4 level1 lfo10;tab-stops:list .5in'>Compare
with the hash in the License.</li>
<li class=MsoNormal style='mso-list:l4 level1 lfo10;tab-stops:list .5in'>At
this point the application in Flash has been validated and can be
launched.</li>
</ol>
<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<h4>Application Launching</h4>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Prior to launching the Secure Kernel sets up the hardware
environment for the application, including the mapping of flash into the CPU
address space and setting up the decryption keys. Once this is done the
application can be launched in the same was as is done for the N64, since at
this point the hardware environment is similar to the N64. </p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The first 1MB of game code is copied into DRAM at location
0x400. Before jumping to this code the SRAM is disabled and the Data Cache is
cleared so no state from the Secure Kernel is visible to the application and
the Secure Bit is cleared, so that Flash is no longer visible.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>(How do we disable the flash, while at the same time execute
code from it? Are we assuming that the jump instruction is already in the
Instruction Cache? Do we also need to clear the Instruction cache?)</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>? Keeping things secure: Dealing with SRAM, cache flushing,
etc ?</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<h3>Secure Kernel Library Components</h3>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>We need to get size and performance estimates so we can
validate internal memory sizing and the rough design proposal.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The main library components are:</p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l16 level1 lfo9;tab-stops:list .5in'>RSA
cryptographic functions </li>
<li class=MsoNormal style='mso-list:l16 level1 lfo9;tab-stops:list .5in'>Certificate
Parsing functions (? ASN.1 or our own formats ?)</li>
<li class=MsoNormal style='mso-list:l16 level1 lfo9;tab-stops:list .5in'>Hash
functions (MD5 or SHA)</li>
<li class=MsoNormal style='mso-list:l16 level1 lfo9;tab-stops:list .5in'>TCP/IP
protocol stack (?)</li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>To implement the security functions we also need to store:</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l8 level1 lfo11;tab-stops:list .5in'>The
Trusted Root Certificate. Assuming this is a 2048 (?) bit RSA certificate,
the estimated size if we use standard X.509 encoding (DER) is ??</li>
<li class=MsoNormal style='mso-list:l8 level1 lfo11;tab-stops:list .5in'>The
BB device RSA private key. Lets assume this is also 2048 bit. For RSA the
private exponent could be up to 2048 bits (assuming public exponent is
small). </li>
<li class=MsoNormal style='mso-list:l8 level1 lfo11;tab-stops:list .5in'>The
BB device Certificate, which includes the public key exponent (probably 3
or 65537, and the prime product n (2048 bits).</li>
<li class=MsoNormal style='mso-list:l8 level1 lfo11;tab-stops:list .5in'>The
Certificate Revocation List. This is variable length and hopefully never
contains anything.</li>
</ul>
<p class=MsoNormal style='margin-left:.25in'><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<h2><![if !supportEmptyParas]> <![endif]><o:p></o:p></h2>
<h2>Browser</h2>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The Browser is an Application, albeit an important one which
implements core functionality to download other applications, manage content on
the Flash. Since it is an application it runs in Application Mode, not in
Secure Mode. The reason for imposing this restriction is we want to be able to
update the Browser application with new functionality, and our current policy
is: </p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><b><i>no code that can be updated
from external sources can run in Secure Mode</i></b></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The Browser is stored encrypted in external Flash along with
other applications. It also has a license associated with it.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>It differs from other applications in a few respects:</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l13 level1 lfo5;tab-stops:list .5in'>It is
always launched by the Secure Kernel on reset</li>
<li class=MsoNormal style='mso-list:l13 level1 lfo5;tab-stops:list .5in'>It
has a special form of content ID, which allows the Kernel to identify it
(we need to figure out what this is!).</li>
<li class=MsoNormal style='mso-list:l13 level1 lfo5;tab-stops:list .5in'>It is
provided access to the complete collection of flash devices in unencrypted
mode (most applications are given access to a section of a flash device in
encrypted mode). ? It doesnt seem necessary to limit access of
applications to all Flash devices ?</li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Since the Browser must exist for the BB device to be usable,
the Secure Kernel will initialize it from the Depot if it cant find it in
Flash. Since a new BB device only has the Secure Kernel loaded after
manufacture, the first time it is connected to a Depot it will initialize. The
Browser will also be updated from the Depot if the latest version is different
from the version stored in the BB device. See the Execution Flow section above
for details.</p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The Browser is the application used by the BB user to:</p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-.25in;mso-list:l3 level1 lfo7;
tab-stops:list 39.0pt'><![if !supportLists]><span style='font-family:Symbol'><span
style='font:7.0pt "Times New Roman"'>
</span></span><![endif]>Manage content stored in the Flash (i.e. browse,
delete). Note the Browser will not delete itself.</p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-.25in;mso-list:l3 level1 lfo7;
tab-stops:list 39.0pt'><![if !supportLists]><span style='font-family:Symbol'><span
style='font:7.0pt "Times New Roman"'>
</span></span><![endif]>To launch applications </p>
<p class=MsoNormal style='margin-left:39.0pt;text-indent:-.25in;mso-list:l3 level1 lfo7;
tab-stops:list 39.0pt'><![if !supportLists]><span style='font-family:Symbol'><span
style='font:7.0pt "Times New Roman"'>
</span></span><![endif]>To Play media content (such as view photos, play mp3s,
etc) ? Not sure if we should make other applications for this, or browser
application extensions ? Seems easier to use the Browser for all types of
content rather than make additional apps.</p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l2 level1 lfo6;tab-stops:list .5in'>Browse
content on the Depot, when the device is connected.</li>
<li class=MsoNormal style='mso-list:l2 level1 lfo6;tab-stops:list .5in'>Download
content from the Depot</li>
<li class=MsoNormal style='mso-list:l2 level1 lfo6;tab-stops:list .5in'>Download
licenses from the central license server (through the Depot). Note this
does not mean purchase licenses, since that is not a function supported on
the BB device (at least not yet?). </li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>To understand in more detail functionality we need to work
through some potential designs for:</p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='mso-list:l12 level1 lfo18;tab-stops:list .5in'>Storage
of content and licenses in Flash. There are lots of issues here, such as,
how we keep plenty of contiguous space available even though things can
get deleted. How do we make sure there is always enough space to update
the Browser application?</li>
<li class=MsoNormal style='mso-list:l12 level1 lfo18;tab-stops:list .5in'>What
is the protocol between BB player and Depot for browsing Depot content and
downloading. </li>
<li class=MsoNormal style='mso-list:l12 level1 lfo18;tab-stops:list .5in'>What
are the conditions under which downloading is allowed? Do we allow content
downloading content without license download?</li>
<li class=MsoNormal style='mso-list:l12 level1 lfo18;tab-stops:list .5in'>What
is the protocol for getting a license? What role does the retailer play?</li>
</ul>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
</div>
</body>
</html>