Internet Engineering Task Force (IETF) R. Housley Request for Comments: 8619 Vigil Security Category: Standards Track June 2019 ISSN: 2070-1721Algorithm Identifiers for the HMAC-based Extract-and-Expand Key Derivation Function (HKDF)
Housley Standards Track [Page 1]
RFC 8619 HKDF OIDs June 2019
Table of Contents
1. Introduction
The HKDF algorithm [RFC5869] is a key derivation function based on the Hashed Message Authentication Code (HMAC). This document assigns algorithm identifiers to the HKDF algorithm when used with three common one-way hash functions. These algorithm identifiers are needed to make use of the HKDF in some security protocols, such as the Cryptographic Message Syntax (CMS) [RFC5652].
1.1. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.
1.2. ASN.1
In this specification, values are generated using ASN.1 [X.680] using the Basic Encoding Rules (BER) and the Distinguished Encoding Rules (DER) [X.690].
2. HKDF Algorithm Identifiers
This section assigns three algorithm identifiers to HKDF [RFC5869] used with three common one-way hash functions that are specified in [SHS]: SHA-256, SHA-384, and SHA-512. When any of these three object identifiers appear within the ASN.1 type AlgorithmIdentifier, the parameters component of that type SHALL be absent.
Housley Standards Track [Page 2]
RFC 8619 HKDF OIDs June 2019
id-alg-hkdf-with-sha256 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
3. ASN.1 Module
This section contains the ASN.1 module for the HKDF algorithm identifiers. This module imports types from other ASN.1 modules that are defined in [RFC5912].
Housley Standards Track [Page 3]
RFC 8619 HKDF OIDs June 2019
-- -- Key Derivation Algorithm Identifiers --
4. Security Considerations
Despite the simplicity of HKDF, there are many security considerations that have been taken into account in the design and analysis of this construction. An exposition of all of these aspects is well beyond the scope of this document. Please refer to [EPRINT] for detailed information, including rationale for the HKDF design.
5. IANA Considerations
One object identifier for the ASN.1 module in Section 3 was assigned in the "SMI Security for S/MIME Module Identifiers (1.2.840.113549.1.9.16.0)" registry [IANA-MOD]:
Housley Standards Track [Page 4]
RFC 8619 HKDF OIDs June 2019
id-alg-hkdf-with-sha256 OBJECT IDENTIFIER ::= { iso(1) member-body(2)6. References 6.1. Normative References[SHS] National Institute of Standards and Technology (NIST),
Housley Standards Track [Page 5]
RFC 8619 HKDF OIDs June 2019
[X.690] ITU-T, "Information technology -- ASN.1 encoding rules:
6.2. Informative References
[EPRINT] Krawczyk, H., "Cryptographic Extraction and Key