5 Integrity algorithm f9

35.2033G Security3GPPDocument 3: Implementors' test dataRelease 17Specification of the 3GPP confidentiality and integrity algorithmsTS

5.1 Overview

The test data sets presented here are for the f9 integrity algorithm. No detailed data is presented for the internal states of KASUMI as that is covered in Clause 3.

5.2 Format

The test data set shows the input values to the algorithm.

Following this it shows four columns of data; input, KASUMI input, KASUMI output and the cumulative exclusive-OR where:

Input is the plain text input block that is being hashed. It commences with the value COUNT || FRESH and is followed by the MESSAGE. The final input block includes the DIRECTION bit and the padding.

KASUMI Input is the input value to the block cipher. In the first line this is COUNT || FRESH, subsequently it is the XOR of the plain text block and the previous output from KASUMI.

KASUMI Output is the output of the block cipher

Accumulated XOR is the XOR of all the output of all the KASUMI operations performed up to that point.

Finally the modified key is shown along with the input and output data from the last application of KASUMI.

5.3 Test Set 1

Key = 2BD6459F82C5B300952C49104881FF48

Count = 38A6F056

Fresh = 05D2EC49

Direction = 0

Length = 189 bits

Message:

6B227737296F393C 8079353EDC87E2E8 05D2EC49A4F2D8E0

Input Kasumi input Kasumi Output Accumulated XOR

38A6F05605D2EC49 38A6F05605D2EC49 89E0A6D036C17090 89E0A6D036C17090

6B227737296F393C E2C2D1E71FAE49AC 45C16C0142460205 CC21CAD174877295

8079353EDC87E2E8 C5B8593F9EC1E0ED E24CFA7D8471E4DD 2E6D30ACF0F69648

05D2EC49A4F2D8E2 E79E163420833C3F DFD3DCB9499275BA F1BEEC15B964E3F2

New Key: 817CEF35286F19AA3F86E3BAE22B55E2

final step: F1BEEC15B964E3F2 F63BD72C702EBC7A

MAC-I: F63BD72C

5.4 Test Set 2

Key = D42F682428201CAFCD9F97945E6DE7B7

Count = 3EDC87E2

Fresh = A4F2D8E2

Direction = 1

Length = 254 bits

Message::

B5924384328A4AE0 0B737109F8B6C8DD 2B4DB63DD533981C EB19AAD52A5B2BC0

Input Kasumi input Kasumi Output Accumulated XOR

3EDC87E2A4F2D8E2 3EDC87E2A4F2D8E2 3541B47339DD4168 3541B47339DD4168

B5924384328A4AE0 80D3F7F70B570B88 52EC81194ECEDDA0 67AD356A77139CC8

0B737109F8B6C8DD 599FF010B678157D 792BFE1F07A1A8B0 1E86CB7570B23478

2B4DB63DD533981C 52664822D29230AC C92F7E2C38D22B6D D7A9B55948601F15

EB19AAD52A5B2BC3 2236D4F9128900AE 4C2BEF9C82233403 9B825AC5CA432B16

New Key: 7E85C28E828AB60567353D3EF4C74D1D

final step: 9B825AC5CA432B16 A9DAF1FF12F71DE7

MAC-I: A9DAF1FF

5.5 Test Set 3

Key = FDB9CFDF28936CC483A31869D81B8FAB

Count = 36AF6144

Fresh = 9838F03A

Direction = 1

Length = 319 bits

Message::

5932BC0ACE2B0ABA 33D8AC188AC54F34 6FAD10BF9DEE2920 B43BD0C53A915CB7

DF6CAA72053ABFF2

Input Kasumi input Kasumi Output Accumulated XOR

36AF61449838F03A 36AF61449838F03A DDA7EAA292B010EC DDA7EAA292B010EC

5932BC0ACE2B0ABA 849556A85C9B1A56 3D65F1EB61544622 E0C21B49F3E456CE

33D8AC188AC54F34 0EBD5DF3EB910916 1D62D61E5ED97431 FDA0CD57AD3D22FF

6FAD10BF9DEE2920 72CFC6A1C3375D11 14C968BAC4F8A2A5 E969A5ED69C5805A

B43BD0C53A915CB7 A0F2B87FFE69FE12 6D0132521C61A552 846897BF75A42508

DF6CAA72053ABFF3 B26D9820195B1AA1 BF04729B5C03EA98 3B6CE52429A7CF90

8000000000000000 3F04729B5C03EA98 8B0C8BE27C74D17F B0606EC655D31EEF

New Key: 571365758239C66E2909B2C372B12501

final step: B0606EC655D31EEF 1537D316633A8831

MAC-I: 1537D316

5.6 Test Set 4

Key = C736C6AAB22BFFF91E2698D2E22AD57E

Count = 14793E41

Fresh = 0397E8FD

Direction = 1

Length = 384 bits

Message::

D0A7D463DF9FB2B2 78833FA02E235AA1 72BD970C1473E129 07FB648B6599AAA0

B24A038665422B20 A499276A50427009

Input Kasumi input Kasumi Output Accumulated XOR

14793E410397E8FD 14793E410397E8FD FB6A5FB59EA91B57 FB6A5FB59EA91B57

D0A7D463DF9FB2B2 2BCD8BD64136A9E5 DDF60F296850AE54 269C509CF6F9B503

78833FA02E235AA1 A57530894673F4F5 FAB7664A7F2447E7 DC2B36D689DDF2E4

72BD970C1473E129 880AF1466B57A6CE E6443647E1289007 3A6F009168F562E3

07FB648B6599AAA0 E1BF52CC84B13AA7 DA29900832EA4C7C E04690995A1F2E9F

B24A038665422B20 6863938E57A8675C 74C2F5B8172E361D 948465214D311882

A499276A50427009 D05BD2D2476C4614 79AA12C36369E686 ED2E77E22E58FE04

C000000000000000 B9AA12C36369E686 A464F43DEE74E0C7 494A83DFC02C1EC3

New Key: 6D9C6C0018815553B48C327848807FD4

final step: 494A83DFC02C1EC3 DD7DFADDD68D1EC1

MAC-I: DD7DFADD

5.7 Test Set 5

Key = F4EBEC69E73EAF2EB2CF6AF4B3120FFD

Count = 296F393C

Fresh = 6B227737

Direction = 1

Length = 1000 bits

Message::

10BFFF839E0C7165 8DBB2D1707E14572 4F41C16F48BF403C 3B18E38FD5D1663B

6F6D900193E3CEA8 BB4F1B4F5BE82203 2232A78D7D75238D 5E6DAECD3B4322CF

59BC7EA84AB18811 B5BFB7BC553F4FE4 4478CE287A148799 90D18D12CA79D2C8

55149021CD5CE8CA 0371CA04FCCE143E 3D7CFEE94585B588 5CAC46068B

Input Kasumi input Kasumi Output Accumulated XOR

296F393C6B227737 296F393C6B227737 47F6AA9B15F7A617 47F6AA9B15F7A617

10BFFF839E0C7165 574955188BFBD772 6C7C71FDE9AA2B8D 2B8ADB66FC5D8D9A

8DBB2D1707E14572 E1C75CEAEE4B6EFF 690286906D3EBABE 42885DF691633724

4F41C16F48BF403C 264347FF2581FA82 942B65C8198AB936 D6A3383E88E98E12

3B18E38FD5D1663B AF338647CC5BDF0D 5052A81A1A059BB0 86F1902492EC15A2

6F6D900193E3CEA8 3F3F381B89E65518 E40F45A22B41B05F 62FED586B9ADA5FD

BB4F1B4F5BE82203 5F405EED70A9925C 91C00F497A1A8199 F33EDACFC3B72464

2232A78D7D75238D B3F2A8C4076FA214 DEF053FB4EB23FEA 2DCE89348D051B8E

5E6DAECD3B4322CF 809DFD3675F11D25 BEC94AAFFE3723CC 9307C39B73323842

59BC7EA84AB18811 E7753407B486ABDD 9BD4CB606985127E 08D308FB1AB72A3C

B5BFB7BC553F4FE4 2E6B7CDC3CBA5D9A D5D5A8EECD518F4E DD06A015D7E6A572

4478CE287A148799 91AD66C6B74508D7 17B9203FC35C9882 CABF802A14BA3DF0

90D18D12CA79D2C8 8768AD2D09254A4A 206A3693096F30E7 EAD5B6B91DD50D17

55149021CD5CE8CA 757EA6B2C433D82D CF23D21C256066E9 25F664A538B56BFE

0371CA04FCCE143E CC521818D9AE72D7 C2D40AFABC92E2FE E7226E5F84278900

3D7CFEE94585B588 FFA8F413F9175776 699D61BDD036A7E5 8EBF0FE254112EE5

5CAC46068BC00000 353127BB5BF6A7E5 E3D8AE061C3A3C87 6D67A1E4482B1262

New Key: 5E4146C34D9405841865C05E19B8A557

final step: 6D67A1E4482B1262 C383839D93FFC6D1

MAC-I: C383839D

Annex A (informative):
Change history

Change history

Date

TSG #

TSG Doc.

CR

Rev

Subject/Comment

Old

New

12-1999

ETSI SAGE Publication (restricted)

SAGE v1.0

09-2000

SA_07

Approved by TSG SA and placed under change control

SAGE v1.0

3.1.0

07-2001

Word version received: Re-formatted into 3GPP TS format (MCC)
No technical change from version 3.1.0.

3.1.0

3.1.1

08-2001

Addition of Mitsubishi IPR information in Foreword and correction of reference titles. No technical change from version 3.1.0.

3.1.1

3.1.2

08-2001

Release 4 version created.

3.1.2

4.0.0

06-2002

Release 5 version created.

4.0.0

5.0.0

12-2004

SP-26

Release 6 version created.

5.0.0

6.0.0

06-2007

SP-36

Release 7 version created.

6.0.0

7.0.0

12-2008

SP-42

Release 8 version created

7.0.0

8.0.0

2009-12

Release 9 version created

8.0.0

9.0.0

2011-03

Update to Rel-10 version (MCC)

9.0.0

10.0.0

2012-09

Update to Rel-11 version (MCC)

10.0.0

11.0.0

2014-09

Update to Rel-12 version (MCC)

11.0.0

12.0.0

2016-01

Update to Rel-13 version (MCC)

12.0.0

13.0.0

2017-03

SA#75

Promotion to Release 14 without technical change

13.0.0

14.0.0

2018-06

Update to Rel-15 version (MCC)

14.0.0

15.0.0

2020-07

Update to Rel-16 version (MCC)

15.0.0

16.0.0

2022-03

Update to Rel-17 version (MCC)

16.0.0

17.0.0