SD Memory Card Specifications
Part 3
SECURITY SPECIFICATION
Version 1.0
Microsystems
Standard
SanDisk Corporation
Toshiba Corporation
February 2000
SD Group
Matsushita Electric Industrial Co., Ltd. (MEI)
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SD Card Specifications / Part 3. Security Specification Version 1.0
This page is intentionally left blank
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba)
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SS-ii
SD Card Specifications / Part 3. Security Specification Version 1.0
Conditions for publication
Publisher and Copyright Holder
SD Group(MEI, SanDisk, Toshiba)
Confidentiality
This document shall be treated as confidential under the Non Disclosure Agreement which has been
signed by the obtainer. Reproduction in whole or in part is prohibited without prior written permission
of SD Group.
Exemption
None will be liable for any damages from use of this document.
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba)
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SS-iii
SD Card Specifications / Part 3. Security Specification Version 1.0
This page is intentionally left blank
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba)
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SS-iv
SD Card Specifications / Part 3. Security Specification Version 1.0
Part 3 SECURITY SPECIFICATION
1.General ................................................................................................................................................................. 1
1.1 Scope .................................................................................................................................................................. 1
1.2 References.......................................................................................................................................................... 1
2.Data Element..................................................................................................................................................... 2
2.1 Media Identifier................................................................................................................................................. 2
3. Security Command set for copyright protection.................................................................................... 3
3.1 Security Command List ................................................................................................................................... 3
3.2 Usage of Security command.........................................................................................................................10
3.3 SD Memory Card State Diagram on Authentication................................................................................11
4. Random Number Generation(RNG) ......................................................................................................12
5. File System.......................................................................................................................................................14
5.1 General.............................................................................................................................................................14
5.2 Master Boot Record and Partition Table....................................................................................................15
5.3 Partition Boot Sector .....................................................................................................................................15
5.4 File Allocation Table......................................................................................................................................15
5.5 Root Directory................................................................................................................................................15
5.6 User Data.........................................................................................................................................................15
Annex.....................................................................................................................................................................16
A Test command Requirement......................................................................................................................16
B Sectors per Cluster and Boundary Unit Recommendation for Protected Area..........................17
C Type of 16 MKBs on SD Memory Card..................................................................................................19
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba)
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SS-v
SD Card Specifications / Part 3. Security Specification Version 1.0
This page is intentionally left blank
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba)
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SS-vi
SD Card Specifications / Part3 Security Specification Version 1.0
1.General
1.1 Scope
The main objectives of the Security specifications of SD Memory Card are:
- To protect the copyrighted data recorded on the SD Memory Card from unauthorized use
(for reproduction and duplication).
- To give independent protection for different pieces of copyrighted data of different applications
(electronic music distribution EMD, electronic books, etc.).
This document and "Content Protection for Recordable Media Specification SD Memory Card Book", that is developed by 4C
Entity, LLC(IBM,Intel,MEI,Toshiba), contain the information on the functions required of the SD Memory Card
to achieve the above objectives.
This document especially contains the security specification that is depending on the implementation of the SD
Memory Card, more concretely,
(A) Data Element (SD-Card Specific)
Media Identifier
(B) Security Command set of SD Memory Card
(C) Random Number Generation on SD Memory Card
(D) File system (volume structure) of Protected Area on SD Memory Card
The following technologies are offered by Content Protection for Recordable Media Specification SD Memory Card: Book:
- Content and key encryption algorithm (C2 encryption),
- Revocation scheme of the unauthorized accessing device (Media Key Block),
- Authentication and Key Exchange mechanism (AKE) between SD Memory Card and the accessing devices.
- Data Structure on SD Memory Card
- File System (directory and file format) of Protected Area on SD Memory Card
- Content Encryption Format
etc.
1.2 References
4C Entity, LLC, [Content Protection for Recordable Media Specification SD Memory Card Book, available soon.]
SD Group, SD Memory Card Specifications Part1: Physical Layer Specifications
SD Group, SD Memory Card Specifications Part2: File System Specifications
Microsystems
Standard
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba)
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SS-1
SD Card Specifications / Part3 Security Specification Version 1.0
2.Data Element
This Section describes the SD Memory Card specific 'data element'.
SD Memory Card non-specific data element is described in Content Protection for Recordable Media Specification SD
Memory Card Book.
2.1 Media Identifier
SD Memory Card shall contain a 64-bit Media Identifier (IDmedia), a part of which is unique by each SD Memory
Card.
The Media Identifier logical format is shown in Table 2-1. As shown in Table 2-1, the least significant
56-bit(Byte"1" to Byte"7") of the Media Identifier is a SD Memory Card Specific part.
In Table2-1,
- The 4C Entity, LLC assigns each SD Memory Card Manufacturer a unique 1-byte value as the
Manufacture ID field. (The detail is defined in Content Protection for Recordable Media Specification SD
Memory Card Book)
- The SD Group assigns each SD Memory Card Manufacturer a unique 2-byte value as
the OEM/Application ID value
- Each SD Memory Card Manufacturer assigns a unique 5-byte value as the Serial
Number, which consists of 1-byte Product Revision (PRV) value, and 4-byte Product
serial number (PSN) value.
Microsystems
Standard
Bit
Byte
7
0
1
2
3
4
5
6
7
Table 2.1: Media Identifier for SD Memory Card
Manufacturer ID (MID:1byte) assigned by 4C Entity, LLC
OEM/Application ID(OID:2byte) assigned by SD Group
Product serial number(PSN:4byte)
Product Revision(PRV:1byte)
6
5
4
3
2
1
0
DO NOT COPY 2000 SD Group (MEI, SanDisk, Toshiba)
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
CONFIDENTIAL
SS-2