ISO/IEC 18033-2:2006/Amd 2:2026
(Amendment)Information technology — Security techniques — Encryption algorithms — Part 2: Asymmetric ciphers — Amendment 2
- Status
- Published
- Publication Date
- 04-Jun-2026
- Drafting Committee
- ISO/IEC JTC 1/SC 27/WG 2 - Cryptography and security mechanisms
- Current Stage
- 6060 - International Standard published - 60 Publication
- Start Date
- 05-Jun-2026
- Due Date
- 04-May-2026
- Completion Date
- 04-May-2026
ISO/IEC 18033-2:2006/Amd 2:2026 is an ISO/IEC amendment to Part 2 of the Information technology - Security techniques - Encryption algorithms series. It updates the asymmetric-cipher content by adding specifications for Classic McEliece, FrodoKEM, and ML-KEM, and by revising related identifiers and references. In practice, it gives implementers, reviewers, and protocol designers the exact rules for encoding, generating, encapsulating, and decapsulating these key encapsulation mechanisms.
What does ISO/IEC 18033-2:2006/Amd 2:2026 specify?
ISO/IEC 18033-2:2006/Amd 2:2026 specifies changes to the asymmetric-cipher part of ISO/IEC 18033-2:2006. It updates the technical references, expands the list of generic hybrid ciphers, and adds full algorithm definitions for three post-quantum KEMs.
The amendment is organized as a set of clause replacements and additions. It revises Clause 2, updates Clause 8, adds Clauses 13 to 15, and updates Annex A, Annex C, and adds Annexes D to F.
| Annex | What it covers |
|---|---|
| Annex A | OIDs and ASN.1 information objects for key encapsulation mechanisms, including the new post-quantum KEMs |
| Annex C | Numerical examples for Classic McEliece, FrodoKEM, and ML-KEM |
| Annex D | Resources and implementation guidance for Classic McEliece |
| Annex E | Resources and implementation guidance for FrodoKEM |
| Annex F | Resources and implementation guidance for ML-KEM |
What are the key requirements of ISO/IEC 18033-2:2006/Amd 2:2026?
Clause 2 and Clause 8
ISO/IEC 18033-2:2006/Amd 2:2026 updates the normative references in Clause 2 and expands the generic hybrid cipher list in Clause 8.1.2. This matters because implementations that rely on the amendment must use the newer hash-function and block-cipher references, and they can now name the new KEMs in hybrid constructions.
Clause 2 replaces the hash-function reference with ISO/IEC 10118-3:2018 and the block-cipher reference with ISO/IEC 18033-3:2010. Clause 8.1.2 then lists ECIES-KEM, PSEC-KEM, ACE-KEM, FACE-KEM, RSA-KEM, Classic McEliece KEM, FrodoKEM, and ML-KEM. In practice, this is the list a protocol designer uses when deciding which KEM families are in scope for a hybrid design.
Classic McEliece in Clause 13
ISO/IEC 18033-2:2006/Amd 2:2026 defines Classic McEliece as a KEM with three mathematical functions: CM.KeyGen, CM.Encap, and CM.Decap. To claim conformance, an implementation must name one of those functions, identify a selected parameter set from 13.16, and compute exactly the specified function for that set.
Clause 13 distinguishes non-pc and pc parameter sets, and it also includes f variants with semi-systematic parameters. This matters in practice because the parameter set determines the public key, ciphertext format, private key contents, and whether plaintext confirmation is used.
Clause 13 also defines the supporting machinery used by the algorithms: matrix generation, fixed-weight-vector generation, field ordering, irreducible-polynomial generation, encoding and decoding, and the use of Hash and PRG. For Classic McEliece, Hash is built from SHAKE256 and the private key stores the seed, column selections, polynomial, field ordering, and a secret vector. That gives implementers a complete, deterministic description of what must be computed and how the keys are represented.
FrodoKEM in Clause 14
ISO/IEC 18033-2:2006/Amd 2:2026 defines FrodoKEM in standard and ephemeral variants, with AES128 or SHAKE128 used to generate the matrix A. Conformance again requires one named algorithm - Frodo.KeyGen, Frodo.Encaps, or Frodo.Decaps - together with a selected parameter set from 14.9.
The clause makes the difference between standard and ephemeral usage explicit. Standard FrodoKEM is the recommended form when a single public key will be used to produce many ciphertexts, while ephemeral FrodoKEM is limited to cases where fewer than 2 ciphertexts are produced per public key. In practice, that choice affects security assumptions around multi-ciphertext use.
Clause 14 also defines the byte order, matrix packing, error sampling, and pseudorandom generation used in the key generation, encapsulation, and decapsulation procedures. That lets independent implementations derive the same keys and shared secrets from the same inputs.
ML-KEM in Clause 15
ISO/IEC 18033-2:2006/Amd 2:2026 specifies ML-KEM as a key encapsulation mechanism derived from CRYSTALS-KYBER. Conformance requires an implementation to name ML-KEM.KeyGen, ML-KEM.Encaps, or ML-KEM.Decaps, identify a parameter set from 15.8, and compute the exact function for that set.
Clause 15 also states that the K-PKE component scheme is not to be used as a stand-alone cryptographic scheme. In practice, K-PKE is only a subroutine inside ML-KEM, so implementers should integrate the full KEM rather than expose the component encryption scheme by itself.
ML-KEM is defined for two parameter sets, ML-KEM-768 and ML-KEM-1024, with specified values for k, η1, η2, du, dv, and RBG strength. That gives buyers and engineers a direct link between parameter set, security category, and output sizes.
Annex A and the ASN.1 identifiers
ISO/IEC 18033-2:2006/Amd 2:2026 adds OIDs for the new post-quantum KEMs and their specific parameter sets, and it adds CMKemPublicKey, FrodoKemPublicKey, and MlKemPublicKey object types. This matters for protocol encoding, certificate profiles, and any system that identifies algorithms by ASN.1 object identifiers.
What terms does ISO/IEC 18033-2:2006/Amd 2:2026 define?
- Key encapsulation mechanism (KEM) - A public-key mechanism that outputs a ciphertext and a shared or session key.
- Plaintext confirmation (pc) - The Classic McEliece label for parameter sets that add an extra confirmation value to the ciphertext.
- Pseudorandom bit generator (PRG) - The generator used in Classic McEliece to expand an ℓ-bit seed into the longer bit string needed by the algorithms.
- K-PKE - The public-key encryption component inside ML-KEM, which the clause treats only as an internal subroutine.
- Selected parameter set - A fixed named parameter combination that defines one conformance target, including sizes and algorithm behavior.
- SHAKE256 - The extendable-output function used in Classic McEliece for Hash and PRG-related construction.
Who uses ISO/IEC 18033-2:2006/Amd 2:2026?
ISO/IEC 18033-2:2006/Amd 2:2026 is used by cryptographic software developers, protocol designers, security reviewers, and validation teams. They use it to implement key generation, encapsulation, decapsulation, key and ciphertext encoding, and ASN.1 object identifiers.
It is also relevant to engineers and buyers selecting a post-quantum KEM for secure communications, certificate systems, or network protocols. The annexes support implementation testing, side-channel review, parameter selection, and algorithm registration.
What changed in ISO/IEC 18033-2:2006/Amd 2:2026 from the previous edition?
ISO/IEC 18033-2:2006/Amd 2:2026 makes these changes to the 2006 part:
- Replaces the Clause 2 normative references with newer ISO/IEC 10118-3:2018 and ISO/IEC 18033-3:2010 references.
- Expands Clause 8.1.2 to include Classic McEliece KEM, FrodoKEM, and ML-KEM among the generic hybrid ciphers.
- Adds Clause 13 for Classic McEliece, including selected parameter sets and encodings.
- Adds Clause 14 for FrodoKEM, including standard and ephemeral variants.
- Adds Clause 15 for ML-KEM, including its parameter sets and K-PKE component scheme.
- Updates Annex A with new OIDs and public-key object types, and adds Annex C, D, E, and F content.
Which standards are used with ISO/IEC 18033-2:2006/Amd 2:2026?
- ISO/IEC 10118-3:2018 - Supplies the hash-function definitions used for SHAKE256 and SHAKE128-based operations.
- ISO/IEC 18033-3:2010 - Supplies the block-cipher reference used for AES128 in FrodoKEM.
- ISO/IEC 18031 - Provides the random-bit-generator strength context used in the ML-KEM parameter discussion in Annex F.
What does the ISO/IEC 18033-2:2006/Amd 2:2026 document contain?
ISO/IEC 18033-2:2006/Amd 2:2026 contains complete algorithm procedures for CM.KeyGen, CM.Encap, CM.Decap, Frodo.KeyGen, Frodo.Encaps, Frodo.Decaps, and the corresponding ML-KEM procedures. It also contains the supporting routines for matrix generation, encoding and decoding, sampling, compression, and byte and bit representation.
The document includes tables of selected parameter sets and byte sizes, plus detailed representation rules for public keys, private keys, ciphertexts, session keys, field elements, polynomials, and field orderings. Annex C gives numerical examples, while Annexes D to F point to implementation guidance and security resources for each of the three KEM families.
Relations
- Effective Date
- 06-May-2023
Get Certified
Connect with accredited certification bodies for this standard

BSI Group
BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.

Bureau Veritas
Bureau Veritas is a world leader in laboratory testing, inspection and certification services.

DNV
DNV is an independent assurance and risk management provider.
Sponsored listings
Frequently Asked Questions
ISO/IEC 18033-2:2006/Amd 2:2026 is a standard published by the International Organization for Standardization (ISO). Its full title is "Information technology — Security techniques — Encryption algorithms — Part 2: Asymmetric ciphers — Amendment 2". This standard covers: Information technology — Security techniques — Encryption algorithms — Part 2: Asymmetric ciphers — Amendment 2
Information technology — Security techniques — Encryption algorithms — Part 2: Asymmetric ciphers — Amendment 2
ISO/IEC 18033-2:2006/Amd 2:2026 is classified under the following ICS (International Classification for Standards) categories: 35.030 - IT Security. The ICS classification helps identify the subject area and facilitates finding related standards.
ISO/IEC 18033-2:2006/Amd 2:2026 has the following relationships with other standards: It is inter standard links to ISO/IEC 18033-2:2006. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.
ISO/IEC 18033-2:2006/Amd 2:2026 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
Contents
- Foreword
- 13 The Classic McEliece KEM
- 13.1 General
- 13.2 Requirements
- 13.3 Parameters
- 13.4 Matrix reduction
- 13.5 Matrix generation for Goppa codes
- 4. Set (𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 )← (𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 ). (Each 𝛼𝛼 is a variable that can change later.)
- 13.6 Encoding subroutine
- 13.7 Decoding subroutine
- 13.8 Irreducible-polynomial generation
- 0. See Annex D for a guide for implementors.)
- 13.9 Field-ordering generation
- 13.10 Key generation
- 1. Generate a uniform random ℓ-bit string 𝛿𝛿. (This is called a seed.)
- 6. Define 𝛤𝛤 = (𝑔𝑔,𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 ). (Note that 𝛼𝛼 , … ,𝛼𝛼 are not used in 𝛤𝛤.)
- 9. Output 𝑇𝑇 as public key and 𝛿𝛿,𝑐𝑐,𝑔𝑔,𝛼𝛼,𝑠𝑠 as private key, where 𝑐𝑐 =�𝑐𝑐 , … ,𝑐𝑐 � and
- 13.11 Fixed-weight-vector generation
- 13.12 Encapsulation
- 13.13 Decapsulation
- 5. Compute 𝐶𝐶
- 13.14 Choices of symmetric-cryptography parameters
- 13.15 Representation of objects as Uint8 strings
- 13.16 Selected parameter sets
- 14 FrodoKEM
- 14.1 General
- 14.2 Requirements
- 14.3 Symbols and abbreviations
- 14.4 Parameters
- 14.5 Supporting functions
- 1. For 𝑖𝑖 = 0 to 𝑛𝑛�− 1 do
- 2. For 𝑗𝑗 = 0 to 𝑛𝑛�− 1 do
- 3. Set
- 4. End for
- 5. End for
- 6. Return 𝑪𝑪 =�𝑪𝑪 �
- 1. For 𝑖𝑖 = 0 to 𝑛𝑛�− 1 do
- 2. For 𝑗𝑗 = 0 to 𝑛𝑛�− 1 do
- 5. For 𝑘𝑘 = 0 to 𝐵𝐵− 1 do
- 7. End for
- 8. End for
- 9. End for
- 10. Return ⟨𝑏𝑏 , … ,𝑏𝑏 ⟩
- 1. For 𝑖𝑖 = 0 to 𝑛𝑛 − 1 do
- 2. For 𝑗𝑗 = 0 to 𝑛𝑛 − 1 do
- 3. Extract bit representation 𝑐𝑐 ,𝑐𝑐 , … ,𝑐𝑐 ←𝑪𝑪 ≡ 𝑐𝑐 2 mod 𝑞𝑞
- 4. For 𝑘𝑘 = 0 to 𝐷𝐷− 1 do
- 6. End for
- 7. End for
- 8. End for
- 2. For 𝑖𝑖 = 0 to 𝑛𝑛 − 1 do
- 3. For 𝑗𝑗 = 0 to 𝑛𝑛 − 1 do
- 5. End for
- 6. End for
- 7. Output 𝑪𝑪
- 3. For 𝑖𝑖 = 0 to 𝑑𝑑− 1 do
- 5. End for
- 7. Output 𝑒𝑒
- 1. For 𝑖𝑖 = 0 to 𝑛𝑛 − 1 do
- 2. For 𝑗𝑗 = 0 to 𝑛𝑛 − 1 do
- 4. End for
- 5. End for
- 6. Output 𝑺𝑺
- 1. For 𝑖𝑖 = 0 to 𝑛𝑛− 1 do
- 2. For 𝑗𝑗 = 0 to 𝑛𝑛− 1 step 8 do
- 5. For 𝑘𝑘 = 0 to 7 do
- 7. End for
- 8. End for
- 9. End for
- 10. Output 𝑨𝑨 =�𝑨𝑨 �
- 1. For 𝑖𝑖 = 0 to 𝑛𝑛− 1 do
- 4. For 𝑗𝑗 = 0 to 𝑛𝑛− 1 do
- 6. End for
- 7. End for
- 8. Output 𝑨𝑨 =�𝑨𝑨 �
- 14.6 Key generation
- 2. Generate pseudorandom seed seed ← SHAKE256𝑧𝑧, len
- 3. Generate the matrix 𝑨𝑨← Frodo.Gen seed
- 4. Generate pseudorandom bit string �𝑟𝑟 ,𝑟𝑟 , … ,𝑟𝑟 �← SHAKE256(0x5𝐹𝐹||seed , 32𝑛𝑛𝑛𝑛�)
- 5. Sample error matrix 𝑺𝑺 ← Frodo.SampleMatrix��𝑟𝑟 ,𝑟𝑟 , … ,𝑟𝑟 �,𝑛𝑛�,𝑛𝑛�
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 or www.iec.ch/members_experts/refdocs). ISO and IEC draw attention to the possibility that the implementation of this document may involve the use of (a) patent(s). ISO and IEC take no position concerning the evidence, validity or applicability of any claimed patent rights in respect thereof. As of the date of publication of this document, ISO and IEC had received notice of (a) patent(s) which may be required to implement this document. However, implementers are cautioned that this may not represent the latest information, which may be obtained from the patent database available at www.iso.org/patents and https://patents.iec.ch. ISO and IEC shall not be held responsible for identifying any or all such patent rights.
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. In the IEC, see www.iec.ch/understanding-standards. 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 18033 series can be found on the ISO and IEC websites. 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 and www.iec.ch/nationalcommittees.
ISO/IEC 18033-2:2006/Amd. 2:2026(en)
Information technology — Security techniques — Encryption algorithms — Part 2:
Asymmetric ciphers AMENDMENT 2
Replace text in the following clause:
Clause 2 Normative references Replace ISO/IEC 10118-3:2004, IT Security techniques — Hash-functions — Part 3: Dedicated hash-functions with ISO/IEC 10118-3:2018, IT Security techniques — Hash-functions — Part 3: Dedicated hash-functions Replace ISO/IEC 18033-3:2005, Information technology — Security techniques — Encryption algorithms — Part 3:
Block ciphers with ISO/IEC 18033-3:2010, Information technology — Security techniques — Encryption algorithms — Part 3:
Block ciphers
Clause 8 Generic hybrid ciphers Replace the first four bullet points in 8.1.2 with the following bullet points:
- ECIES-KEM (described in 10.2),
- PSEC-KEM (described in 10.3),
- ACE-KEM (described in 10.4),
- FACE-KEM (described in 10.5),
- RSA-KEM (described in 11.5),
- Classic McEliece KEM (described in Clause 13),
- FrodoKEM (described in Clause 14), and
ISO/IEC 18033-2:2006/Amd. 2:2026(en) - ML-KEM (described in Clause 15).
After Clause 12 Add the following new clauses after Clause 12:
13 The Classic McEliece KEM
13.1 General
This clause defines the Classic McEliece KEM. This KEM consists of three mathematical functions, namely CM.KeyGen, CM.Encap, and CM.Decap, for each of the “selected parameter sets” listed in 13.16. CM.Encrypt is a synonym for CM.Encap, and CM.Decrypt is a synonym for CM.Decap. A broader parameter space for Classic McEliece is specified in 13.3. For each parameter set in that parameter space, subsequent subclauses define - exactly which public key and private key are output by CM.KeyGen given random bits; - exactly which ciphertext and session key are output by CM.Encap given a public key and random bits; and - exactly which session key is output by CM.Decap given a ciphertext and a private key. These subclauses define each mathematical function 𝐹𝐹 by presenting an algorithm to compute 𝐹𝐹. Basic algorithms such as Gaussian elimination are not repeated here, but CM.MatGen, CM.Encode, CM.Decode, CM.Irreducible , CM.FieldOrdering , CM.SeededKeyGen , CM.FixedWeight , CM.KeyGen , CM.Encap, and CM.Decap are specified as numbered lists of steps. See Annex D for a reference to a guide for implementors. Stating that an algorithm 𝐴𝐴 computes a mathematical function 𝐹𝐹 means the following: the domain of 𝐹𝐹 is the set of pairs (𝐼𝐼,𝑅𝑅) such that 𝐼𝐼 is the input consumed by a run of 𝐴𝐴 and 𝑅𝑅 is the string of random bits generated by that run of 𝐴𝐴; 𝐹𝐹(𝐼𝐼,𝑅𝑅) is the output of that run of 𝐴𝐴, or the symbol ∞ if that run of 𝐴𝐴 does not halt. EXAMPLE 1 The CM.KeyGen algorithm reads exactly ℓ random bits, so the domain of the mathematical function CM.KeyGen is the set of ℓ-bit strings. Here ℓ, one of the Classic McEliece parameters, is 256 for each of the selected parameter sets.
EXAMPLE 2 The algorithm CM.FixedWeight is a rejection-sampling algorithm, and the number of random bits it
uses can vary from one run of the algorithm to another. The pairs 𝐼𝐼,𝑅𝑅 in the domain of the function computed by this algorithm have exactly the same variations in the lengths of 𝑅𝑅. The algorithm halts with probability 1 for independent uniformly distributed random bits. In the non-halting cases, 𝑅𝑅 has infinite length. NOTE 1 If an algorithm 𝐴𝐴 is deterministic, i.e., does not consume random bits, then the string 𝑅𝑅 of random bits generated by a run of 𝐴𝐴 is the empty string.
NOTE 2 Any change in the observed behaviour of an algorithm, where the observations consist of the input, the random bits used, and the output, is a change in the mathematical function computed by the algorithm. For example, if algorithms 𝐴𝐴 and 𝐵𝐵 are almost identical but 𝐵𝐵 generates and discards some extra bits beyond what 𝐴𝐴 uses, then the string of random bits used is longer for 𝐵𝐵 than for 𝐴𝐴, so 𝐴𝐴 and 𝐵𝐵 are not computing the same mathematical function.
Clause 13 consistently uses indices numbered from 0, including row indices, column indices, and 𝛼𝛼 indices. NOTE 3 Conventions in the mathematical literature sometimes number indices from 0, but sometimes do not:
for example, polynomial exponents are conventionally numbered from 0, while most vectors not related to
ISO/IEC 18033-2:2006/Amd. 2:2026(en) polynomial exponents are conventionally numbered from 1.
Throughout Clause 13, 𝔽𝔽 means a finite field with 𝑟𝑟 elements, where 𝑟𝑟 is a power of 2. 𝑟𝑟 𝑛𝑛 Elements of 𝔽𝔽 , such as codewords and error vectors, are treated as column vectors.
NOTE 4 This convention avoids all transpositions. This differs from a common convention in coding theory, namely to write codewords as row vectors but to transpose the codewords for applying parity checks.
13.2 Requirements
To claim conformance to this document regarding Classic McEliece, an algorithm shall (1) name either CM.KeyGen or CM.Encap or CM.Decap; (2) identify a parameter set listed in 13.16 (not another parameter set from 13.3); and (3) compute exactly the corresponding mathematical function defined in this document for that parameter set.
For example, a CM.KeyGen implementation claimed to conform to this document for the mceliece6960119 parameter set shall compute the specified CM.KeyGen function for that parameter set: i.e., the implementation shall read exactly ℓ = 256 bits of randomness, and shall produce the same output that the CM.KeyGen algorithm specified below produces given the same 256-bit string. Conformance to this document for a tuple of three Classic McEliece algorithms, one for each of CM.KeyGen and CM.Encap and CM.Decap, is defined as conformance to this document for each algorithm, and again shall identify a parameter set listed in 13.16.
Conformant implementations shall use the encodings specified in Clause 13. NOTE 1 Clause 13 does not allow the format flexibility described in 7.3.
NOTE 2 Users sometimes place further constraints on algorithms, for example to include various side-channel
countermeasures (which could use their own random bits) or to achieve particular levels of performance. Such constraints are out of scope here. Clause 13 defines the mathematical functions to be computed; it does not constrain how these functions are computed.
13.3 Parameters
The CM parameters are implicit inputs to the CM algorithms defined below. A CM parameter set specifies the following:
𝑚𝑚 - A positive integer 𝑚𝑚. This also defines a parameter 𝑞𝑞 = 2 . - A positive integer 𝑛𝑛 with 𝑛𝑛≤𝑞𝑞.
- A positive integer 𝑡𝑡≥ 2 with 𝑚𝑚𝑡𝑡 <𝑛𝑛. This also defines a parameter 𝑘𝑘 =𝑛𝑛−𝑚𝑚𝑡𝑡.
- A monic irreducible polynomial 𝑓𝑓(𝑧𝑧)∈𝔽𝔽 [𝑧𝑧] of degree 𝑚𝑚. This defines a representation 𝔽𝔽 [𝑧𝑧]/𝑓𝑓(𝑧𝑧) of 2 2 the field 𝔽𝔽 .
𝑞𝑞 - A monic irreducible polynomial 𝐹𝐹(𝑦𝑦)∈𝔽𝔽 [𝑦𝑦] of degree 𝑡𝑡. This defines a representation 𝔽𝔽 [𝑦𝑦]/𝐹𝐹(𝑦𝑦) of 𝑞𝑞 𝑞𝑞 the field 𝔽𝔽 𝑡𝑡 =𝔽𝔽 𝑚𝑚𝑡𝑡.
𝑞𝑞 2 - Integers 𝜈𝜈≥𝜇𝜇≥ 0 with 𝜈𝜈≤𝑘𝑘 +𝜇𝜇. Parameter sets that do not mention these parameters define them as (0,0) by default.
ISO/IEC 18033-2:2006/Amd. 2:2026(en) - The symmetric-cryptography parameters, which are the following:
- A positive integer ℓ.
- A cryptographic hash function Hash that outputs ℓ bits.
- An integer 𝜎𝜎 ≥𝑚𝑚.
- An integer 𝜎𝜎 ≥ 2𝑚𝑚.
- A pseudorandom bit generator PRG mapping a string of ℓ bits to a string of 𝑛𝑛 +𝜎𝜎𝑞𝑞 +𝜎𝜎𝑡𝑡 +ℓ bits. 2 1 - Each parameter set is also labeled as either a pc parameter set or a non-pc parameter set. NOTE pc is also referred to in the literature as "plaintext confirmation".
13.4 Matrix reduction
13.4.1 Reduced row-echelon form
Saying that a matrix 𝑅𝑅 is in “reduced row-echelon form” means that there is a sequence of column indices 𝑐𝑐 <𝑐𝑐 <⋯ <𝑐𝑐 such that:
0 1 𝑟𝑟−1 - row 0 of 𝑅𝑅 begins with a 1 in column 𝑐𝑐 , and this is the only nonzero entry in column 𝑐𝑐 ; 0 0 - row 1 of 𝑅𝑅 begins with a 1 in column 𝑐𝑐 , the only nonzero entry in column 𝑐𝑐 ; 1 1 - row 2 of 𝑅𝑅 begins with a 1 in column 𝑐𝑐 , the only nonzero entry in column 𝑐𝑐 ; 2 2 - etc; - row 𝑟𝑟− 1 of 𝑅𝑅 begins with a 1 in column 𝑐𝑐 , the only nonzero entry in column 𝑐𝑐 ; and 𝑟𝑟−1 𝑟𝑟−1 - all subsequent rows of 𝑅𝑅 are 0.
NOTE 1 The rank of 𝑅𝑅 is 𝑟𝑟.
NOTE 2 Gaussian elimination is a well-known algorithm that, given a matrix 𝑋𝑋, computes the unique matrix 𝑅𝑅 in reduced row-echelon form having the same number of rows as 𝑋𝑋 and the same row space as 𝑋𝑋.
13.4.2 Systematic form
As a special case of reduced row-echelon form, saying that a matrix 𝑅𝑅 is in “systematic form” means that - 𝑅𝑅 has exactly 𝑟𝑟 rows, i.e., there are no zero rows; and - 𝑐𝑐 =𝑖𝑖 for 0≤𝑖𝑖 <𝑟𝑟.
𝑖𝑖 NOTE 1 The second condition is equivalent to saying 𝑐𝑐 =𝑟𝑟− 1, except in the degenerate case 𝑟𝑟 = 0. 𝑟𝑟−1 NOTE 2 𝑅𝑅 is in systematic form if and only if 𝑅𝑅 has the form (𝐼𝐼 |𝑇𝑇), where 𝐼𝐼 is an 𝑟𝑟 ×𝑟𝑟 identity matrix. 𝑟𝑟 𝑟𝑟 “Row-reducing a matrix 𝑋𝑋 to systematic form” means computing the unique systematic-form matrix having the same row space as 𝑋𝑋, if such a matrix exists.
ISO/IEC 18033-2:2006/Amd. 2:2026(en) See Annex D for a reference to a guide for implementors.
13.4.3 Semi-systematic form
The following generalization of the concept of systematic form uses two integer parameters 𝜇𝜇,𝜈𝜈 satisfying 𝜈𝜈≥𝜇𝜇≥ 0.
Let 𝑅𝑅 be a rank-𝑟𝑟 matrix in reduced row-echelon form. Assume that 𝑟𝑟≥𝜇𝜇, and that there are at least 𝑟𝑟−𝜇𝜇 +𝜈𝜈 columns.
We say that 𝑅𝑅 is in “𝜇𝜇,𝜈𝜈 -semi-systematic form” if 𝑅𝑅 has 𝑟𝑟 rows (i.e. no zero rows); 𝑐𝑐 =𝑖𝑖 for 0≤𝑖𝑖 <𝑟𝑟−𝜇𝜇; 𝑖𝑖 and 𝑐𝑐 ≤𝑖𝑖−𝜇𝜇 +𝜈𝜈 for 0≤𝑖𝑖 <𝑟𝑟.
𝑖𝑖 NOTE 1 The 𝑐𝑐 conditions are equivalent to 𝑐𝑐 =𝑟𝑟−𝜇𝜇− 1 and 𝑐𝑐 ≤𝑟𝑟−𝜇𝜇 +𝜈𝜈− 1 except in the
𝑖𝑖 𝑟𝑟−𝜇𝜇−1 𝑟𝑟−1 degenerate case 𝑟𝑟 =𝜇𝜇.
NOTE 2 As a special case, 𝜇𝜇,𝜈𝜈 -semi-systematic form is equivalent to systematic form if 𝜇𝜇 =𝜈𝜈. However, if
𝜈𝜈 >𝜇𝜇 > 0 then 𝜇𝜇,𝜈𝜈 -semi-systematic form allows more matrices than systematic form.
“Row-reducing a matrix 𝑋𝑋 to 𝜇𝜇,𝜈𝜈 -semi-systematic form” means computing the unique 𝜇𝜇,𝜈𝜈 -semisystematic-form matrix having the same row space as 𝑋𝑋, if such a matrix exists. This specification gives various definitions first for the simpler case (𝜇𝜇,𝜈𝜈) = (0,0) and then for the general case. The list of selected parameter sets provides, for each key size, one parameter set with (𝜇𝜇,𝜈𝜈) = (0,0), and one parameter set labeled “f” with (𝜇𝜇,𝜈𝜈) = (32,64).
See Annex D for a guide for implementors.
13.5 Matrix generation for Goppa codes
13.5.1 General
The following algorithm CM.MatGen takes as input 𝛤𝛤 = 𝑔𝑔,𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 where 0 1 𝑛𝑛−1
- 𝑔𝑔 is a monic irreducible polynomial in 𝔽𝔽 𝑥𝑥 of degree 𝑡𝑡 and 𝑞𝑞
- 𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 are distinct elements of 𝔽𝔽 .
0 1 𝑛𝑛−1 𝑞𝑞 The output CM.MatGen(𝛤𝛤) is defined first in the simpler case of systematic form, and then in the general case
of semi-systematic form. The output is either ⊥ or a 𝜇𝜇 + 2 -tuple 𝑇𝑇, … , where 𝑇𝑇 is the CM public key, an 𝑚𝑚𝑡𝑡 ×𝑘𝑘 matrix over 𝔽𝔽 .
13.5.2 Systematic form
For 𝜇𝜇,𝜈𝜈 = 0,0 , the output CM.MatGen𝛤𝛤 is either ⊥ or of the form 𝑇𝑇,𝛤𝛤 , where 𝑇𝑇 is an 𝑚𝑚𝑡𝑡 ×𝑘𝑘 matrix . The algorithm is as follows:
over 𝔽𝔽
𝑖𝑖 1. Compute the 𝑡𝑡 ×𝑛𝑛 matrix 𝑀𝑀 =�ℎ � over 𝔽𝔽 , where ℎ =𝛼𝛼 /𝑔𝑔�𝛼𝛼� for 𝑖𝑖 = 0, … ,𝑡𝑡− 1 and 𝑗𝑗 = 0, … ,𝑛𝑛− 1. 𝑖𝑖,𝑗𝑗 𝑞𝑞 𝑖𝑖,𝑗𝑗 𝑗𝑗 𝑗𝑗 𝑚𝑚−1 2. Form an 𝑚𝑚𝑡𝑡 ×𝑛𝑛 matrix 𝑁𝑁 over 𝔽𝔽 by replacing each entry 𝑢𝑢 +𝑢𝑢𝑧𝑧 +⋯ +𝑢𝑢 𝑧𝑧 of 𝑀𝑀 with a column 2 0 1 𝑚𝑚−1 of 𝑚𝑚 bits 𝑢𝑢 ,𝑢𝑢 , … ,𝑢𝑢 .
0 1 𝑚𝑚−1 3. Row-reduce 𝑁𝑁 to systematic form (𝐼𝐼 |𝑇𝑇), where 𝐼𝐼 is the 𝑚𝑚𝑡𝑡 ×𝑚𝑚𝑡𝑡 identity matrix over 𝔽𝔽 . If this fails, 𝑚𝑚𝑚𝑚 𝑚𝑚𝑚𝑚 2 return ⊥.
ISO/IEC 18033-2:2006/Amd. 2:2026(en) 4. Return (𝑇𝑇,𝛤𝛤).
13.5.3 Semi-systematic form
For general (𝜇𝜇,𝜈𝜈), the output CM.MatGen(𝛤𝛤) is either ⊥ or a (𝜇𝜇 + 2)-tuple of the form
, … ,𝑐𝑐 ,𝛤𝛤�, where �𝑇𝑇,𝑐𝑐 𝑚𝑚𝑚𝑚−𝜇𝜇 𝑚𝑚𝑚𝑚−1 - 𝑇𝑇 is an 𝑚𝑚𝑡𝑡 ×𝑘𝑘 matrix over 𝔽𝔽 ;
- 𝑐𝑐 , … ,𝑐𝑐 are integers with 𝑚𝑚𝑡𝑡−𝜇𝜇≤𝑐𝑐 <𝑐𝑐 <⋯ <𝑐𝑐 <𝑚𝑚𝑡𝑡−𝜇𝜇 +𝜈𝜈; 𝑚𝑚𝑚𝑚−𝜇𝜇 𝑚𝑚𝑚𝑚−1 𝑚𝑚𝑚𝑚−𝜇𝜇 𝑚𝑚𝑚𝑚−𝜇𝜇+1 𝑚𝑚𝑚𝑚−1
- 𝛤𝛤 = (𝑔𝑔,𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 ); 0 1 𝑛𝑛−1
- 𝑔𝑔 is the same as in the input; and
- 𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 are distinct elements of 𝔽𝔽 .
𝑞𝑞 0 1 𝑛𝑛−1 The algorithm is as follows:
𝑖𝑖 1. Compute the 𝑡𝑡 ×𝑛𝑛 matrix 𝑀𝑀 =�ℎ � over 𝔽𝔽 , where ℎ =𝛼𝛼 /𝑔𝑔�𝛼𝛼� for 𝑖𝑖 = 0, … ,𝑡𝑡− 1 and 𝑗𝑗 = 0, … ,𝑛𝑛− 1. 𝑖𝑖,𝑗𝑗 𝑞𝑞 𝑖𝑖,𝑗𝑗 𝑗𝑗 𝑗𝑗 𝑚𝑚−1 2. Form an 𝑚𝑚𝑡𝑡 ×𝑛𝑛 matrix 𝑁𝑁 over 𝔽𝔽 by replacing each entry 𝑢𝑢 +𝑢𝑢𝑧𝑧 +⋯ +𝑢𝑢 𝑧𝑧 of 𝑀𝑀 with a column 2 0 1 𝑚𝑚−1 of 𝑚𝑚 bits 𝑢𝑢 ,𝑢𝑢 , … ,𝑢𝑢 .
0 1 𝑚𝑚−1 3. Row-reduce 𝑁𝑁 to (𝜇𝜇,𝜈𝜈)-semi-systematic form, obtaining a matrix 𝐻𝐻; if this fails, return ⊥. Define 𝑐𝑐 such 𝑖𝑖 that row 𝑖𝑖 has its leading 1 in column 𝑐𝑐 . (By definition of semi-systematic form, 𝑐𝑐 =𝑖𝑖 for 0≤𝑖𝑖 <𝑚𝑚𝑡𝑡− 𝑖𝑖 𝑖𝑖 𝜇𝜇; and 𝑚𝑚𝑡𝑡−𝜇𝜇≤𝑐𝑐 <𝑐𝑐 <⋯ <𝑐𝑐 <𝑚𝑚𝑡𝑡−𝜇𝜇 +𝜈𝜈. The matrix 𝐻𝐻 is a variable that can 𝑚𝑚𝑚𝑚−𝜇𝜇 𝑚𝑚𝑚𝑚−𝜇𝜇+1 𝑚𝑚𝑚𝑚−1 change later.)
4. Set (𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 )← (𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 ). (Each 𝛼𝛼 is a variable that can change later.)
0 1 𝑛𝑛−1 0 1 𝑛𝑛−1 𝑖𝑖 5. For 𝑖𝑖 =𝑚𝑚𝑡𝑡−𝜇𝜇, then 𝑖𝑖 =𝑚𝑚𝑡𝑡−𝜇𝜇 + 1, and so on through 𝑖𝑖 =𝑚𝑚𝑡𝑡− 1, in this order: swap column 𝑖𝑖 with
column 𝑐𝑐 in 𝐻𝐻, while swapping 𝛼𝛼 with 𝛼𝛼 . (After the swap, row 𝑖𝑖 has its leading 1 in column 𝑖𝑖. The swap 𝑖𝑖 𝑐𝑐 𝑖𝑖 𝑖𝑖 does nothing if 𝑐𝑐 =𝑖𝑖.) 𝑖𝑖 6. The matrix 𝐻𝐻 now has systematic form (𝐼𝐼 |𝑇𝑇), where 𝐼𝐼 is the 𝑚𝑚𝑡𝑡 ×𝑚𝑚𝑡𝑡 identity matrix over 𝔽𝔽 . Return 𝑚𝑚𝑚𝑚 𝑚𝑚𝑚𝑚 2
�𝑇𝑇,𝑐𝑐 , … ,𝑐𝑐 ,𝛤𝛤� where 𝛤𝛤 = 𝑔𝑔,𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 .
𝑚𝑚𝑚𝑚−𝜇𝜇 𝑚𝑚𝑚𝑚−1 0 1 𝑛𝑛−1
NOTE In the special case 𝜇𝜇,𝜈𝜈 = 0,0 , the 𝑐𝑐 , … ,𝑐𝑐 portion of the output is empty, and the 𝑖𝑖 𝑚𝑚𝑚𝑚−𝜇𝜇 𝑚𝑚𝑚𝑚−1
loop is empty, so 𝛤𝛤 is guaranteed to be the same as 𝛤𝛤. The reduction to (0,0)-semi-systematic form is exactly reduction to systematic form. The general algorithm definition thus matches the (0,0) algorithm definition.
13.6 Encoding subroutine
𝑛𝑛 The following algorithm CM.Encode takes two inputs: a column vector 𝑒𝑒∈𝔽𝔽 of Hamming weight 𝑡𝑡 and a
𝑚𝑚𝑚𝑚 public key 𝑇𝑇, i.e. an 𝑚𝑚𝑡𝑡 ×𝑘𝑘 matrix over 𝔽𝔽 . The algorithm output CM.Encode(𝑒𝑒,𝑇𝑇) is a vector 𝐶𝐶∈𝔽𝔽 . The
algorithm is as follows:
1. Define 𝐻𝐻 = 𝐼𝐼 |𝑇𝑇 .
𝑚𝑚𝑚𝑚 𝑚𝑚𝑚𝑚 2. Compute and return 𝐶𝐶 =𝐻𝐻𝑒𝑒∈𝔽𝔽 .
ISO/IEC 18033-2:2006/Amd. 2:2026(en)
13.7 Decoding subroutine
𝑚𝑚𝑚𝑚 ′ The following algorithm CM.Decode takes two inputs: a vector 𝐶𝐶∈𝔽𝔽 ; and 𝛤𝛤 , the last component of
CM.MatGen𝛤𝛤 for some 𝛤𝛤 such that CM.MatGen𝛤𝛤 ≠⊥. Write 𝑇𝑇 for the first component of CM.MatGen𝛤𝛤 . By definition of CM.MatGen, - 𝑇𝑇 is an 𝑚𝑚𝑡𝑡 ×𝑘𝑘 matrix over 𝔽𝔽 ;
- 𝛤𝛤 has the form (𝑔𝑔,𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 ); 0 1 𝑛𝑛−1
- 𝑔𝑔 is a monic irreducible polynomial in 𝔽𝔽 [𝑥𝑥] of degree 𝑡𝑡; and 𝑞𝑞
- 𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 are distinct elements of 𝔽𝔽 .
0 1 𝑛𝑛−1 𝑞𝑞
There are two possibilities for CM.Decode�𝐶𝐶,𝛤𝛤�:
- If 𝐶𝐶 = CM.Encode𝑒𝑒,𝑇𝑇 then CM.Decode𝐶𝐶,𝛤𝛤 =𝑒𝑒. In other words, if there exists a weight-𝑡𝑡 vector 𝑒𝑒∈ 𝑛𝑛 ′ 𝔽𝔽 such that 𝐶𝐶 =𝐻𝐻𝑒𝑒, where 𝐻𝐻 is defined as (𝐼𝐼 |𝑇𝑇), then CM.Decode�𝐶𝐶,𝛤𝛤� =𝑒𝑒. 𝑚𝑚𝑚𝑚
𝑛𝑛 ′ - If 𝐶𝐶 does not have the form 𝐻𝐻𝑒𝑒 for any weight-𝑡𝑡 vector 𝑒𝑒∈𝔽𝔽 , then CM.Decode�𝐶𝐶,𝛤𝛤� =⊥.
The algorithm is as follows:
𝑛𝑛 1. Extend 𝐶𝐶 to 𝑣𝑣 = (𝐶𝐶, 0, … ,0)∈𝔽𝔽 by appending 𝑘𝑘 zeros.
𝑛𝑛 2. Find the unique 𝑐𝑐∈𝔽𝔽 such that (1) 𝐻𝐻𝑐𝑐 = 0 and (2) 𝑐𝑐 has Hamming distance ≤𝑡𝑡 from 𝑣𝑣. If there is no
such 𝑐𝑐, return ⊥. (See Annex D for a guide for implementors.) 3. Set 𝑒𝑒 =𝑣𝑣 +𝑐𝑐.
4. If wt(𝑒𝑒) =𝑡𝑡 and 𝐶𝐶 =𝐻𝐻𝑒𝑒, return 𝑒𝑒. Otherwise return ⊥.
13.8 Irreducible-polynomial generation
The following algorithm CM.Irreducible takes a string of 𝜎𝜎𝑡𝑡 input bits 𝑑𝑑 ,𝑑𝑑 , … ,𝑑𝑑 . It outputs either ⊥ or 1 0 1 𝜎𝜎𝑚𝑚−1
a monic irreducible degree-𝑡𝑡 polynomial 𝑔𝑔∈𝔽𝔽 [𝑥𝑥]. The algorithm is as follows:
𝑞𝑞 𝑚𝑚−1 𝑖𝑖
1. Define 𝛽𝛽 =∑ 𝑑𝑑 𝑧𝑧 for each 𝑗𝑗∈ 0,1, … ,𝑡𝑡− 1 . (Within each group of 𝜎𝜎 input bits, this uses only 𝑗𝑗 𝜎𝜎𝑗𝑗+𝑖𝑖 1 𝑖𝑖=0
the first 𝑚𝑚 bits. The algorithm ignores the remaining bits.) 𝑚𝑚−1 2. Define 𝛽𝛽 =𝛽𝛽 +𝛽𝛽𝑦𝑦 +⋯ +𝛽𝛽 𝑦𝑦 ∈𝔽𝔽 [𝑦𝑦]/𝐹𝐹(𝑦𝑦).
0 1 𝑚𝑚−1 𝑞𝑞
3. Compute the minimal polynomial 𝑔𝑔 of 𝛽𝛽 over 𝔽𝔽 . (By definition 𝑔𝑔 is monic and irreducible, and 𝑔𝑔𝛽𝛽 = 𝑞𝑞
0. See Annex D for a guide for implementors.)
4. Return 𝑔𝑔 if 𝑔𝑔 has degree 𝑡𝑡. Otherwise return ⊥.
13.9 Field-ordering generation
The following algorithm CM.FieldOrdering takes a string of 𝜎𝜎𝑞𝑞 input bits. It outputs either ⊥ or a sequence
�𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 � of 𝑞𝑞 distinct elements of 𝔽𝔽 . The algorithm is as follows:
0 1 𝑞𝑞−1 𝑞𝑞
ISO/IEC 18033-2:2006/Amd. 2:2026(en) 𝜎𝜎−1
1. Take the first 𝜎𝜎 input bits 𝑏𝑏 ,𝑏𝑏 , … ,𝑏𝑏 as a 𝜎𝜎 -bit integer 𝑎𝑎 =𝑏𝑏 + 2𝑏𝑏 +⋯ + 2 𝑏𝑏 , take the 2 0 1 𝜎𝜎−1 2 0 0 1 𝜎𝜎−1 2 2 next 𝜎𝜎 bits as a 𝜎𝜎 -bit integer 𝑎𝑎 , and so on through 𝑎𝑎 .
2 2 1 𝑞𝑞−1 2. If 𝑎𝑎 ,𝑎𝑎 , … ,𝑎𝑎 are not distinct, return ⊥.
0 1 𝑞𝑞−1
3. Sort the pairs 𝑎𝑎 ,𝑖𝑖 in lexicographic order to obtain pairs �𝑎𝑎 ,𝜋𝜋𝑖𝑖� where 𝜋𝜋 is a permutation of 𝑖𝑖 𝜋𝜋(𝑖𝑖) {0,1, … ,𝑞𝑞− 1}.
𝑚𝑚−1 𝑚𝑚−1−𝑗𝑗
4. Define 𝛼𝛼 = 𝜋𝜋𝑖𝑖 ⋅𝑧𝑧 where 𝜋𝜋𝑖𝑖 denotes the 𝑗𝑗th least significant bit of 𝜋𝜋𝑖𝑖 . (Recall that the 𝑖𝑖 𝑗𝑗 𝑗𝑗 𝑗𝑗=0 is constructed as 𝔽𝔽 [𝑧𝑧]/𝑓𝑓(𝑧𝑧).) finite field 𝔽𝔽 𝑞𝑞 2 5. Output �𝛼𝛼 ,𝛼𝛼 , … ,𝛼𝛼 �.
0 1 𝑞𝑞−1
13.10 Key generation
13.10.1 CM.KeyGen
The following randomized algorithm CM.KeyGen takes no input (beyond the parameters). It outputs a public key and private key. The algorithm is as follows, using a subroutine CM.SeededKeyGen defined below:
1. Generate a uniform random ℓ-bit string 𝛿𝛿. (This is called a seed.)
2. Output CM.SeededKeyGen(𝛿𝛿).
...



