SMso30 R1

SMso30 R1 on S3CC9G8

Application Related Characteristics | Primitive Support  | Implementation Specific Characteristics | Codelets Available

 

External Characteristics

 

Data Item

Value

Comments

External Specification

MULTOS step/one Version

1.3

 

Silicon Provider / manufacturer_id

Samsung Electronics / 0x0E

 

Implementer / implementer_id

Samsung SDS / 0x06

 

Mask / ic_type(s)

SMso30 (R1-C9G8) / 0x84

 

Technical Data

Power / External Clock

2.7V to 5.5V / 1 to 5 MHz

 

Transport Protocol

T=0, T=1, T=CL (Type B, Type A)

 

FI/DI

0x11, 0x12, 0x13, 0x18

 

Dual ATR

Supported

Pre-enablement ATR

- Cold ATR : 3BFF180000400A8031E06B01300E0684555555555555

- Warm ATR : 3B0F8031E06B01300E0684555555555555

PPS

Supported, max speed 115.2kbps @ 3.57MHz

TypeB supports 106kbps, 212kbps and 424kbps

TypeA supports 106kbps and 212kbps

ATR Character Convention Direct LSB (3B)

Supported

 

ATR Character Convention Indirect MSB (3F)

Supported

 

Memory Area Sizes

AMD

E006V001 (Type A)

E007V001 (Type B)

 

ROM

128K

 

RAM Public

512 bytes

 

RAM Dynamic

512 bytes

 

EEPROM Total

10.25K

 

EEPROM available for applications

9.12K bytes (Type A)
9.09K bytes (Type B)

 

 


Application Related Characteristics

 

Data Item

Value

Comments

Application EEPROM Loading Requirements

Application Header

280 bytes

Per application loaded

Total temporary space per protected ALU

-

 

Total temporary space per confidential ALU

-

 

MULTOS Application Function

Static Page Size (1 page)

64 bytes

 

Maximum write size in pages

At least 10 pages

 

Maximum ATR File record size

32 bytes

 

Maximum ATR Historical Byte record size

15 bytes

 

Maximum DIR File record size

Limited by free EEPROM

 

Maximum FCI record size

Limited by free EEPROM

 

Maximum inbound TPDU size

260 bytes

 

Maximum outbound TPDU size

261 bytes

 

Maximum delegation nest count

Limited by free EEPROM

 

Maximum application history list entries

Limited by free EEPROM

 

Retry Counters

Set MSM Controls

32

Test cards set to 255.

Create MEL Application

32

Test cards set to 255.

Delete MEL Application

32

Test cards set to 255.

Key Lengths

MDK_AS

16 bytes

Double length DES key for Application Signature

MDK_CS

16 bytes

Double length DES key for ALC/ADC/AFC

MDK_CU

16 bytes

Double length DES key for Card Unblock MAC

MDK_KE

16 bytes

Double length DES key for KTU encryption

MDK_TK

16 bytes

Double length DES key for Issuer Specified Data encryption, description and signature

AMDK

16 bytes

Double length DES key for AMD data encryption, decryption and signature

 

Primitive Support

The primitives listed here are those that were included in the target specification.

 

Primitive

Supported

Optional / Mandatory

Add BCDN

Yes

Optional

Bit Manipulate Byte

Yes

 

Bit Manipulate Word

Yes

 

Call Codelet

Yes

 

Call Extension 0, 1, 2, 3, 4, 5, 6

Yes

Extension used is 6

Card Block

Yes

 

Check Case

Yes

 

Checksum

Yes

 

Control Auto Reset WWT

Yes

Optional

Delegate

Yes

 

DES ECB Decipher

Yes

 

DES ECB Encipher

Yes

 

DivideN

Yes

Up to 8-byte operands

Generate Asymmetric Hash

No

 

Generate DES CBC Signature

Yes

 

Generate Triple DES CBC Signature

Yes

 

Get Delegator AID

Yes

 

Get DIR File Record

Yes

 

Get File Control Information

Yes

 

Get Manufacturer Data

Yes

 

Get Memory Reliability

Yes

 

Get MULTOS Data

Yes

 

Get Purse Type

Yes

 

Get Random Number

Yes

 

Load CCR

Yes

 

Lookup

Yes

 

Memory Compare

Yes

 

Memory Compare Fixed Length

Yes

 

Memory Copy

Yes

 

Memory Copy Fixed Length

Yes

 

Memory Copy Non Atomic

Yes

Optional

Memory Copy Non Atomic Fixed Length

Yes

Optional

Modular Exponentiation

No

 

Modular Exponentiation CRT

No

 

Modular Multiplication

No

 

Modular Reduction

No

 

MultiplyN

Yes

Up to 8-byte operands

Query Codelet

Yes

 

Query0, Query1, Query2, Query3

Yes

 

Reset Session Data

Yes

 

Reset WWT

Yes

 

Return from Codelet

Yes

 

SEED ECB Decipher

Yes

Optional

SEED ECB Encipher

Yes

Optional

Set ATR File Record

Yes

 

Set ATR Historical Characters

Yes

 

Set ATS Historical Characters

Yes

Optional

Set FCI File Record

Yes

Optional

Set Transaction Protection

Yes

 

Set Select SW

Yes

 

SHA-1

Yes

 

Shift Left

Yes

 

Shift Right

Yes

 

Store CCR

Yes

 

Subtract BCDN

Yes

Optional

Query Interface Type

Yes

 

 

Implementation Specific Characteristics

Zero Block Size

The following instructions and primitives have the block size specified in the code (as opposed to being run-time data). The following table shows how each will perform if a zero block size is specified.

 

Type

Instruction / Primitive

Operation

Instruction

LOAD, STORE, LOADI, STOREI

no operation

CLEARN

no operation

TESTN, INCN, DECN, NOTN

Z = 1

CMPN, ADDN, SUBN

C = 0, Z = 1

ANDN, ORN, XORN

Z = 1

Primitive

MultiplyN

Z = 1

DivideN

C = 1, Z = unchanged

ShiftLeft, ShiftRight

C = 0, Z = 1

GetDIRFileRecord
GetFileControlInformation

One byte set to zero pushed onto stack,

If the application specified does not exist, C = 1, Z = 1

If the application specified exists, C = 0, Z = 0

GetManufacturerData
GetMULTOSData
GetPurseType

One byte set to zero pushed onto stack, C = 0

Undefined: implementation specific handling

Undefined: implementation specific handling

MemoryCompareFixedLength

DT’ = DT - 4, C = 0, Z = 1

MemoryCopyFixedLength

DT’ = DT - 4

 

Maximum Number of Pages Permitted in a Single Write

The maximum number of pages is at least ten when transaction protection is used. It is possible to write more than ten pages if there is free EEPROM. Note that if an attempt is made to write more than 10 pages and if there is insufficient free EEPROM, then an abnormal end to processing to will occur.

 

Condition Code Register

This implementation does support signed arithmetic. The N and V flags are present in the CCR, and they may be changed by some instructions. However, signed arithmetic is not guaranteed and should be avoided. They may be used by an application using the Load CCR and Store CCR primitives, but this may affect the portability of the application.

 

Important Remarks

This section contains important remarks about the Primitives and IFD commands of this implementation.

 

Functionality

Operation

Automated sending of Work  Wait Time extension

The chip returns WWT extension request bytes when 80% of the WWT has expired.

Bit Manipulate Byte

Bit Manipulate Word

Bits 6 to 2 of b2 are ignored. That is, the primitives return the expected result regardless of the value of bits 6 to 2 of b2.

Checksum

If the checksummed area includes the parameters (the top four bytes of Dynamic), the checksum will be correctly calculated.

DivideN

Supported up to 8-byte operands.

Generate Asymmetric Hash

Not supported

Get Manufacturer Data

Get MULTOS Data

Get Purse Type

If the destination is stack top, the last byte of retrieved data will be overwritten by the length of data retrieved. That is, the number of bytes copied is always returned on the stack regardless of the destination segment address.

Get Memory Reliability

MULTOS 4 always indicates memory is reliable: C = 0, Z = 0.

Lookup

If the target value appears more than once in the list, the location of the first is reported. The list need not be sorted. If the target value is not found, it is left unchanged on the stack.

Modular Exponentiation

Not supported

Modular Exponentiation CRT

Not supported

Modular Reduction

Not supported

MultiplyN

Supported up to 8-byte operands.

Set Transaction Protection

Bits 7 to 2 of b2 are ignored. That is, the primitive returns the expected result regardless of the value of bits 7 to 2 of b2.

Samsung chips copy the source data to a temporary store and any updates are made to the source data. In the case of a rollback, the copy of the original source data is written to the source.

Shift Left and Shift Right

  • With b2 > 0, if b3 = 0, C= 0 and Z is set appropriately.
    The output block is equal to the input block (the input block is not changed).
  • With b2 > 0, if b3 > 8 * b2, C = 0 and Z = 1.
    The output block is zero.

 

 

Codelets Available

SMso30 R1

Both on test cards and live cards, there are at least four Codelets available:

 

  • 0x0007 M/Chip Select V2.0.5
  • 0x0026 M/Chip Select V4
  • 0x0025 J/Smart V2.0
  • 0x0043 MICA_1411_v0-1

 

 

Romlets Available

SMso30 R1

On test cards and live cards, there are at least five Romlets available:

 

  • K-Cash V1.0
  • Local Cash (Korean ATM application) V1.0
  • Local Certificate (Storage-type Korean certificate application) V1.0
  • Local PSE (Local application) V1.0
  • Local BANKBOOK (Local application) V1.0