Information technology — Lightweight cryptography — Part 6: Message authentication codes (MACs)

This document specifies MAC algorithms suitable for applications requiring lightweight cryptographic mechanisms. These mechanisms can be used as data integrity mechanisms to verify that data has not been altered in an unauthorized manner. They can also be used as message authentication mechanisms to provide assurance that a message has been originated by an entity in possession of the secret key. The following MAC algorithms are specified in this document: a) LightMAC; b) Tsudik's keymode; c) Chaskey-12.

Technologies de l'information — Cryptographie pour environnements contraints — Partie 6: Codes d'authentification de message (MACs)

General Information

Status
Published
Publication Date
17-Sep-2019
Current Stage
9020 - International Standard under periodical review
Start Date
15-Jul-2024
Completion Date
15-Jul-2024
Ref Project

Buy Standard

Standard
ISO/IEC 29192-6:2019 - Information technology -- Lightweight cryptography
English language
20 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ISO/IEC 29192-6:2019 - Information technology — Lightweight cryptography — Part 6: Message authentication codes (MACs) Released:9/18/2019
English language
20 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


INTERNATIONAL ISO/IEC
STANDARD 29192-6
First edition
2019-09
Information technology — Lightweight
cryptography —
Part 6:
Message authentication codes (MACs)
Technologies de l'information — Cryptographie pour environnements
contraints —
Partie 6: Codes d'authentification de message (MACs)
Reference number
©
ISO/IEC 2019
© ISO/IEC 2019
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting
on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address
below or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Fax: +41 22 749 09 47
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii © ISO/IEC 2019 – All rights reserved

Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Symbols and abbreviated terms . 2
5 Lightweight MACs based on block ciphers. 3
5.1 General . 3
5.2 LightMAC . 4
5.2.1 General. 4
5.2.2 Step 1 (padding) . 4
5.2.3 Step 2 (application of the block cipher) . 4
5.2.4 Step 3 (truncation) . 4
6 Lightweight MACs based on hash-functions . 4
6.1 General . 4
6.2 Tsudik's keymode . 5
6.2.1 Requirements . 5
6.2.2 MAC calculation . 5
7 Lightweight dedicated MACs . 5
7.1 General . 5
7.2 Chaskey-12 . 5
7.2.1 General. 5
7.2.2 Step 1 (subkey derivation) . 6
7.2.3 Step 2 (padding) . 6
7.2.4 Step 3 (application of the permutation) . 6
7.2.5 Step 4 (truncation) . 8
Annex A (normative) Object identifiers . 9
Annex B (informative) Numerical examples .11
Annex C (informative) Security information and feature tables .17
Annex D (informative) Specification of I2BS .19
Bibliography .20
© ISO/IEC 2019 – All rights reserved iii

Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that
are members of ISO or IEC participate in the development of International Standards through
technical committees established by the respective organization to deal with particular fields of
technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other
international organizations, governmental and non-governmental, in liaison with ISO and IEC, also
take part in the work.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for
the different types of document should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www .iso .org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject
of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent
rights. Details of any patent rights identified during the development of the document will be in the
Introduction and/or on the ISO list of patent declarations received (see www .iso .org/patents) or the IEC
list of patent declarations received (see http: //patents .iec .ch).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and
expressions related to conformity assessment, as well as information about ISO's adherence to the
World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT) see www .iso
.org/iso/foreword .html.
This document was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology,
Subcommittee SC 27, Information security, cybersecurity and privacy protection.
A list of all parts in the ISO/IEC 29192 series can be found on the ISO website.
Any feedback or questions on this document should be directed to the user’s national standards body. A
complete listing of these bodies can be found at www .iso .org/members .html.
iv © ISO/IEC 2019 – All rights reserved

Introduction
In an IT environment, it is often required that one can verify that electronic data has not been altered in
an unauthorized manner and that one can provide assurance that a message has been originated by an
entity in possession of the secret key. A MAC (Message Authentication Code) algorithm is a commonly
used data integrity mechanism that can satisfy these requirements.
It is possible to take the first approach to realize a lightweight MAC by using the specified MAC algorithm
in conjunction with a block cipher that can be chosen from ISO/IEC 29192-2 or ISO/IEC 18033-3, and in
conjunction with a hash-function that can be chosen from ISO/IEC 29192-5. It is also possible to take the
second approach to realize a lightweight MAC using a dedicated function. Examples of both approaches
are specified in this document.
© ISO/IEC 2019 – All rights reserved v

INTERNATIONAL STANDARD ISO/IEC 29192-6:2019(E)
Information technology — Lightweight cryptography —
Part 6:
Message authentication codes (MACs)
1 Scope
This document specifies MAC algorithms suitable for applications requiring lightweight cryptographic
mechanisms. These mechanisms can be used as data integrity mechanisms to verify that data has not
been altered in an unauthorized manner. They can also be used as message authentication mechanisms
to provide assurance that a message has been originated by an entity in possession of the secret key.
The following MAC algorithms are specified in this document:
a) LightMAC;
b) Tsudik's keymode;
c) Chaskey-12.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments) applies.
ISO/IEC 18033-3, Information technology — Security techniques — Encryption algorithms — Part 3:
Block ciphers
ISO/IEC 29192-2, Information technology — Security techniques — Lightweight cryptography — Part 2:
Block ciphers
ISO/IEC 29192-5, Information technology — Security techniques — Lightweight cryptography — Part 5:
Hash-functions
3 Terms and definitions
For the purposes of this document, the terms and definitions given in ISO/IEC 18033-3 and the
following apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
— ISO Online browsing platform: available at https: //www .iso .org/obp
— IEC Electropedia: available at http: //www .electropedia .org/
3.1
block cipher key
key that controls the operation of a block cipher
[SOURCE: ISO/IEC 9797-1:2011, 3.2]
© ISO/IEC 2019 – All rights reserved 1

3.2
encryption
reversible operation by a cryptographic algorithm converting data into ciphertext so as to hide the
information content of the data
[SOURCE: ISO/IEC 9797-1:2011, 3.6]
3.3
hash-function
function which maps strings of bits of variable (but usually upper bounded) length to fixed-length
strings of bits, satisfying the following two properties:
— for a given output, it is computationally infeasible to find an input which maps to this output;
— for a given input, it is computationally infeasible to find a second input which maps to the same output
Note 1 to entry: Computational feasibility depends on the specific security requirements and environment.
[SOURCE: ISO/IEC 10118-1:2016, 3.4]
3.4
key
sequence of symbols that controls the operation of a cryptographic transformation
Note 1 to entry: Examples are encryption, decryption, cryptographic check function computation, signature,
generation, or signature verification.
[SOURCE: ISO/IEC 9797-1:2011, 3.7]
3.5
Message Authentication Code
MAC
string of bits which is the output of a MAC algorithm
[SOURCE: ISO/IEC 9797-1:2011, 3.9]
3.6
MAC algorithm
algorithm for computing a function which maps strings of bits and a secret key to fixed-length strings
of bits, satisfying the following two properties:
— for any key and any input string, the function can be computed efficiently;
— for any fixed key, and given no prior knowledge of the key, it is computationally infeasible to
compute the function value on any new input string, even given knowledge of a set of input strings
and corresponding function values, where the value of the ith input string might have been chosen
after observing the value of the first i - 1 function values (for integers i > 1)
[SOURCE: ISO/IEC 9797-1:2011, 3.10]
3.7
word
string of 32 bits used in Chaskey-12 MAC algorithm
4 Symbols and abbreviated terms
a ← b set variable a to the value of b
E(K, P) encryption of the plaintext P with the block cipher E using the key K
h hash-function
2 © ISO/IEC 2019 – All rights reserved

IV t-bit initializing value
I2BS(x, g)
...


INTERNATIONAL ISO/IEC
STANDARD 29192-6
First edition
2019-09
Information technology — Lightweight
cryptography —
Part 6:
Message authentication codes (MACs)
Technologies de l'information — Cryptographie pour environnements
contraints —
Partie 6: Codes d'authentification de message (MACs)
Reference number
©
ISO/IEC 2019
© ISO/IEC 2019
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting
on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address
below or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Fax: +41 22 749 09 47
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii © ISO/IEC 2019 – All rights reserved

Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Symbols and abbreviated terms . 2
5 Lightweight MACs based on block ciphers. 3
5.1 General . 3
5.2 LightMAC . 4
5.2.1 General. 4
5.2.2 Step 1 (padding) . 4
5.2.3 Step 2 (application of the block cipher) . 4
5.2.4 Step 3 (truncation) . 4
6 Lightweight MACs based on hash-functions . 4
6.1 General . 4
6.2 Tsudik's keymode . 5
6.2.1 Requirements . 5
6.2.2 MAC calculation . 5
7 Lightweight dedicated MACs . 5
7.1 General . 5
7.2 Chaskey-12 . 5
7.2.1 General. 5
7.2.2 Step 1 (subkey derivation) . 6
7.2.3 Step 2 (padding) . 6
7.2.4 Step 3 (application of the permutation) . 6
7.2.5 Step 4 (truncation) . 8
Annex A (normative) Object identifiers . 9
Annex B (informative) Numerical examples .11
Annex C (informative) Security information and feature tables .17
Annex D (informative) Specification of I2BS .19
Bibliography .20
© ISO/IEC 2019 – All rights reserved iii

Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that
are members of ISO or IEC participate in the development of International Standards through
technical committees established by the respective organization to deal with particular fields of
technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other
international organizations, governmental and non-governmental, in liaison with ISO and IEC, also
take part in the work.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for
the different types of document should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www .iso .org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject
of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent
rights. Details of any patent rights identified during the development of the document will be in the
Introduction and/or on the ISO list of patent declarations received (see www .iso .org/patents) or the IEC
list of patent declarations received (see http: //patents .iec .ch).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and
expressions related to conformity assessment, as well as information about ISO's adherence to the
World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT) see www .iso
.org/iso/foreword .html.
This document was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology,
Subcommittee SC 27, Information security, cybersecurity and privacy protection.
A list of all parts in the ISO/IEC 29192 series can be found on the ISO website.
Any feedback or questions on this document should be directed to the user’s national standards body. A
complete listing of these bodies can be found at www .iso .org/members .html.
iv © ISO/IEC 2019 – All rights reserved

Introduction
In an IT environment, it is often required that one can verify that electronic data has not been altered in
an unauthorized manner and that one can provide assurance that a message has been originated by an
entity in possession of the secret key. A MAC (Message Authentication Code) algorithm is a commonly
used data integrity mechanism that can satisfy these requirements.
It is possible to take the first approach to realize a lightweight MAC by using the specified MAC algorithm
in conjunction with a block cipher that can be chosen from ISO/IEC 29192-2 or ISO/IEC 18033-3, and in
conjunction with a hash-function that can be chosen from ISO/IEC 29192-5. It is also possible to take the
second approach to realize a lightweight MAC using a dedicated function. Examples of both approaches
are specified in this document.
© ISO/IEC 2019 – All rights reserved v

INTERNATIONAL STANDARD ISO/IEC 29192-6:2019(E)
Information technology — Lightweight cryptography —
Part 6:
Message authentication codes (MACs)
1 Scope
This document specifies MAC algorithms suitable for applications requiring lightweight cryptographic
mechanisms. These mechanisms can be used as data integrity mechanisms to verify that data has not
been altered in an unauthorized manner. They can also be used as message authentication mechanisms
to provide assurance that a message has been originated by an entity in possession of the secret key.
The following MAC algorithms are specified in this document:
a) LightMAC;
b) Tsudik's keymode;
c) Chaskey-12.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments) applies.
ISO/IEC 18033-3, Information technology — Security techniques — Encryption algorithms — Part 3:
Block ciphers
ISO/IEC 29192-2, Information technology — Security techniques — Lightweight cryptography — Part 2:
Block ciphers
ISO/IEC 29192-5, Information technology — Security techniques — Lightweight cryptography — Part 5:
Hash-functions
3 Terms and definitions
For the purposes of this document, the terms and definitions given in ISO/IEC 18033-3 and the
following apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
— ISO Online browsing platform: available at https: //www .iso .org/obp
— IEC Electropedia: available at http: //www .electropedia .org/
3.1
block cipher key
key that controls the operation of a block cipher
[SOURCE: ISO/IEC 9797-1:2011, 3.2]
© ISO/IEC 2019 – All rights reserved 1

3.2
encryption
reversible operation by a cryptographic algorithm converting data into ciphertext so as to hide the
information content of the data
[SOURCE: ISO/IEC 9797-1:2011, 3.6]
3.3
hash-function
function which maps strings of bits of variable (but usually upper bounded) length to fixed-length
strings of bits, satisfying the following two properties:
— for a given output, it is computationally infeasible to find an input which maps to this output;
— for a given input, it is computationally infeasible to find a second input which maps to the same output
Note 1 to entry: Computational feasibility depends on the specific security requirements and environment.
[SOURCE: ISO/IEC 10118-1:2016, 3.4]
3.4
key
sequence of symbols that controls the operation of a cryptographic transformation
Note 1 to entry: Examples are encryption, decryption, cryptographic check function computation, signature,
generation, or signature verification.
[SOURCE: ISO/IEC 9797-1:2011, 3.7]
3.5
Message Authentication Code
MAC
string of bits which is the output of a MAC algorithm
[SOURCE: ISO/IEC 9797-1:2011, 3.9]
3.6
MAC algorithm
algorithm for computing a function which maps strings of bits and a secret key to fixed-length strings
of bits, satisfying the following two properties:
— for any key and any input string, the function can be computed efficiently;
— for any fixed key, and given no prior knowledge of the key, it is computationally infeasible to
compute the function value on any new input string, even given knowledge of a set of input strings
and corresponding function values, where the value of the ith input string might have been chosen
after observing the value of the first i - 1 function values (for integers i > 1)
[SOURCE: ISO/IEC 9797-1:2011, 3.10]
3.7
word
string of 32 bits used in Chaskey-12 MAC algorithm
4 Symbols and abbreviated terms
a ← b set variable a to the value of b
E(K, P) encryption of the plaintext P with the block cipher E using the key K
h hash-function
2 © ISO/IEC 2019 – All rights reserved

IV t-bit initializing value
I2BS(x, g)
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.