Refresh IETF client/server models
[netconf.git] / transport / transport-ssh / src / main / yang / iana-ssh-encryption-algs@2024-02-08.yang
1 module iana-ssh-encryption-algs {
2   yang-version 1.1;
3   namespace "urn:ietf:params:xml:ns:yang:iana-ssh-encryption-algs";
4   prefix sshea;
5
6   organization
7     "Internet Assigned Numbers Authority (IANA)";
8
9   contact
10     "Postal: ICANN
11              12025 Waterfront Drive, Suite 300
12              Los Angeles, CA  90094-2536
13              United States of America
14      Tel:    +1 310 301 5800
15      Email:  iana@iana.org";
16
17   description
18     "This module defines identities for the encryption algorithms
19      defined in the 'Encryption Algorithm Names' sub-registry of the
20      'Secure Shell (SSH) Protocol Parameters' registry maintained
21      by IANA.
22
23      Copyright (c) 2024 IETF Trust and the persons identified as
24      authors of the code. All rights reserved.
25
26      Redistribution and use in source and binary forms, with
27      or without modification, is permitted pursuant to, and
28      subject to the license terms contained in, the Revised
29      BSD License set forth in Section 4.c of the IETF Trust's
30      Legal Provisions Relating to IETF Documents
31      (https://trustee.ietf.org/license-info).
32
33      The initial version of this YANG module is part of RFC EEEE
34      (https://www.rfc-editor.org/info/rfcEEEE); see the RFC
35      itself for full legal notices.";
36
37   revision 2024-02-08 {
38     description
39       "Reflects contents of the encryption algorithms registry.";
40     reference
41       "RFC EEEE: YANG Groupings for SSH Clients and SSH Servers";
42   }
43
44   // Typedefs
45
46   typedef encryption-algorithm-ref {
47     type identityref {
48       base "encryption-alg-base";
49     }
50     description
51       "A reference to an SSH encryption algorithm identifier.";
52   }
53
54
55   // Identities
56
57   identity encryption-alg-base {
58     description
59       "Base identity for SSH encryption algorithms.";
60   }
61
62   identity triple-des-cbc {
63     base encryption-alg-base;
64     description
65       "Identity for the '3des-cbc' algorithm.  Section 6.3";
66     reference
67       "RFC 4253:
68          The Secure Shell (SSH) Transport Layer Protocol";
69   }
70
71   identity blowfish-cbc {
72     base encryption-alg-base;
73     description
74       "Identity for the 'blowfish-cbc' algorithm.  Section 6.3";
75     reference
76       "RFC 4253:
77          The Secure Shell (SSH) Transport Layer Protocol";
78   }
79
80   identity twofish256-cbc {
81     base encryption-alg-base;
82     description
83       "Identity for the 'twofish256-cbc' algorithm.  Section 6.3";
84     reference
85       "RFC 4253:
86          The Secure Shell (SSH) Transport Layer Protocol";
87   }
88
89   identity twofish-cbc {
90     base encryption-alg-base;
91     description
92       "Identity for the 'twofish-cbc' algorithm.  Section 6.3";
93     reference
94       "RFC 4253:
95          The Secure Shell (SSH) Transport Layer Protocol";
96   }
97
98   identity twofish192-cbc {
99     base encryption-alg-base;
100     description
101       "Identity for the 'twofish192-cbc' algorithm.  Section 6.3";
102     reference
103       "RFC 4253:
104          The Secure Shell (SSH) Transport Layer Protocol";
105   }
106
107   identity twofish128-cbc {
108     base encryption-alg-base;
109     description
110       "Identity for the 'twofish128-cbc' algorithm.  Section 6.3";
111     reference
112       "RFC 4253:
113          The Secure Shell (SSH) Transport Layer Protocol";
114   }
115
116   identity aes256-cbc {
117     base encryption-alg-base;
118     description
119       "Identity for the 'aes256-cbc' algorithm.  Section 6.3";
120     reference
121       "RFC 4253:
122          The Secure Shell (SSH) Transport Layer Protocol";
123   }
124
125   identity aes192-cbc {
126     base encryption-alg-base;
127     description
128       "Identity for the 'aes192-cbc' algorithm.  Section 6.3";
129     reference
130       "RFC 4253:
131          The Secure Shell (SSH) Transport Layer Protocol";
132   }
133
134   identity aes128-cbc {
135     base encryption-alg-base;
136     description
137       "Identity for the 'aes128-cbc' algorithm.  Section 6.3";
138     reference
139       "RFC 4253:
140          The Secure Shell (SSH) Transport Layer Protocol";
141   }
142
143   identity serpent256-cbc {
144     base encryption-alg-base;
145     description
146       "Identity for the 'serpent256-cbc' algorithm.  Section 6.3";
147     reference
148       "RFC 4253:
149          The Secure Shell (SSH) Transport Layer Protocol";
150   }
151
152   identity serpent192-cbc {
153     base encryption-alg-base;
154     description
155       "Identity for the 'serpent192-cbc' algorithm.  Section 6.3";
156     reference
157       "RFC 4253:
158          The Secure Shell (SSH) Transport Layer Protocol";
159   }
160
161   identity serpent128-cbc {
162     base encryption-alg-base;
163     description
164       "Identity for the 'serpent128-cbc' algorithm.  Section 6.3";
165     reference
166       "RFC 4253:
167          The Secure Shell (SSH) Transport Layer Protocol";
168   }
169
170   identity arcfour {
171     base encryption-alg-base;
172     status obsolete;
173     description
174       "Identity for the 'arcfour' algorithm.";
175     reference
176       "RFC 8758:
177          Deprecating RC4 in Secure Shell (SSH)";
178   }
179
180   identity idea-cbc {
181     base encryption-alg-base;
182     description
183       "Identity for the 'idea-cbc' algorithm.  Section 6.3";
184     reference
185       "RFC 4253:
186          The Secure Shell (SSH) Transport Layer Protocol";
187   }
188
189   identity cast128-cbc {
190     base encryption-alg-base;
191     description
192       "Identity for the 'cast128-cbc' algorithm.  Section 6.3";
193     reference
194       "RFC 4253:
195          The Secure Shell (SSH) Transport Layer Protocol";
196   }
197
198   identity none {
199     base encryption-alg-base;
200     description
201       "Identity for the 'none' algorithm.  Section 6.3";
202     reference
203       "RFC 4253:
204          The Secure Shell (SSH) Transport Layer Protocol";
205   }
206
207   identity des-cbc {
208     base encryption-alg-base;
209     status obsolete;
210     description
211       "Identity for the 'des-cbc' algorithm.";
212     reference
213       "FIPS-46-3:
214          Data Encryption Standard (DES)";
215   }
216
217   identity arcfour128 {
218     base encryption-alg-base;
219     status obsolete;
220     description
221       "Identity for the 'arcfour128' algorithm.";
222     reference
223       "RFC 8758:
224          Deprecating RC4 in Secure Shell (SSH)";
225   }
226
227   identity arcfour256 {
228     base encryption-alg-base;
229     status obsolete;
230     description
231       "Identity for the 'arcfour256' algorithm.";
232     reference
233       "RFC 8758:
234          Deprecating RC4 in Secure Shell (SSH)";
235   }
236
237   identity aes128-ctr {
238     base encryption-alg-base;
239     description
240       "Identity for the 'aes128-ctr' algorithm.";
241     reference
242       "RFC 4344:
243          The Secure Shell (SSH) Transport Layer Encryption Modes";
244   }
245
246   identity aes192-ctr {
247     base encryption-alg-base;
248     description
249       "Identity for the 'aes192-ctr' algorithm.";
250     reference
251       "RFC 4344:
252          The Secure Shell (SSH) Transport Layer Encryption Modes";
253   }
254
255   identity aes256-ctr {
256     base encryption-alg-base;
257     description
258       "Identity for the 'aes256-ctr' algorithm.";
259     reference
260       "RFC 4344:
261          The Secure Shell (SSH) Transport Layer Encryption Modes";
262   }
263
264   identity triple-des-ctr {
265     base encryption-alg-base;
266     description
267       "Identity for the '3des-ctr' algorithm.";
268     reference
269       "RFC 4344:
270          The Secure Shell (SSH) Transport Layer Encryption Modes";
271   }
272
273   identity blowfish-ctr {
274     base encryption-alg-base;
275     description
276       "Identity for the 'blowfish-ctr' algorithm.";
277     reference
278       "RFC 4344:
279          The Secure Shell (SSH) Transport Layer Encryption Modes";
280   }
281
282   identity twofish128-ctr {
283     base encryption-alg-base;
284     description
285       "Identity for the 'twofish128-ctr' algorithm.";
286     reference
287       "RFC 4344:
288          The Secure Shell (SSH) Transport Layer Encryption Modes";
289   }
290
291   identity twofish192-ctr {
292     base encryption-alg-base;
293     description
294       "Identity for the 'twofish192-ctr' algorithm.";
295     reference
296       "RFC 4344:
297          The Secure Shell (SSH) Transport Layer Encryption Modes";
298   }
299
300   identity twofish256-ctr {
301     base encryption-alg-base;
302     description
303       "Identity for the 'twofish256-ctr' algorithm.";
304     reference
305       "RFC 4344:
306          The Secure Shell (SSH) Transport Layer Encryption Modes";
307   }
308
309   identity serpent128-ctr {
310     base encryption-alg-base;
311     description
312       "Identity for the 'serpent128-ctr' algorithm.";
313     reference
314       "RFC 4344:
315          The Secure Shell (SSH) Transport Layer Encryption Modes";
316   }
317
318   identity serpent192-ctr {
319     base encryption-alg-base;
320     description
321       "Identity for the 'serpent192-ctr' algorithm.";
322     reference
323       "RFC 4344:
324          The Secure Shell (SSH) Transport Layer Encryption Modes";
325   }
326
327   identity serpent256-ctr {
328     base encryption-alg-base;
329     description
330       "Identity for the 'serpent256-ctr' algorithm.";
331     reference
332       "RFC 4344:
333          The Secure Shell (SSH) Transport Layer Encryption Modes";
334   }
335
336   identity idea-ctr {
337     base encryption-alg-base;
338     description
339       "Identity for the 'idea-ctr' algorithm.";
340     reference
341       "RFC 4344:
342          The Secure Shell (SSH) Transport Layer Encryption Modes";
343   }
344
345   identity cast128-ctr {
346     base encryption-alg-base;
347     description
348       "Identity for the 'cast128-ctr' algorithm.";
349     reference
350       "RFC 4344:
351          The Secure Shell (SSH) Transport Layer Encryption Modes";
352   }
353
354   identity AEAD_AES_128_GCM {
355     base encryption-alg-base;
356     description
357       "Identity for the 'AEAD_AES_128_GCM' algorithm.  Section 6.1";
358     reference
359       "RFC 5647:
360          AES Galois Counter Mode for the Secure Shell Transport Layer
361          Protocol";
362   }
363
364   identity AEAD_AES_256_GCM {
365     base encryption-alg-base;
366     description
367       "Identity for the 'AEAD_AES_256_GCM' algorithm.  Section 6.2";
368     reference
369       "RFC 5647:
370          AES Galois Counter Mode for the Secure Shell Transport Layer
371          Protocol";
372   }
373
374 }