System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C...

25
SecurityCore Family Confidential www.coreriver.com (E-mail : [email protected]) Semiconductor Co,. Ltd. CORERIVER Semiconductor reserves the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time. CORERIVER shall give customers at least a three month advance notice of intended discontinuation of a product or a service through its homepage. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. The CORERIVER products listed in this document are intended for usage in general electronics applications. These CORERIVER products are neither intended nor warranted for usage in equipment that requires extraordinarily high quality and/or reliability or a malfunction or failure of which may cause loss of human life or bodily injury. Spec. Draft of SecurityCore4.1 V2.11 2014. 06 System Copy Protection SD-SecurityCore4.1-V2.11

Transcript of System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C...

Page 1: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

SecurityCore Family Confidential

www.coreriver.com (E-mail : [email protected]) Semiconductor Co,. Ltd.

CORERIVER Semiconductor reserves the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time.

CORERIVER shall give customers at least a three month advance notice of intended discontinuation of a product or a service through its homepage.

Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.

The CORERIVER products listed in this document are intended for usage in general electronics applications. These CORERIVER products are neither intended nor warranted for usage in equipment that requires extraordinarily high quality and/or reliability or a malfunction or failure of which may cause loss of human life or bodily injury.

Spec. Draft of SecurityCore4.1

V2.11

2014. 06

System Copy Protection

SD-SecurityCore4.1-V2.11

Page 2: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [2]

Contents

1. What’s Copy Protection? Case 1 : without SecurityCore

Case 2 : with SecurityCore

2. Production Overview

3. Features

4. Block Diagram

5. Pin Configurations SecurityCore4.1

6. Pin Descriptions

7. Application Circuit

8. Strong Point of CORERIVER SECURITYCORE

9. I2C Interface

10. I2C Speed

11. How to Support Library

12. Absolute Maximum Ratings

13. DC Characteristics

14. AC Characteristics

15. Package Dimensions

Page 3: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [3]

1. What’s Copy Protection?

Without SecurityCore

32bit MCU app.

DVD

Set top Box

DVR

External Memory

Run

32bit MCU DSP

External Memory

Run

32bit MCU /DSP

Program Code

Easy to Copy Total System

Dead-Copy

Original B/D

Copied B/D

Page 4: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [4]

32bit MCU app.

DVD

Set top Box

DVR

1. What’s Copy Protection? (Cont’d)

With SecurityCore

Security Core

Identification

External Memory

32bit MCU /DSP

Security Core

Identification Fail

External Memory

32bit MCU /DSP

Program Code

Identification FAIL!!!

Identification OK!!!

Dead-Copy

Users Can’t Copy

SecurityCore, Run FAIL !

Original B/D

Copied B/D

Second Step

First Step

Page 5: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [5]

2. Product Overview

The solution of System Copy Protection.

Support a unique identification number

Inventory Tracking

Customizing Unique Algorithm

Page 6: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [6]

3. Features

Security

Support Random Number Generation

Encoder Read Protect

Unique Algorithm : 96 Bit Encryption

Provide Unique SEED Key

Operation

2.7 ~ 5.5 Volts Operation

-40 C to 85 C operating temperature

Active current : Max. 1mA @3.3V, 2MHz

Stop current : Max. 1uA (All Clock Off)

Program Interface : I2C Interface

E.S.D. protection up to 2,000V

Package : 8-SOIC

Page 7: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [7]

4. Block Diagram

BUS Main

Controller

Encryption Logic

BDATA / SDA

RESETB VDD VSS

I2C Interface Controller

POR

Decryption Logic

SCL

Page 8: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [8]

5. Pin Configurations

SecurityCore4.1

[ 8-SOIC]

VSS

RESETB

1

2

3

4

8

7

6

5

VDD

N/C

SCL

SDA

SC41P 8

S

SC41P 8

P

N/C

N/C

I2C interface

Page 9: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [9]

6. Pin Descriptions

Symbol Direction Description Share Pins

VDD Voltage Power Source -

VSS Voltage Power Ground -

SDA Input/Output Data I/O -

SCL Input/Output Clock I/O -

RESETB Input/Output External Reset Input Signal (Default) Bit Programmable

-

OTHERS Data I/O -

SecurityCore4.1

Page 10: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd.

7. Application Circuit

I2C Interface

Main MCU/ DSP

SDA

SCL ScurityCore4.1

5

6 4

8

VDD

VSS

3

RRSTB

Page 11: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd.

SC41 stores a security algorithm as extremely small electric charges.

SC41

+ - + - + -

+ - + - + -

+ - + - + -

+ - + - + -

+ - + + - +

The security algorithm is not hard-wired.

It is really impossible to find it by de-cap.

8. Strong Point of CORERIVER SC41 (1/2)

Page 12: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd.

8. Strong Point of CORERIVER SC41 (2/2)

Upgrade function in the field.

SC41 Algorithm Upgrade

on System

CORERIVER SC41 can upgrade the security algorithm on a used system.

To prevent the security algorithm from being cracked, you can replace it by a new one.

Page 13: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [13]

9. Security Flow

BASE BAND

CREATE VECTOR DATA ( 8 bit )

SEND ENCODING DATA ( 8bit * 12) INVERTING

WAIT

Y

N

ENCODING VECTOR ( 8 bit )

N

Y

WAIT

SEND VECTOR DATA ( 8bit * 12)

END

SECURITY CORE

DECODING DATA

COMPARE

SUCCESS

FAIL

Page 14: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [14]

10.1 I2C Interface : 10-bit Addressing (Slave)

Single Byte Read with Memory Address

SSCL/MSCL

SSDA/MSDA

ACK from Slave

Device Address

Data from Slave

SSCL/MSCL

SSDA/MSDA

Device Address : 0100 000 Write (0)

ACK from Slave

ACK from Slave

Device Address Memory Address

Data [Address] : 0000 1101 (0x0D)

ACK from Master

Device Address : 0100 000 Read (1)

No more data to read

7 MSB

6 5 4 3 2 1 LSB

0 7 MSB

6 5 4 3 2 1 0 LSB

Address : 0011 0101 (0x35)

Stop Condition

Start Condition

Restart Condition

7 MSB

6 5 4 3 2 1 LSB

0 7 MSB

6 5 4 3 2 1 0 LSB

Page 15: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [15]

10.2 I2C Interface : 10-bit Addressing (Slave)

Single Byte Write with Memory Address

SSCL/MSCL

SSDA/MSDA

Device Address : 0100 000

ACK from Slave

Address : 0011 0101 (0x35)

ACK from Slave

Device Address Memory Address

7 MSB

6 5 4 3

ACK from Slave

2 1 0 LSB

Data to Slave

Stop Condition

7 MSB

6 5 4 3 2 1 LSB

0 7 MSB

6 5 4 3 2 1 0 LSB

Start Condition

Data [Address] : 0100 0001 (0x41)

SSCL/MSCL

SSDA/MSDA

No more data to write

Write (0)

Page 16: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [16]

10.3 I2C Interface : 10-bit Addressing (Slave)

SSCL/MSCL

SSDA/MSDA

ACK from Slave

Device Address

Data from Slave

SSCL/MSCL

SSDA/MSDA

Device Address : 0100 000

ACK from Slave

ACK from Slave

Device Address Memory Address

Data [Address] : 0000 1101 (0x0D)

ACK from Master

Device Address : 0100 000

7 MSB

6 5 4 3 2 1 LSB

0 7 MSB

6 5 4 3 2 1 0 LSB

Address : 0011 0101 (0x35) Start

Condition Restart

Condition

7 MSB

6 5 4 3 2 1 LSB

0 7 MSB

6 5 4 3 2 1 0 LSB

SSCL/MSCL

SSDA/MSDA

ACK from Master

Data from Slave

Data [Address+N-1] = 0000 1101 (0x0D)

ACK from Master

Data [Address+N-2] : 0010 1000 (0x28)

No more data to read

Stop Condition

7 MSB

6 5 4 3 2 1 0 LSB

7 MSB

6 5 4 3 2 1 0 LSB

: I2C Master/Slave Interrupt

Data from Slave

Multi (N) Bytes Read with Memory Address

Write (0)

Read (1)

Page 17: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [17]

: I2C Master/Slave Interrupt

10.4 I2C Interface : 10-bit Addressing (Slave)

SSCL/MSCL

SSDA/MSDA

Device Address : 0100 000

ACK from Slave

ACK from Slave

Device Address Memory Address

7 MSB

6 5 4 3 2 1 LSB

0 7 MSB

6 5 4 3 2 1 0 LSB

Address : 0011 0101 (0x35) Start

Condition

SSCL/MSCL

SSDA/MSDA

ACK from Slave

Data to Slave Data to Slave

Data [Address+N-2] : 0000 1101 (0x0D)

ACK from Slave

Data [Address] : 0111 0010 (0x72)

7 MSB

6 5 4 3 2 1 0 LSB

7 MSB

6 5 4 3 2 1 0 LSB

7 MSB

6 5 4 3

ACK from Slave

2 1 0 LSB

Data to Slave

Stop Condition

Data [Address+N-1] : 0100 0001 (0x41)

SSCL/MSCL

SSDA/MSDA

No more data to write

Multi (N) Bytes Write with Memory Address

Write (0)

Page 18: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd.

10.5 I2C Interface : Processing Time

[18]

I2C Interface - Delay

No Process Time

1 Chip Address ~ Data Byte Delay 20us

2 Data Byte ~ Data Byte Delay 20us

3 Writing ~ Read Delay (Algorithm processing time) 100ms

Page 19: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd.

11. I2C Speed

[19]

Device I2C Min Speed I2C Max Speed

SecurityCore 4.1 3KHz 400KHz

* Recommended I2C Speed : 30KHz ~ 100KHz.

Page 20: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [20]

12. How to support Library

CORERIVER

Provide BYPASS MODE example code

Provide Final LIBRARY

Make LIBRARY

Porting BYPASS MODE code

Send Final BYPASS MODE code

Use LIBRARY FUNCTION With RANDOM DATA

END

CUSTOMER

NOTE : If CORERIVER don’t have customer’s development environment, we can borrow customer’s IDE or visit customer’s company to make library.

Page 21: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [21]

13. Absolute Maximum Ratings

Items Conditions Ranges

Voltage on any pin relative to Ground - -0.5V to (VDD+0.5V)

Voltage in VDD relative to Ground - -0.5V to 6.5V

Output Voltage - -0.5V to (VDD+0.5V)

Output Current High

One I/O pin active -25mA

All I/O pin active -100mA

Output Current Low

One I/O pin active +30mA

All I/O pin active +150mA

Operating Temperature - -40 oC to 85 oC

Storage Temperature - -65 oC to +150 oC

Soldering Temperature - Peak 260 oC for 10 seconds

Page 22: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [22]

14 DC Characteristics

* TA = = -40 oC ~ +85 oC, VDD = 2.7V ~ 5.5V unless otherwise specified.

Parameter Symbol Pin Conditions Value

Unit Min. Typ. Max.

Input Low Voltage VIL BDATA VDD = 2.7V~5.5V -0.5 - 0.2VDD-0.1 V

Input high Voltage VIH BDATA VDD = 2.7V~5.5V 0.2VDD+1.0 - VDD+0.5 V

Output Low Voltage

VOL1 BDATA IOL = 20mA @VDD=5V

(IOL = 5mA @VDD=2.6V) - - 0.3VDD

V

VOL2 RESETB IOL = 4mA @VDD=5V - - 0.3VDD

Output High Voltage

VOH BDATA IOH = -15mA @VDD=5V

(IOH= -1.5mA @VDD=3V) 0.7VDD - - V

VOHP1 BDATA IOH= -40uA @VDD=5V

(IOH = -20uA @VDD=3V) 0.7VDD - - V

Input Leakage

Current IIL All pins VIN = VIH or VIL - - ±1 A

Pin Capacitance CIO All VDD = 5V - 10 - pF

Page 23: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [23]

15. AC Characteristics

Parameter Symbol Pin Conditions Value

Unit Min. Typ. Max.

Operating Frequency Fsys XTAL2 VDD = 5V ± 10% 1 - 24

MHz VDD = 3V ± 10% 1 - 12

External Interrupt

Input Width tINT External Interrupt

VDD = 5V ± 10% 4 - - FOSC

VDD = 3V ± 10% 4 - -

* TA = -40 oC ~ +85 oC unless otherwise specified.

External Interrupt Pin

0.8VDD 0.8VDD

0.2VDD 0.2VDD

tINT

tINT

Page 24: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [24]

16. Package Dimensions : 8-SOIC

1

8 5

4

8 pins

[8-SOIC]

Notes: 1. Dimension D & E include mold mismatch and are determined at the mold parting line. 2. General appearance spec. should be based on final visual inspection spec.

Symbol Dimension in Inches Dimension in mm

Min. Nom. Max. Min. Nom. Max.

A 0.093 0.099 0.104 2.35 2.45 2.65

A1 0.004 0.008 0.012 0.10 0.20 0.30

b 0.014 0.016 0.019 0.35 0.42 0.49

D - 0.150 - - 3.81 -

E 0.150 0.153 0.157 3.80 3.90 4.00

HD 0.189 0.193 0.197 4.80 4.90 5.00

HE 0.234 0.239 0.244 5.95 6.07 6.20

L 0.038 0.043 0.048 0.97 1.08 1.2

L1 0.022 0.027 0.032 0.58 0.70 0.82

a 0 ̊̊ - 8 ̊̊ 0 ̊̊ - 8 ̊̊

e 0.050 BSC 1.27 BSC

m 0.010 0.015 0.020 0.25 0.37 0.50 m

b

e

Seating Plane

a

L

L1

A

A1

E HE

HD

D

Page 25: System Copy Protection - CORERIVER...Spec. Draft Confidential Semiconductor Co,. Ltd. [14] 10.1 I2C Interface : 10-bit Addressing (Slave) Single Byte Read with Memory Address SSCL/MSCL

Spec. Draft

Confidential

Semiconductor Co,. Ltd. [25]

Appendix : Update History

V1.0

spec draft

V1.1

What’s copy protection Image.

V1.2

I2C Interface.

V1.3

Package Dimensions.

V1.4

SecurityCore3.0 Addition.

V1.5

SecurityCore3.0 Strong Point Addition.

V1.6

SecurityCore3.0 power slop Addition

V1.7

SecurityCore4.0 Addition

V1.8

SecurityCore4.1 Addition

V1.9

SecurityCore412 Addition

V2.0

SecurityCore412 strong point Addition

V2.1 ~ V2.6

SecurityCore412 Addition

V2.7

SecurityCore3.0 remove.

Algorithm & etc modify.

V2.8

Power Characteristics remove.

I2

C Speed change (10KHz -> 100KHz)

V2.9

SS of SecurityCore4.1 only

Update I2C single byte Read/Write

V2.11

Title changing : SecurityCore4.1