New Cryptographic Algorithms for HIP
draft-moskowitz-hip-new-crypto-08
HIP R. Moskowitz
Internet-Draft HTT Consulting
Updates: 7401, 7402 (if approved) S. Card
Intended status: Standards Track A. Wiethuechter
Expires: 24 July 2021 AX Enterprize
20 January 2021
New Cryptographic Algorithms for HIP
draft-moskowitz-hip-new-crypto-08
Abstract
This document provides new cryptographic algorithms to be used with
HIP. The Edwards Elliptic Curve and the Keccak sponge functions are
the main focus. The HIP parameters and processing instructions
impacted by these algorithms are defined.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on 24 July 2021.
Copyright Notice
Copyright (c) 2021 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document. Code Components
extracted from this document must include Simplified BSD License text
as described in Section 4.e of the Trust Legal Provisions and are
provided without warranty as described in the Simplified BSD License.
Moskowitz, et al. Expires 24 July 2021 [Page 1]
Internet-Draft HIP New Crypto January 2021
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Terms and Definitions . . . . . . . . . . . . . . . . . . . . 3
2.1. Requirements Terminology . . . . . . . . . . . . . . . . 3
2.2. Definitions . . . . . . . . . . . . . . . . . . . . . . . 3
3. HIP Parameter values for new Cryptographic Functions . . . . 4
3.1. Elliptic Curves for Diffie-Hellman . . . . . . . . . . . 4
3.1.1. DIFFIE_HELLMAN . . . . . . . . . . . . . . . . . . . 5
3.2. Edward Digital Signature Algorithm for HITs . . . . . . . 5
3.2.1. HOST_ID . . . . . . . . . . . . . . . . . . . . . . . 5
3.2.2. HIT_SUITE_LIST . . . . . . . . . . . . . . . . . . . 6
3.3. Hashing in HIP . . . . . . . . . . . . . . . . . . . . . 7
3.3.1. Hashing with the Sponge Functions . . . . . . . . . . 7
3.3.2. RHASH . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3.3. HIP_MAC and HIP_MAC2 . . . . . . . . . . . . . . . . 8
3.4. HIP Cipher . . . . . . . . . . . . . . . . . . . . . . . 9
3.4.1. HIP_CIPHER . . . . . . . . . . . . . . . . . . . . . 9
3.5. ESP Transform . . . . . . . . . . . . . . . . . . . . . . 9
3.5.1. ESP_TRANSFORM . . . . . . . . . . . . . . . . . . . . 10
4. Generating a HIT from an HI . . . . . . . . . . . . . . . . . 10
5. HIP KEYMAT Generation . . . . . . . . . . . . . . . . . . . . 10
5.1. The Keccak KEYMAT . . . . . . . . . . . . . . . . . . . . 11
5.2. The Xoodyak KEYMAT . . . . . . . . . . . . . . . . . . . 11
6. Pseudorandom Function (PRF) . . . . . . . . . . . . . . . . . 12
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 12
8. Security Considerations . . . . . . . . . . . . . . . . . . . 12
8.1. Keymat vulnerabilities . . . . . . . . . . . . . . . . . 12
8.2. KMAC Security as a KDF . . . . . . . . . . . . . . . . . 13
9. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 13
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 13
10.1. Normative References . . . . . . . . . . . . . . . . . . 13
10.2. Informative References . . . . . . . . . . . . . . . . . 14
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 16
1. Introduction
This document adds new cryptographic algorithms for HIPv2 [RFC7401]
and [RFC7402]. This includes:
* New elliptic curves for ECDH.
* The Edwards Elliptic Curve Digital Signature Algorithm (EdDSA)
used in Host Identities (HI) and for Base Exchange (BEX)
Show full document text