idnits 2.17.1 draft-ietf-avtcore-aria-srtp-02.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (June 05, 2013) is 3978 days in the past. Is this intentional? -- Found something which looks like a code comment -- if you have code sections in the document, please surround them with '' and '' lines. Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) -- Looks like a reference, but probably isn't: '1' on line 542 -- Looks like a reference, but probably isn't: '2' on line 571 -- Looks like a reference, but probably isn't: '3' on line 826 -- Possible downref: Non-RFC (?) normative reference: ref. 'GCM' == Outdated reference: A later version (-17) exists of draft-ietf-avtcore-srtp-aes-gcm-06 Summary: 0 errors (**), 0 flaws (~~), 2 warnings (==), 6 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 AVTCore W. Kim 3 Internet-Draft J. Lee 4 Intended status: Standards Track D. Kim 5 Expires: December 07, 2013 J. Park 6 D. Kwon 7 NSRI 8 June 05, 2013 10 The ARIA Algorithm and Its Use with the Secure Real-time Transport 11 Protocol(SRTP) 12 draft-ietf-avtcore-aria-srtp-02 14 Abstract 16 This document describes the use of the ARIA block cipher algorithm 17 within the Secure Real-time Transport Protocol (SRTP) for providing 18 confidentiality for the Real-time Transport Protocol (RTP) traffic 19 and for the control traffic for RTP, the Real-time Transport Control 20 Protocol (RTCP). It details three modes of operation (CTR, CCM, GCM) 21 and a SRTP Key Derivation Function for ARIA. 23 Status of This Memo 25 This Internet-Draft is submitted in full conformance with the 26 provisions of BCP 78 and BCP 79. 28 Internet-Drafts are working documents of the Internet Engineering 29 Task Force (IETF). Note that other groups may also distribute 30 working documents as Internet-Drafts. The list of current Internet- 31 Drafts is at http://datatracker.ietf.org/drafts/current/. 33 Internet-Drafts are draft documents valid for a maximum of six months 34 and may be updated, replaced, or obsoleted by other documents at any 35 time. It is inappropriate to use Internet-Drafts as reference 36 material or to cite them other than as "work in progress." 38 This Internet-Draft will expire on December 07, 2013. 40 Copyright Notice 42 Copyright (c) 2013 IETF Trust and the persons identified as the 43 document authors. All rights reserved. 45 This document is subject to BCP 78 and the IETF Trust's Legal 46 Provisions Relating to IETF Documents 47 (http://trustee.ietf.org/license-info) in effect on the date of 48 publication of this document. Please review these documents 49 carefully, as they describe your rights and restrictions with respect 50 to this document. Code Components extracted from this document must 51 include Simplified BSD License text as described in Section 4.e of 52 the Trust Legal Provisions and are provided without warranty as 53 described in the Simplified BSD License. 55 Table of Contents 57 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 58 1.1. ARIA . . . . . . . . . . . . . . . . . . . . . . . . . . 3 59 1.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 60 2. Cryptographic Transforms . . . . . . . . . . . . . . . . . . 3 61 2.1. ARIA-CTR . . . . . . . . . . . . . . . . . . . . . . . . 3 62 2.2. ARIA-GCM . . . . . . . . . . . . . . . . . . . . . . . . 6 63 2.3. ARIA-CCM . . . . . . . . . . . . . . . . . . . . . . . . 9 64 3. Key Derivation Functions . . . . . . . . . . . . . . . . . . 11 65 4. Security Considerations . . . . . . . . . . . . . . . . . . . 11 66 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 12 67 5.1. SDES . . . . . . . . . . . . . . . . . . . . . . . . . . 12 68 5.2. DTLS-SRTP . . . . . . . . . . . . . . . . . . . . . . . . 12 69 5.3. MIKEY . . . . . . . . . . . . . . . . . . . . . . . . . . 18 70 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 19 71 6.1. Normative References . . . . . . . . . . . . . . . . . . 19 72 6.2. Informative References . . . . . . . . . . . . . . . . . 20 73 Appendix A. Test Vectors . . . . . . . . . . . . . . . . . . . . 21 74 A.1. ARIA-CTR Test Vectors . . . . . . . . . . . . . . . . . . 21 75 A.1.1. ARIA_128_CTR_HMAC_SHA1_80 . . . . . . . . . . . . . . 21 76 A.1.2. ARIA_192_CTR_HMAC_SHA1_80 . . . . . . . . . . . . . . 22 77 A.1.3. ARIA_256_CTR_HMAC_SHA1_80 . . . . . . . . . . . . . . 23 78 A.2. ARIA-GCM Test Vectors . . . . . . . . . . . . . . . . . . 23 79 A.2.1. ARIA_128_GCM . . . . . . . . . . . . . . . . . . . . 24 80 A.2.2. ARIA_256_GCM . . . . . . . . . . . . . . . . . . . . 24 81 A.3. ARIA-CCM Test Vectors . . . . . . . . . . . . . . . . . . 24 82 A.3.1. ARIA_128_CCM . . . . . . . . . . . . . . . . . . . . 25 83 A.3.2. ARIA_256_CCM . . . . . . . . . . . . . . . . . . . . 25 84 A.3.3. ARIA_128_CCM_8 . . . . . . . . . . . . . . . . . . . 26 85 A.3.4. ARIA_256_CCM_8 . . . . . . . . . . . . . . . . . . . 26 86 A.3.5. ARIA_128_CCM_12 . . . . . . . . . . . . . . . . . . . 26 87 A.3.6. ARIA_256_CCM_12 . . . . . . . . . . . . . . . . . . . 27 88 A.4. Key Derivation Test Vector . . . . . . . . . . . . . . . 27 89 A.4.1. ARIA_128 . . . . . . . . . . . . . . . . . . . . . . 28 90 A.4.2. ARIA_192 . . . . . . . . . . . . . . . . . . . . . . 29 91 A.4.3. ARIA_256 . . . . . . . . . . . . . . . . . . . . . . 30 93 1. Introduction 95 This document describes the use of the ARIA [RFC5794] block cipher 96 algorithm in the Secure Real-time Transport Protocol (SRTP) [RFC3711] 97 for providing confidentiality for the Real-time Transport Protocol 98 (RTP) [RFC3550] traffic and for the control traffic for RTP, the 99 Real-time Transport Control Protocol (RTCP) [RFC3550]. 101 1.1. ARIA 103 ARIA is a general-purpose block cipher algorithm developed by Korean 104 cryptographers in 2003. It is an iterated block cipher with 128-, 105 192-, and 256-bit keys and encrypts 128-bit blocks in 12, 14, and 16 106 rounds, depending on the key size. It is secure and suitable for 107 most software and hardware implementations on 32-bit and 8-bit 108 processors. It was established as a Korean standard block cipher 109 algorithm in 2004 [ARIAKS] and has been widely used in Korea, 110 especially for government-to-public services. It was included in 111 PKCS #11 in 2007 [ARIAPKCS]. The algorithm specification and object 112 identifiers are described in [RFC5794]. 114 1.2. Terminology 116 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 117 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 118 document are to be interpreted as described in [RFC2119]. 120 2. Cryptographic Transforms 122 Block ciphers ARIA and AES share common characteristics including 123 mode, key size, and block size. ARIA does not have any restrictions 124 for modes of operation that are used with this block cipher. We 125 define three modes of running ARIA within the SRTP protocol, (1) ARIA 126 in Counter Mode (ARIA-CTR), (2) ARIA in Counter with CBC-MAC Mode 127 (ARIA-CCM) and (3) ARIA in Galois/Counter Mode (ARIA-GCM). 129 2.1. ARIA-CTR 131 Section 4.1.1 of [RFC3711] defines AES-128 counter mode encryption, 132 which it refers to as "AES_CM". Section 2 of [RFC6188] defines 133 "AES_192_CM" and "AES_256_CM" in SRTP. ARIA counter modes are 134 defined in the same manner except that each invocation of AES is 135 replaced by that of ARIA, and are denoted by ARIA_128_CTR, 136 ARIA_192_CTR and ARIA_256_CTR respectively, according to the key 137 lengths. The plaintext inputs to the block cipher are formed as in 138 AES-CTR(AES_CM, AES_192_CM, AES_256_CM) and the block cipher outputs 139 are processed as in AES-CTR. 141 When ARIA-CTR is used, it MUST be used only in conjunction with an 142 authentication function. The ARIA-CTR crypto suites with HMAC-SHA1 143 as an authentication function are listed below. The authentication 144 key length of all crypto suites is 20 octets. 146 +----------------------------+-----------------+------------------+ 147 | Name | Enc. Key Length | Auth. Tag Length | 148 +----------------------------+-----------------+------------------+ 149 | ARIA_128_CTR_HMAC_SHA1_80 | 16 octets | 10 octets | 150 | ARIA_128_CTR_HMAC_SHA1_32 | 16 octets | 4 octets | 151 | ARIA_192_CTR_HMAC_SHA1_80 | 24 octets | 10 octets | 152 | ARIA_192_CTR_HMAC_SHA1_32 | 24 octets | 4 octets | 153 | ARIA_256_CTR_HMAC_SHA1_80 | 32 octets | 10 octets | 154 | ARIA_256_CTR_HMAC_SHA1_32 | 32 octets | 4 octets | 155 +----------------------------+-----------------+------------------+ 157 Table 1: ARIA-CTR Crypto Suites for SRTP/SRTCP 159 The parameters (from Table 2 to Table 7) in each crypto suite listed 160 in Table 1 are described for use with the SDP Security Descriptions 161 attributes [RFC4568]. 163 +---------------------------------+------------------------------+ 164 | Parameter | Value | 165 +---------------------------------+------------------------------+ 166 | Master key length | 128 bits | 167 | Master salt length | 112 bits | 168 | Key Derivation Function | ARIA_128_CTR_PRF (Section 3) | 169 | Default key lifetime | 2^31 packets | 170 | Cipher (for SRTP and SRTCP) | ARIA_128_CTR | 171 | SRTP authentication function | HMAC-SHA1 | 172 | SRTP authentication key length | 160 bits | 173 | SRTP authentication tag length | 80 bits | 174 | SRTCP authentication function | HMAC-SHA1 | 175 | SRTCP authentication key length | 160 bits | 176 | SRTCP authentication tag length | 80 bits | 177 +---------------------------------+------------------------------+ 179 Table 2: The ARIA_128_CTR_HMAC_SHA1_80 Crypto Suite 181 +---------------------------------+------------------------------+ 182 | Parameter | Value | 183 +---------------------------------+------------------------------+ 184 | Master key length | 128 bits | 185 | Master salt length | 112 bits | 186 | Key Derivation Function | ARIA_128_CTR_PRF (Section 3) | 187 | Default key lifetime | 2^31 packets | 188 | Cipher (for SRTP and SRTCP) | ARIA_128_CTR | 189 | SRTP authentication function | HMAC-SHA1 | 190 | SRTP authentication key length | 160 bits | 191 | SRTP authentication tag length | 32 bits | 192 | SRTCP authentication function | HMAC-SHA1 | 193 | SRTCP authentication key length | 160 bits | 194 | SRTCP authentication tag length | 80 bits | 195 +---------------------------------+------------------------------+ 197 Table 3: The ARIA_128_CTR_HMAC_SHA1_32 Crypto Suite 199 +---------------------------------+------------------------------+ 200 | Parameter | Value | 201 +---------------------------------+------------------------------+ 202 | Master key length | 192 bits | 203 | Master salt length | 112 bits | 204 | Key Derivation Function | ARIA_192_CTR_PRF (Section 3) | 205 | Default key lifetime | 2^31 packets | 206 | Cipher (for SRTP and SRTCP) | ARIA_192_CTR | 207 | SRTP authentication function | HMAC-SHA1 | 208 | SRTP authentication key length | 160 bits | 209 | SRTP authentication tag length | 80 bits | 210 | SRTCP authentication function | HMAC-SHA1 | 211 | SRTCP authentication key length | 160 bits | 212 | SRTCP authentication tag length | 80 bits | 213 +---------------------------------+------------------------------+ 215 Table 4: The ARIA_192_CTR_HMAC_SHA1_80 Crypto Suite 217 +---------------------------------+------------------------------+ 218 | Parameter | Value | 219 +---------------------------------+------------------------------+ 220 | Master key length | 192 bits | 221 | Master salt length | 112 bits | 222 | Key Derivation Function | ARIA_192_CTR_PRF (Section 3) | 223 | Default key lifetime | 2^31 packets | 224 | Cipher (for SRTP and SRTCP) | ARIA_192_CTR | 225 | SRTP authentication function | HMAC-SHA1 | 226 | SRTP authentication key length | 160 bits | 227 | SRTP authentication tag length | 32 bits | 228 | SRTCP authentication function | HMAC-SHA1 | 229 | SRTCP authentication key length | 160 bits | 230 | SRTCP authentication tag length | 80 bits | 231 +---------------------------------+------------------------------+ 233 Table 5: The ARIA_192_CTR_HMAC_SHA1_32 Crypto Suite 235 +---------------------------------+------------------------------+ 236 | Parameter | Value | 237 +---------------------------------+------------------------------+ 238 | Master key length | 256 bits | 239 | Master salt length | 112 bits | 240 | Key Derivation Function | ARIA_256_CTR_PRF (Section 3) | 241 | Default key lifetime | 2^31 packets | 242 | Cipher (for SRTP and SRTCP) | ARIA_256_CTR | 243 | SRTP authentication function | HMAC-SHA1 | 244 | SRTP authentication key length | 160 bits | 245 | SRTP authentication tag length | 80 bits | 246 | SRTCP authentication function | HMAC-SHA1 | 247 | SRTCP authentication key length | 160 bits | 248 | SRTCP authentication tag length | 80 bits | 249 +---------------------------------+------------------------------+ 251 Table 6: The ARIA_256_CTR_HMAC_SHA1_80 Crypto Suite 253 +---------------------------------+------------------------------+ 254 | Parameter | Value | 255 +---------------------------------+------------------------------+ 256 | Master key length | 256 bits | 257 | Master salt length | 112 bits | 258 | Key Derivation Function | ARIA_256_CTR_PRF (Section 3) | 259 | Default key lifetime | 2^31 packets | 260 | Cipher (for SRTP and SRTCP) | ARIA_256_CTR | 261 | SRTP authentication function | HMAC-SHA1 | 262 | SRTP authentication key length | 160 bits | 263 | SRTP authentication tag length | 32 bits | 264 | SRTCP authentication function | HMAC-SHA1 | 265 | SRTCP authentication key length | 160 bits | 266 | SRTCP authentication tag length | 80 bits | 267 +---------------------------------+------------------------------+ 269 Table 7: The ARIA_256_CTR_HMAC_SHA1_32 Crypto Suite 271 2.2. ARIA-GCM 273 GCM(Galois Counter Mode) [GCM][RFC5116] is a AEAD(authenticated 274 encryption with associated data) block cipher mode. A detailed 275 description of ARIA-GCM is defined similarly as AES-GCM found in 276 [RFC5116][RFC5282]. 278 The internet draft [I-D.ietf-avtcore-srtp-aes-gcm] describes the use 279 of AES-GCM with SRTP. The use of ARIA-GCM with SRTP is defined the 280 same as that of AES-GCM except that each invocation of AES is 281 replaced by ARIA. 283 The ARIA-GCM algorithms in Table 8 may be used with SRTP and SRTCP: 285 +----------------------+-----------------+------------------+ 286 | Name | Enc. Key Length | Auth. Tag Length | 287 +----------------------+-----------------+------------------+ 288 | AEAD_ARIA_128_GCM | 16 octets | 16 octets | 289 | AEAD_ARIA_256_GCM | 32 octets | 16 octets | 290 | AEAD_ARIA_128_GCM_8 | 16 octets | 8 octets | 291 | AEAD_ARIA_256_GCM_8 | 32 octets | 8 octets | 292 | AEAD_ARIA_128_GCM_12 | 16 octets | 12 octets | 293 | AEAD_ARIA_256_GCM_12 | 32 octets | 12 octets | 294 +----------------------+-----------------+------------------+ 296 Table 8: ARIA-GCM Crypto Suites for SRTP/SRTCP 298 The parameters (from Table 9 to Table 14) in each crypto suite listed 299 in Table 8 are described for use with the SDP Security Descriptions 300 attributes [RFC4568]. 302 +--------------------------------+------------------------------+ 303 | Parameter | Value | 304 +--------------------------------+------------------------------+ 305 | Master key length | 128 bits | 306 | Master salt length | 96 bits | 307 | Key Derivation Function | ARIA_128_CTR_PRF (Section 3) | 308 | Default key lifetime (SRTP) | 2^48 packets | 309 | Default key lifetime (SRTCP) | 2^31 packets | 310 | Cipher (for SRTP and SRTCP) | ARIA_128_GCM | 311 | AEAD authentication tag length | 128 bits | 312 +--------------------------------+------------------------------+ 314 Table 9: The AEAD_ARIA_128_GCM Crypto Suite 316 +--------------------------------+------------------------------+ 317 | Parameter | Value | 318 +--------------------------------+------------------------------+ 319 | Master key length | 256 bits | 320 | Master salt length | 96 bits | 321 | Key Derivation Function | ARIA_256_CTR_PRF (Section 3) | 322 | Default key lifetime (SRTP) | 2^48 packets | 323 | Default key lifetime (SRTCP) | 2^31 packets | 324 | Cipher (for SRTP and SRTCP) | ARIA_256_GCM | 325 | AEAD authentication tag length | 128 bits | 326 +--------------------------------+------------------------------+ 328 Table 10: The AEAD_ARIA_256_GCM Crypto Suite 330 +--------------------------------+------------------------------+ 331 | Parameter | Value | 332 +--------------------------------+------------------------------+ 333 | Master key length | 128 bits | 334 | Master salt length | 96 bits | 335 | Key Derivation Function | ARIA_128_CTR_PRF (Section 3) | 336 | Default key lifetime (SRTP) | 2^48 packets | 337 | Default key lifetime (SRTCP) | 2^31 packets | 338 | Cipher (for SRTP and SRTCP) | ARIA_128_GCM | 339 | AEAD authentication tag length | 64 bits | 340 +--------------------------------+------------------------------+ 342 Table 11: The AEAD_ARIA_128_GCM_8 Crypto Suite 344 +--------------------------------+------------------------------+ 345 | Parameter | Value | 346 +--------------------------------+------------------------------+ 347 | Master key length | 256 bits | 348 | Master salt length | 96 bits | 349 | Key Derivation Function | ARIA_256_CTR_PRF (Section 3) | 350 | Default key lifetime (SRTP) | 2^48 packets | 351 | Default key lifetime (SRTCP) | 2^31 packets | 352 | Cipher (for SRTP and SRTCP) | ARIA_256_GCM | 353 | AEAD authentication tag length | 64 bits | 354 +--------------------------------+------------------------------+ 356 Table 12: The AEAD_ARIA_256_GCM_8 Crypto Suite 358 +--------------------------------+------------------------------+ 359 | Parameter | Value | 360 +--------------------------------+------------------------------+ 361 | Master key length | 128 bits | 362 | Master salt length | 96 bits | 363 | Key Derivation Function | ARIA_128_CTR_PRF (Section 3) | 364 | Default key lifetime (SRTP) | 2^48 packets | 365 | Default key lifetime (SRTCP) | 2^31 packets | 366 | Cipher (for SRTP and SRTCP) | ARIA_128_GCM | 367 | AEAD authentication tag length | 96 bits | 368 +--------------------------------+------------------------------+ 370 Table 13: The AEAD_ARIA_128_GCM_12 Crypto Suite 372 +--------------------------------+------------------------------+ 373 | Parameter | Value | 374 +--------------------------------+------------------------------+ 375 | Master key length | 256 bits | 376 | Master salt length | 96 bits | 377 | Key Derivation Function | ARIA_256_CTR_PRF (Section 3) | 378 | Default key lifetime (SRTP) | 2^48 packets | 379 | Default key lifetime (SRTCP) | 2^31 packets | 380 | Cipher (for SRTP and SRTCP) | ARIA_256_GCM | 381 | AEAD authentication tag length | 96 bits | 382 +--------------------------------+------------------------------+ 384 Table 14: The AEAD_ARIA_256_GCM_12 Crypto Suite 386 2.3. ARIA-CCM 388 CCM(Counter with CBC-MAC) [RFC3610][RFC5116] is another AEAD block 389 cipher mode. A detailed description of ARIA-CCM is defined similarly 390 as AES-CCM found in [RFC5116] [RFC6655] 391 [I-D.ietf-avtcore-srtp-aes-gcm]. 393 The internet draft [I-D.ietf-avtcore-srtp-aes-gcm] describes the use 394 of AES-CCM with SRTP. The use of ARIA-CCM with SRTP is defined the 395 same as that of AES-CCM except that each invocation of AES is 396 replaced by ARIA. 398 The ARIA-CCM algorithms in Table 15 may be used with SRTP and SRTCP: 400 +----------------------+-----------------+------------------+ 401 | Name | Enc. Key Length | Auth. Tag Length | 402 +----------------------+-----------------+------------------+ 403 | AEAD_ARIA_128_CCM | 16 octets | 16 octets | 404 | AEAD_ARIA_256_CCM | 32 octets | 16 octets | 405 | AEAD_ARIA_128_CCM_8 | 16 octets | 8 octets | 406 | AEAD_ARIA_256_CCM_8 | 32 octets | 8 octets | 407 | AEAD_ARIA_128_CCM_12 | 16 octets | 12 octets | 408 | AEAD_ARIA_256_CCM_12 | 32 octets | 12 octets | 409 +----------------------+-----------------+------------------+ 411 Table 15: ARIA-CCM Crypto Suites for SRTP/SRTCP 413 The parameters (from Table 16 to Table 21) in each crypto suite 414 listed in Table 15 are described for use with the SDP Security 415 Descriptions attributes [RFC4568]. 417 +--------------------------------+------------------------------+ 418 | Parameter | Value | 419 +--------------------------------+------------------------------+ 420 | Master key length | 128 bits | 421 | Master salt length | 96 bits | 422 | Key Derivation Function | ARIA_128_CTR_PRF (Section 3) | 423 | Default key lifetime (SRTP) | 2^48 packets | 424 | Default key lifetime (SRTCP) | 2^31 packets | 425 | Cipher (for SRTP and SRTCP) | ARIA_128_CCM | 426 | AEAD authentication tag length | 128 bits | 427 +--------------------------------+------------------------------+ 429 Table 16: The AEAD_ARIA_128_CCM Crypto Suite 431 +--------------------------------+------------------------------+ 432 | Parameter | Value | 433 +--------------------------------+------------------------------+ 434 | Master key length | 256 bits | 435 | Master salt length | 96 bits | 436 | Key Derivation Function | ARIA_256_CTR_PRF (Section 3) | 437 | Default key lifetime (SRTP) | 2^48 packets | 438 | Default key lifetime (SRTCP) | 2^31 packets | 439 | Cipher (for SRTP and SRTCP) | ARIA_256_CCM | 440 | AEAD authentication tag length | 128 bits | 441 +--------------------------------+------------------------------+ 443 Table 17: The AEAD_ARIA_256_CCM Crypto Suite 445 +--------------------------------+------------------------------+ 446 | Parameter | Value | 447 +--------------------------------+------------------------------+ 448 | Master key length | 128 bits | 449 | Master salt length | 96 bits | 450 | Key Derivation Function | ARIA_128_CTR_PRF (Section 3) | 451 | Default key lifetime (SRTP) | 2^48 packets | 452 | Default key lifetime (SRTCP) | 2^31 packets | 453 | Cipher (for SRTP and SRTCP) | ARIA_128_CCM | 454 | AEAD authentication tag length | 64 bits | 455 +--------------------------------+------------------------------+ 457 Table 18: The AEAD_ARIA_128_CCM_8 Crypto Suite 459 +--------------------------------+------------------------------+ 460 | Parameter | Value | 461 +--------------------------------+------------------------------+ 462 | Master key length | 256 bits | 463 | Master salt length | 96 bits | 464 | Key Derivation Function | ARIA_256_CTR_PRF (Section 3) | 465 | Default key lifetime (SRTP) | 2^48 packets | 466 | Default key lifetime (SRTCP) | 2^31 packets | 467 | Cipher (for SRTP and SRTCP) | ARIA_256_CCM | 468 | AEAD authentication tag length | 64 bits | 469 +--------------------------------+------------------------------+ 471 Table 19: The AEAD_ARIA_256_CCM_8 Crypto Suite 473 +--------------------------------+------------------------------+ 474 | Parameter | Value | 475 +--------------------------------+------------------------------+ 476 | Master key length | 128 bits | 477 | Master salt length | 96 bits | 478 | Key Derivation Function | ARIA_128_CTR_PRF (Section 3) | 479 | Default key lifetime (SRTP) | 2^48 packets | 480 | Default key lifetime (SRTCP) | 2^31 packets | 481 | Cipher (for SRTP and SRTCP) | ARIA_128_CCM | 482 | AEAD authentication tag length | 96 bits | 483 +--------------------------------+------------------------------+ 485 Table 20: The AEAD_ARIA_128_CCM_12 Crypto Suite 487 +--------------------------------+------------------------------+ 488 | Parameter | Value | 489 +--------------------------------+------------------------------+ 490 | Master key length | 256 bits | 491 | Master salt length | 96 bits | 492 | Key Derivation Function | ARIA_256_CTR_PRF (Section 3) | 493 | Default key lifetime (SRTP) | 2^48 packets | 494 | Default key lifetime (SRTCP) | 2^31 packets | 495 | Cipher (for SRTP and SRTCP) | ARIA_256_CCM | 496 | AEAD authentication tag length | 96 bits | 497 +--------------------------------+------------------------------+ 499 Table 21: The AEAD_ARIA_256_CCM_12 Crypto Suite 501 3. Key Derivation Functions 503 Section 4.3.3 of [RFC3711] defines the AES-128 counter mode key 504 derivation function, which it refers to as "AES-CM PRF". Section 3 505 of [RFC6188] defines the AES-192 counter mode key derivation function 506 and the AES-256 counter mode key derivation function, which it refers 507 to as "AES_192_CM_PRF" and "AES_256_CM_PRF" respectively. The ARIA- 508 CTR PRF is defined in a same manner except that each invocation of 509 AES replaced by that of ARIA. According to the key lengths of 510 underlying encryption algorithm, ARIA-CTR PRFs are denoted by 511 "ARIA_128_CTR_PRF", "ARIA_192_CTR_PRF" and "ARIA_256_CTR_PRF". The 512 usage requirements of [RFC6188][I-D.ietf-avtcore-srtp-aes-gcm] 513 regarding the AES-CM PRF apply to the ARIA-CTR PRF as well. The PRFs 514 for ARIA crypto suites with SRTP are defined by ARIA-CTR PRF of the 515 equal key length with the encryption algorithm (see Section 2). 516 SRTP_ARIA_128_CTR_HMAC, SRTP_AEAD_ARIA_128_GCM, and 517 SRTP_AEAD_ARIA_128_CCM MUST use the ARIA_128_CTR_PRF Key Derivation 518 Function. SRTP_ARIA_192_CTR_HMAC MUST use that ARIA_192_CTR_PRF Key 519 Derivation Function. And SRTP_ARIA_256_CTR_HMAC, 520 SRTP_AEAD_ARIA_256_GCM, and SRTP_AEAD_ARIA_256_CCM MUST use the 521 ARIA_256_CTR_PRF Key Derivation Function. 523 4. Security Considerations 525 At the time of writing this document no security problem has been 526 found on ARIA (see [TSL]). 528 The security considerations in [RFC3610] [GCM] [RFC3711] [RFC5116] 529 [RFC6188] [I-D.ietf-avtcore-srtp-aes-gcm] apply to this document as 530 well. 532 5. IANA Considerations 534 5.1. SDES 536 Security description [RFC4568] defines SRTP "crypto suites". In 537 order to allow SDP to signal the use of the algorithms defined in 538 this document, IANA is requested to add the below crypto suites to 539 the "SRTP Crypto Suite Registrations" created by [RFC4568], at time 540 of writing located on the following IANA page: http://www.iana.org/ 541 assignments/sdp-security-descriptions/sdp-security-descriptions.xml 542 #sdp-security-descriptions-3 [1] 544 srtp-crypto-suite-ext = "ARIA_128_CTR_HMAC_SHA1_80"/ 545 "ARIA_128_CTR_HMAC_SHA1_32"/ 546 "ARIA_192_CTR_HMAC_SHA1_80"/ 547 "ARIA_192_CTR_HMAC_SHA1_32"/ 548 "ARIA_256_CTR_HMAC_SHA1_80"/ 549 "ARIA_256_CTR_HMAC_SHA1_32"/ 550 "AEAD_ARIA_128_GCM" / 551 "AEAD_ARIA_256_GCM" / 552 "AEAD_ARIA_128_GCM_8" / 553 "AEAD_ARIA_256_GCM_8" / 554 "AEAD_ARIA_128_GCM_12" / 555 "AEAD_ARIA_256_GCM_12" / 556 "AEAD_ARIA_128_CCM" / 557 "AEAD_ARIA_256_CCM" / 558 "AEAD_ARIA_128_CCM_8" / 559 "AEAD_ARIA_256_CCM_8" / 560 "AEAD_ARIA_128_CCM_12" / 561 "AEAD_ARIA_256_CCM_12" / 562 srtp-crypto-suite-ext 564 5.2. DTLS-SRTP 566 DTLS-SRTP [RFC5764] defines a DTLS-SRTP "SRTP Protection Profile". 567 In order to allow the use of the algorithms defined in this document 568 in DTLS-SRTP, IANA is requested to add the below crypto suite to the 569 "DTLS-SRTP Protection Profiles" created by [RFC5764], at time of 570 writing located on the following IANA page: http://www.iana.org/ 571 assignments/srtp-protection/srtp-protection.xml#srtp-protection-1 [2] 573 SRTP_ARIA_128_CTR_HMAC_SHA1_80 = {TBD,TBD} 574 SRTP_ARIA_128_CTR_HMAC_SHA1_32 = {TBD,TBD} 575 SRTP_ARIA_192_CTR_HMAC_SHA1_80 = {TBD,TBD} 576 SRTP_ARIA_192_CTR_HMAC_SHA1_32 = {TBD,TBD} 577 SRTP_ARIA_256_CTR_HMAC_SHA1_80 = {TBD,TBD} 578 SRTP_ARIA_256_CTR_HMAC_SHA1_32 = {TBD,TBD} 579 SRTP_AEAD_ARIA_128_GCM = {TBD,TBD} 580 SRTP_AEAD_ARIA_256_GCM = {TBD,TBD} 581 SRTP_AEAD_ARIA_128_GCM_8 = {TBD,TBD} 582 SRTP_AEAD_ARIA_256_GCM_8 = {TBD,TBD} 583 SRTP_AEAD_ARIA_128_GCM_12 = {TBD,TBD} 584 SRTP_AEAD_ARIA_256_GCM_12 = {TBD,TBD} 585 SRTP_AEAD_ARIA_128_CCM = {TBD,TBD} 586 SRTP_AEAD_ARIA_256_CCM = {TBD,TBD} 587 SRTP_AEAD_ARIA_128_CCM_8 = {TBD,TBD} 588 SRTP_AEAD_ARIA_256_CCM_8 = {TBD,TBD} 589 SRTP_AEAD_ARIA_128_CCM_12 = {TBD,TBD} 590 SRTP_AEAD_ARIA_256_CCM_12 = {TBD,TBD} 592 The following list indicates the SRTP transform parameters for each 593 protection profile. The parameters cipher_key_length, 594 cipher_salt_length, auth_key_length, and auth_tag_length express the 595 number of bits in the values to which they refer. The 596 maximum_lifetime parameter indicates the maximum number of packets 597 that can be protected with each single set of keys when the parameter 598 profile is in use. All of these parameters apply to both RTP and 599 RTCP, unless the RTCP parameters are separately specified. 601 SRTP_ARIA_128_CTR_HMAC_SHA1_80 602 cipher: ARIA_128_CTR 603 cipher_key_length: 128 bits 604 cipher_salt_length: 112 bits 605 maximum_lifetime: 2^31 packets 606 key derivation function: ARIA_128_CTR_PRF 607 auth_function: HMAC-SHA1 608 auth_key_length: 160 bits 609 auth_tag_length: 80 bits 611 SRTP_ARIA_128_CTR_HMAC_SHA1_32 612 cipher: ARIA_128_CTR 613 cipher_key_length: 128 bits 614 cipher_salt_length: 112 bits 615 maximum_lifetime: 2^31 packets 616 key derivation function: ARIA_128_CTR_PRF 617 auth_function: HMAC-SHA1 618 auth_key_length: 160 bits 619 SRTP auth_tag_length: 32 bits 620 SRTCP auth_tag_length: 80 bits 622 SRTP_ARIA_192_CTR_HMAC_SHA1_80 623 cipher: ARIA_192_CTR 624 cipher_key_length: 192 bits 625 cipher_salt_length: 112 bits 626 maximum_lifetime: 2^31 packets 627 key derivation function: ARIA_192_CTR_PRF 628 auth_function: HMAC-SHA1 629 auth_key_length: 160 bits 630 auth_tag_length: 80 bits 632 SRTP_ARIA_192_CTR_HMAC_SHA1_32 633 cipher: ARIA_192_CTR 634 cipher_key_length: 192 bits 635 cipher_salt_length: 112 bits 636 maximum_lifetime: 2^31 packets 637 key derivation function: ARIA_192_CTR_PRF 638 auth_function: HMAC-SHA1 639 auth_key_length: 160 bits 640 SRTP auth_tag_length: 32 bits 641 SRTCP auth_tag_length: 80 bits 643 SRTP_ARIA_256_CTR_HMAC_SHA1_80 644 cipher: ARIA_256_CTR 645 cipher_key_length: 256 bits 646 cipher_salt_length: 112 bits 647 maximum_lifetime: 2^31 packets 648 key derivation function: ARIA_256_CTR_PRF 649 auth_function: HMAC-SHA 650 auth_key_length: 160 bits 651 auth_tag_length: 80 bits 653 SRTP_ARIA_256_CTR_HMAC_SHA1_32 654 cipher: ARIA_256_CTR 655 cipher_key_length: 128 bits 656 cipher_salt_length: 112 bits 657 maximum_lifetime: 2^31 packets 658 key derivation function: ARIA_256_CTR_PRF 659 auth_function: HMAC-SHA1 660 auth_key_length: 160 bits 661 SRTP auth_tag_length: 32 bits 662 SRTCP auth_tag_length: 80 bits 664 SRTP_AEAD_ARIA_128_CCM 665 cipher: ARIA_128_CCM 666 cipher_key_length: 128 bits 667 cipher_salt_length: 96 bits 668 aead_auth_tag_length: 128 bits 669 auth_function: NULL 670 auth_key_length: N/A 671 auth_tag_length: N/A 672 key derivation function: ARIA_128_CTR_PRF 673 maximum_lifetime: at most 2^31 SRTCP packets and 674 at most 2^48 SRTP packets 676 SRTP_AEAD_ARIA_256_CCM 677 cipher: ARIA_256_CCM 678 cipher_key_length: 256 bits 679 cipher_salt_length: 96 bits 680 aead_auth_tag_length: 128 bits 681 auth_function: NULL 682 auth_key_length: N/A 683 auth_tag_length: N/A 684 key derivation function: ARIA_256_CTR_PRF 685 maximum_lifetime: at most 2^31 SRTCP packets and 686 at most 2^48 SRTP packets 688 SRTP_AEAD_ARIA_128_CCM_8 689 cipher: ARIA_128_CCM 690 cipher_key_length: 128 bits 691 cipher_salt_length: 96 bits 692 aead_auth_tag_length: 64 bits 693 auth_function: NULL 694 auth_key_length: N/A 695 auth_tag_length: N/A 696 key derivation function: ARIA_128_CTR_PRF 697 maximum_lifetime: at most 2^31 SRTCP packets and 698 at most 2^48 SRTP packets 700 SRTP_AEAD_ARIA_256_CCM_8 701 cipher: ARIA_256_CCM 702 cipher_key_length: 256 bits 703 cipher_salt_length: 96 bits 704 aead_auth_tag_length: 64 bits 705 auth_function: NULL 706 auth_key_length: N/A 707 auth_tag_length: N/A 708 key derivation function: ARIA_256_CTR_PRF 709 maximum_lifetime: at most 2^31 SRTCP packets and 710 at most 2^48 SRTP packets 712 SRTP_AEAD_ARIA_128_CCM_12 713 cipher: ARIA_128_CCM 714 cipher_key_length: 128 bits 715 cipher_salt_length: 96 bits 716 aead_auth_tag_length: 96 bits 717 auth_function: NULL 718 auth_key_length: N/A 719 auth_tag_length: N/A 720 key derivation function: ARIA_128_CTR_PRF 721 maximum_lifetime: at most 2^31 SRTCP packets and 722 at most 2^48 SRTP packets 724 SRTP_AEAD_ARIA_256_CCM_12 725 cipher: ARIA_256_CCM 726 cipher_key_length: 256 bits 727 cipher_salt_length: 96 bits 728 aead_auth_tag_length: 96 bits 729 auth_function: NULL 730 auth_key_length: N/A 731 auth_tag_length: N/A 732 key derivation function: ARIA_256_CTR_PRF 733 maximum_lifetime: at most 2^31 SRTCP packets and 734 at most 2^48 SRTP packets 736 SRTP_AEAD_ARIA_128_GCM 737 cipher: ARIA_128_GCM 738 cipher_key_length: 128 bits 739 cipher_salt_length: 96 bits 740 aead_auth_tag_length: 128 bits 741 auth_function: NULL 742 auth_key_length: N/A 743 auth_tag_length: N/A 744 key derivation function: ARIA_128_CTR_PRF 745 maximum_lifetime: at most 2^31 SRTCP packets and 746 at most 2^48 SRTP packets 748 SRTP_AEAD_ARIA_256_GCM 749 cipher: ARIA_256_GCM 750 cipher_key_length: 256 bits 751 cipher_salt_length: 96 bits 752 aead_auth_tag_length: 128 bits 753 auth_function: NULL 754 auth_key_length: N/A 755 auth_tag_length: N/A 756 key derivation function: ARIA_256_CTR_PRF 757 maximum_lifetime: at most 2^31 SRTCP packets and 758 at most 2^48 SRTP packets 760 SRTP_AEAD_ARIA_128_GCM_8 761 cipher: ARIA_128_GCM 762 cipher_key_length: 128 bits 763 cipher_salt_length: 96 bits 764 aead_auth_tag_length: 64 bits 765 auth_function: NULL 766 auth_key_length: N/A 767 auth_tag_length: N/A 768 key derivation function: ARIA_128_CTR_PRF 769 maximum_lifetime: at most 2^31 SRTCP packets and 770 at most 2^48 SRTP packets 772 SRTP_AEAD_ARIA_256_GCM_8 773 cipher: ARIA_256_GCM 774 cipher_key_length: 256 bits 775 cipher_salt_length: 96 bits 776 aead_auth_tag_length: 64 bits 777 auth_function: NULL 778 auth_key_length: N/A 779 auth_tag_length: N/A 780 key derivation function: ARIA_256_CTR_PRF 781 maximum_lifetime: at most 2^31 SRTCP packets and 782 at most 2^48 SRTP packets 784 SRTP_AEAD_ARIA_128_GCM_12 785 cipher: ARIA_128_GCM 786 cipher_key_length: 128 bits 787 cipher_salt_length: 96 bits 788 aead_auth_tag_length: 96 bits 789 auth_function: NULL 790 auth_key_length: N/A 791 auth_tag_length: N/A 792 key derivation function: ARIA_128_CTR_PRF 793 maximum_lifetime: at most 2^31 SRTCP packets and 794 at most 2^48 SRTP packets 796 SRTP_AEAD_ARIA_256_GCM_12 797 cipher: ARIA_256_GCM 798 cipher_key_length: 256 bits 799 cipher_salt_length: 96 bits 800 aead_auth_tag_length: 96 bits 801 auth_function: NULL 802 auth_key_length: N/A 803 auth_tag_length: N/A 804 key derivation function: ARIA_256_CTR_PRF 805 maximum_lifetime: at most 2^31 SRTCP packets and 806 at most 2^48 SRTP packets 808 Note that these SRTP Protection Profiles do not specify an 809 auth_function, auth_key_length, or auth_tag_length because all of 810 these profiles use AEAD algorithms, and thus do not use a separate 811 auth_function, auth_key, or auth_tag. The term aead_auth_tag_length 812 is used to emphasize that this refers to the authentication tag 813 provided by the AEAD algorithm and that this tag is not located in 814 the authentication tag field provided by SRTP/SRTCP. 816 5.3. MIKEY 818 [RFC3830] and [RFC5748] define encryption algorithms and PRFs for the 819 SRTP policy in MIKEY. In order to allow the use of the algorithms 820 defined in this document in MIKEY, IANA is requested to add the below 821 crypto suites to the "MIKEY Security Protocol Parameters SRTP Type 0 822 (Encryption algorithm)" and to add the below PRF to the "MIKEY 823 Security Protocol Parameters SRTP Type 5 (Pseudo Random Function)" 824 created by [RFC3830], at time of writing located on the following 825 IANA page http://www.iana.org/assignments/mikey-payloads/mikey- 826 payloads.xml#mikey-payloads-26 [3] 828 +---------------+-------+ 829 | SRTP Enc. alg | Value | 830 +---------------+-------+ 831 | ARIA-CTR | TBD | 832 | ARIA-CCM | TBD | 833 | ARIA-GCM | TBD | 834 +---------------+-------+ 836 Default session encryption key length is 16 octets. 838 +----------+-------+ 839 | SRTP PRF | Value | 840 +----------+-------+ 841 | ARIA-CTR | TBD | 842 +----------+-------+ 844 MIKEY specifies the algorithm family separately from the key length 845 (which is specified by the Session Encryption key length) and the 846 authentication tag length (specified by AEAD authentication tag 847 length [I-D.ietf-avtcore-srtp-aes-gcm]). 849 +--------------------------------------+ 850 | Encryption | Encryption | AEAD Auth. | 851 | Algorithm | Key Length | Tag Length | 852 +======================================+ 853 SRTP_ARIA_128_CTR_HMAC_80 | ARIA-CTR | 16 octets | 80 bits | 854 SRTP_ARIA_128_CTR_HMAC_32 | ARIA-CTR | 16 octets | 32 bits | 855 SRTP_ARIA_192_CTR_HMAC_80 | ARIA-CTR | 24 octets | 80 bits | 856 SRTP_ARIA_192_CTR_HMAC_32 | ARIA-CTR | 24 octets | 32 bits | 857 SRTP_ARIA_256_CTR_HMAC_80 | ARIA-CTR | 32 octets | 80 bits | 858 SRTP_ARIA_256_CTR_HMAC_32 | ARIA-CTR | 32 octets | 32 bits | 859 SRTP_AEAD_ARIA_128_GCM | ARIA-GCM | 16 octets | 128 bits | 860 SRTP_AEAD_ARIA_128_CCM | ARIA-CCM | 16 octets | 128 bits | 861 SRTP_AEAD_ARIA_128_GCM_12 | ARIA-GCM | 16 octets | 96 bits | 862 SRTP_AEAD_ARIA_128_CCM_12 | ARIA-CCM | 16 octets | 96 bits | 863 SRTP_AEAD_ARIA_128_GCM_8 | ARIA-GCM | 16 octets | 64 bits | 864 SRTP_AEAD_ARIA_128_CCM_8 | ARIA-CCM | 16 octets | 64 bits | 865 SRTP_AEAD_ARIA_256_GCM | ARIA-GCM | 32 octets | 128 bits | 866 SRTP_AEAD_ARIA_256_CCM | ARIA-CCM | 32 octets | 128 bits | 867 SRTP_AEAD_ARIA_256_GCM_12 | ARIA-GCM | 32 octets | 96 bits | 868 SRTP_AEAD_ARIA_256_CCM_12 | ARIA-CCM | 32 octets | 96 bits | 869 SRTP_AEAD_ARIA_256_GCM_8 | ARIA-GCM | 32 octets | 64 bits | 870 SRTP_AEAD_ARIA_256_CCM_8 | ARIA-CCM | 32 octets | 64 bits | 871 +======================================+ 873 Figure 1: Mapping MIKEY parameters to AEAD algorithm 875 6. References 877 6.1. Normative References 879 [GCM] Dworkin, M., "Recommendation for Block Cipher Modes of 880 Operation: Galois/Counter Mode (GCM) and GMAC", NIST SP 881 800-38D, November 2007. 883 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 884 Requirement Levels", BCP 14, RFC 2119, March 1997. 886 [RFC3550] Schulzrinne, H., Casner, S., Frederick, R., and V. 887 Jacobson, "RTP: A Transport Protocol for Real-Time 888 Applications", STD 64, RFC 3550, July 2003. 890 [RFC3711] Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. 891 Norrman, "The Secure Real-time Transport Protocol (SRTP)", 892 RFC 3711, March 2004. 894 [RFC3830] Arkko, J., Carrara, E., Lindholm, F., Naslund, M., and K. 895 Norrman, "MIKEY: Multimedia Internet KEYing", RFC 3830, 896 August 2004. 898 [RFC4568] Andreasen, F., Baugher, M., and D. Wing, "Session 899 Description Protocol (SDP) Security Descriptions for Media 900 Streams", RFC 4568, July 2006. 902 [RFC5116] McGrew, D., "An Interface and Algorithms for Authenticated 903 Encryption", RFC 5116, January 2008. 905 [RFC5282] Black, D. and D. McGrew, "Using Authenticated Encryption 906 Algorithms with the Encrypted Payload of the Internet Key 907 Exchange version 2 (IKEv2) Protocol", RFC 5282, August 908 2008. 910 [RFC5764] McGrew, D. and E. Rescorla, "Datagram Transport Layer 911 Security (DTLS) Extension to Establish Keys for the Secure 912 Real-time Transport Protocol (SRTP)", RFC 5764, May 2010. 914 [RFC6188] McGrew, D., "The Use of AES-192 and AES-256 in Secure 915 RTP", RFC 6188, March 2011. 917 [RFC6655] McGrew, D. and D. Bailey, "AES-CCM Cipher Suites for 918 Transport Layer Security (TLS)", RFC 6655, July 2012. 920 6.2. Informative References 922 [ARIAKS] Korean Agency for Technology and Standards, "128 bit block 923 encryption algorithm ARIA - Part 1: General (in Korean)", 924 KS X 1213-1:2009, December 2009. 926 [ARIAPKCS] 927 RSA Laboratories, "Additional PKCS #11 Mechanisms", PKCS 928 #11 v2.20 Amendment 3 Revision 1, January 2007. 930 [I-D.ietf-avtcore-srtp-aes-gcm] 931 McGrew, D. and K. Igoe, "AES-GCM and AES-CCM Authenticated 932 Encryption in Secure RTP (SRTP)", draft-ietf-avtcore-srtp- 933 aes-gcm-06 (work in progress), May 2013. 935 [RFC3610] Whiting, D., Housley, R., and N. Ferguson, "Counter with 936 CBC-MAC (CCM)", RFC 3610, September 2003. 938 [RFC5748] Yoon, S., Jeong, J., Kim, H., Jeong, H., and Y. Won, "IANA 939 Registry Update for Support of the SEED Cipher Algorithm 940 in Multimedia Internet KEYing (MIKEY)", RFC 5748, August 941 2010. 943 [RFC5794] Lee, J., Lee, J., Kim, J., Kwon, D., and C. Kim, "A 944 Description of the ARIA Encryption Algorithm", RFC 5794, 945 March 2010. 947 [TSL] Tang, X., Sun, B., Li, R., Li, C., and J. Yin, "A meet-in- 948 the-middle attack on reduced-round ARIA", The Journal of 949 Systems and Software Vol.84(10), pp. 1685-1692, October 950 2011. 952 Appendix A. Test Vectors 954 All values are in hexadecimal. 956 A.1. ARIA-CTR Test Vectors 958 Common values are organized as follows: 960 Rollover Counter: 00000000 961 Sequence Number: 315e 962 SSRC: 20e8f5eb 963 Authentication Key: f93563311b354748c97891379553063116452309 964 Session Salt: cd3a7c42c671e0067a2a2639b43a 965 Initialization Vector: cd3a7c42e69915ed7a2a263985640000 966 RTP header: 8008315ebf2e6fe020e8f5eb 967 RTP Payload: f57af5fd4ae19562976ec57a5a7ad55a 968 5af5c5e5c5fdf5c55ad57a4a7272d572 969 62e9729566ed66e97ac54a4a5a7ad5e1 970 5ae5fdd5fd5ac5d56ae56ad5c572d54a 971 e54ac55a956afd6aed5a4ac562957a95 972 16991691d572fd14e97ae962ed7a9f4a 973 955af572e162f57a956666e17ae1f54a 974 95f566d54a66e16e4afd6a9f7ae1c5c5 975 5ae5d56afde916c5e94a6ec56695e14a 976 fde1148416e94ad57ac5146ed59d1cc5 978 A.1.1. ARIA_128_CTR_HMAC_SHA1_80 980 Session Key: 0c5ffd37a11edc42c325287fc0604f2e 982 Encrypted RTP Payload: 1bf753f412e6f35058cc398dc851aae3 983 a6ccdcb463fbed9cfb3de2fb76fdffa9 984 e481f5efb64c92487f59dabbc7cc72da 985 092485f3fbad87888820b86037311fa4 986 4330e18a59a1e1338ba2c21458493a57 987 463475c54691f91cec785429119e0dfc 988 d9048f90e07fecd50b528e8c62ee6e71 989 445de5d7f659405135aff3604c2ca4ff 990 4aaca40809cb9eee42cc4ad232307570 991 81ca289f2851d3315e9568b501fdce6d 993 Authenticated portion || Rollover Counter: 995 8008315ebf2e6fe020e8f5eb1bf753f4 996 12e6f35058cc398dc851aae3a6ccdcb4 997 63fbed9cfb3de2fb76fdffa9e481f5ef 998 b64c92487f59dabbc7cc72da092485f3 999 fbad87888820b86037311fa44330e18a 1000 59a1e1338ba2c21458493a57463475c5 1001 4691f91cec785429119e0dfcd9048f90 1002 e07fecd50b528e8c62ee6e71445de5d7 1003 f659405135aff3604c2ca4ff4aaca408 1004 09cb9eee42cc4ad23230757081ca289f 1005 2851d3315e9568b501fdce6d00000000 1007 Authentication Tag: f9de4e729054672b0e35 1009 A.1.2. ARIA_192_CTR_HMAC_SHA1_80 1011 Session Key: 0c5ffd37a11edc42c325287fc0604f2e 1012 3e8cd5671a00fe32 1014 Encrypted RTP Payload: 86f4556486642caa67e9b40fef2acda0 1015 6d442517d8d58c15e3e0b5c13a78b8b2 1016 838b7b96961e11acb2af81348272888c 1017 fd9d168ba091fe3e4f7f83c7871570a9 1018 aa9f995036e44c35cb742b601e8d8d08 1019 48320bad732929103f1bfbb1ae873178 1020 0479c5df2d4d41f78f6b96d6832db3db 1021 6af8b3612b27e18a0a29a8a1d280437e 1022 b8dad58e78658ec3b069d7329431c356 1023 c5e612b3dde5bd3f6c9f42f39cf35d3a 1025 Authenticated portion || Rollover Counter: 1026 8008315ebf2e6fe020e8f5eb86f45564 1027 86642caa67e9b40fef2acda06d442517 1028 d8d58c15e3e0b5c13a78b8b2838b7b96 1029 961e11acb2af81348272888cfd9d168b 1030 a091fe3e4f7f83c7871570a9aa9f9950 1031 36e44c35cb742b601e8d8d0848320bad 1032 732929103f1bfbb1ae8731780479c5df 1033 2d4d41f78f6b96d6832db3db6af8b361 1034 2b27e18a0a29a8a1d280437eb8dad58e 1035 78658ec3b069d7329431c356c5e612b3 1036 dde5bd3f6c9f42f39cf35d3a00000000 1038 Authentication Tag: 3935fa37ee96dbc550d5 1040 A.1.3. ARIA_256_CTR_HMAC_SHA1_80 1042 Session Key: 0c5ffd37a11edc42c325287fc0604f2e 1043 3e8cd5671a00fe3216aa5eb105783b54 1045 Encrypted RTP Payload: c424c59fd5696305e5b13d8e8ca76566 1046 17ccd7471088af9debf07b55c750f804 1047 a5ac2b737be48140958a9b420524112a 1048 e72e4da5bca59d2b1019ddd7dbdc30b4 1049 3d5f046152ced40947d62d2c93e7b8e5 1050 0f02db2b6b61b010e4c1566884de1fa9 1051 702cdf8157e8aedfe3dd77c76bb50c25 1052 ae4d624615c15acfdeeb5f79482aaa01 1053 d3e4c05eb601eca2bd10518e9d46b021 1054 16359232e9eac0fabd05235dd09e6dea 1056 Authenticated portion || Rollover Counter: 1057 8008315ebf2e6fe020e8f5ebc424c59f 1058 d5696305e5b13d8e8ca7656617ccd747 1059 1088af9debf07b55c750f804a5ac2b73 1060 7be48140958a9b420524112ae72e4da5 1061 bca59d2b1019ddd7dbdc30b43d5f0461 1062 52ced40947d62d2c93e7b8e50f02db2b 1063 6b61b010e4c1566884de1fa9702cdf81 1064 57e8aedfe3dd77c76bb50c25ae4d6246 1065 15c15acfdeeb5f79482aaa01d3e4c05e 1066 b601eca2bd10518e9d46b02116359232 1067 e9eac0fabd05235dd09e6dea00000000 1069 Authentication Tag: 192f515fab04bbb4e62c 1071 A.2. ARIA-GCM Test Vectors 1073 Common values are organized as follows: 1075 Rollover Counter: 00000000 1076 Sequence Number: 315e 1077 SSRC: 20e8f5eb 1078 Encryption Salt: 000000000000000000000000 1080 Initialization Vector: 000020e8f5eb00000000315e 1081 Payload: f57af5fd4ae19562976ec57a5a7ad55a 1082 5af5c5e5c5fdf5c55ad57a4a7272d572 1083 62e9729566ed66e97ac54a4a5a7ad5e1 1084 5ae5fdd5fd5ac5d56ae56ad5c572d54a 1085 e54ac55a956afd6aed5a4ac562957a95 1086 16991691d572fd14e97ae962ed7a9f4a 1087 955af572e162f57a956666e17ae1f54a 1088 95f566d54a66e16e4afd6a9f7ae1c5c5 1089 5ae5d56afde916c5e94a6ec56695e14a 1090 fde1148416e94ad57ac5146ed59d1cc5 1091 AAD: 8008315ebf2e6fe020e8f5eb 1093 A.2.1. ARIA_128_GCM 1095 Key: e91e5e75da65554a48181f3846349562 1097 Encrypted RTP Payload: 4d8a9a0675550c704b17d8c9ddc81a5c 1098 d6f7da34f2fe1b3db7cb3dfb9697102e 1099 a0f3c1fc2dbc873d44bceeae8e444297 1100 4ba21ff6789d3272613fb9631a7cf3f1 1101 4bacbeb421633a90ffbe58c2fa6bdca5 1102 34f10d0de0502ce1d531b6336e588782 1103 78531e5c22bc6c85bbd784d78d9e680a 1104 a19031aaf89101d669d7a3965c1f7e16 1105 229d7463e0535f4e253f5d18187d40b8 1106 ae0f564bd970b5e7e2adfb211e89a953 1108 Authentication Tag: 5abace3f37f5a736f4be984bbffbedc1 1110 A.2.2. ARIA_256_GCM 1112 Key: 0c5ffd37a11edc42c325287fc0604f2e 1113 3e8cd5671a00fe3216aa5eb105783b54 1115 Encrypted RTP Payload: 6f9e4bcbc8c85fc0128fb1e4a0a20cb9 1116 932ff74581f54fc013dd054b19f99371 1117 425b352d97d3f337b90b63d1b082adee 1118 ea9d2d7391897d591b985e55fb50cb53 1119 50cf7d38dc27dda127c078a149c8eb98 1120 083d66363a46e3726af217d3a00275ad 1121 5bf772c7610ea4c23006878f0ee69a83 1122 97703169a419303f40b72e4573714d19 1123 e2697df61e7c7252e5abc6bade876ac4 1124 961bfac4d5e867afca351a48aed52822 1126 Authentication Tag: e210d6ced2cf430ff841472915e7ef48 1128 A.3. ARIA-CCM Test Vectors 1130 Common values are organized as follows: 1132 Rollover Counter: 00000000 1133 Sequence Number: 315e 1134 SSRC: 20e8f5eb 1135 Encryption Salt: 000000000000000000000000 1137 Initialization Vector: 000020e8f5eb00000000315e 1138 Payload: f57af5fd4ae19562976ec57a5a7ad55a 1139 5af5c5e5c5fdf5c55ad57a4a7272d572 1140 62e9729566ed66e97ac54a4a5a7ad5e1 1141 5ae5fdd5fd5ac5d56ae56ad5c572d54a 1142 e54ac55a956afd6aed5a4ac562957a95 1143 16991691d572fd14e97ae962ed7a9f4a 1144 955af572e162f57a956666e17ae1f54a 1145 95f566d54a66e16e4afd6a9f7ae1c5c5 1146 5ae5d56afde916c5e94a6ec56695e14a 1147 fde1148416e94ad57ac5146ed59d1cc5 1148 AAD: 8008315ebf2e6fe020e8f5eb 1150 A.3.1. ARIA_128_CCM 1152 Key: 974bee725d44fc3992267b284c3c6750 1154 Encrypted RTP Payload: 621e408a2e455505b39f704dcbac4307 1155 daabbd6d670abc4e42f2fd2fca263f09 1156 4f4683e6fb0b10c5093d42b69dce0ba5 1157 46520e7c4400975713f3bde93ef13116 1158 0b9cbcd6df78a1502be7c6ea8d395b9e 1159 d0078819c3105c0ab92cb67b16ba51bb 1160 1f53508738bf7a37c9a905439b88b7af 1161 9d51a407916fdfea8d43bf253721846d 1162 c1671391225fc58d9d0693c8ade6a4ff 1163 b034ee6543dd4e651b7a084eae60f855 1165 Authentication Tag: 40f04b6467e300f6b336aedf9df4185b 1167 A.3.2. ARIA_256_CCM 1169 Key: 0c5ffd37a11edc42c325287fc0604f2e 1170 3e8cd5671a00fe3216aa5eb105783b54 1172 Encrypted RTP Payload: ff78128ee18ee3cb9fb0d20726a017ff 1173 67fbd09d3a4c38aa32f6d306d3fdda37 1174 8e459b83ed005507449d6cd981a4c1e3 1175 ff4193870c276ef09b6317a01a228320 1176 6ae4b4be0d0b235422c8abb001224106 1177 56b75e1ffc7fb49c0d0c5d6169aa7623 1178 610579968037aee8e83fc26264ea8665 1179 90fd620aa3c0a5f323d953aa7f8defb0 1180 d0d60ab5a9de44dbaf8eae74ea3ab5f3 1181 0594154f405fd630aa4c4d5603efdfa1 1183 Authentication Tag: 87b6bd222c55365a9c7d0b215b77ea41 1185 A.3.3. ARIA_128_CCM_8 1187 Key: 974bee725d44fc3992267b284c3c6750 1189 Encrypted RTP Payload: 621e408a2e455505b39f704dcbac4307 1190 daabbd6d670abc4e42f2fd2fca263f09 1191 4f4683e6fb0b10c5093d42b69dce0ba5 1192 46520e7c4400975713f3bde93ef13116 1193 0b9cbcd6df78a1502be7c6ea8d395b9e 1194 d0078819c3105c0ab92cb67b16ba51bb 1195 1f53508738bf7a37c9a905439b88b7af 1196 9d51a407916fdfea8d43bf253721846d 1197 c1671391225fc58d9d0693c8ade6a4ff 1198 b034ee6543dd4e651b7a084eae60f855 1200 Authentication Tag: dd2282c93a67fe4b 1202 A.3.4. ARIA_256_CCM_8 1204 Key: 0c5ffd37a11edc42c325287fc0604f2e 1205 3e8cd5671a00fe3216aa5eb105783b54 1207 Encrypted RTP Payload: ff78128ee18ee3cb9fb0d20726a017ff 1208 67fbd09d3a4c38aa32f6d306d3fdda37 1209 8e459b83ed005507449d6cd981a4c1e3 1210 ff4193870c276ef09b6317a01a228320 1211 6ae4b4be0d0b235422c8abb001224106 1212 56b75e1ffc7fb49c0d0c5d6169aa7623 1213 610579968037aee8e83fc26264ea8665 1214 90fd620aa3c0a5f323d953aa7f8defb0 1215 d0d60ab5a9de44dbaf8eae74ea3ab5f3 1216 0594154f405fd630aa4c4d5603efdfa1 1218 Authentication Tag: 828dc0088f99a7ef 1220 A.3.5. ARIA_128_CCM_12 1221 Key: 974bee725d44fc3992267b284c3c6750 1223 Encrypted RTP Payload: 621e408a2e455505b39f704dcbac4307 1224 daabbd6d670abc4e42f2fd2fca263f09 1225 4f4683e6fb0b10c5093d42b69dce0ba5 1226 46520e7c4400975713f3bde93ef13116 1227 0b9cbcd6df78a1502be7c6ea8d395b9e 1228 d0078819c3105c0ab92cb67b16ba51bb 1229 1f53508738bf7a37c9a905439b88b7af 1230 9d51a407916fdfea8d43bf253721846d 1231 c1671391225fc58d9d0693c8ade6a4ff 1232 b034ee6543dd4e651b7a084eae60f855 1234 Authentication Tag: 01f3dedd15238da5ebfb1590 1236 A.3.6. ARIA_256_CCM_12 1238 Key: 0c5ffd37a11edc42c325287fc0604f2e 1239 3e8cd5671a00fe3216aa5eb105783b54 1241 Encrypted RTP Payload: ff78128ee18ee3cb9fb0d20726a017ff 1242 67fbd09d3a4c38aa32f6d306d3fdda37 1243 8e459b83ed005507449d6cd981a4c1e3 1244 ff4193870c276ef09b6317a01a228320 1245 6ae4b4be0d0b235422c8abb001224106 1246 56b75e1ffc7fb49c0d0c5d6169aa7623 1247 610579968037aee8e83fc26264ea8665 1248 90fd620aa3c0a5f323d953aa7f8defb0 1249 d0d60ab5a9de44dbaf8eae74ea3ab5f3 1250 0594154f405fd630aa4c4d5603efdfa1 1252 Authentication Tag: 3615b7f90a651de15da20fb6 1254 A.4. Key Derivation Test Vector 1256 This section provides test vectors for the default key derivation 1257 function, which uses ARIA in Counter Mode. In the following, we walk 1258 through the initial key derivation for the ARIA Counter Mode cipher, 1259 which requires a 16/24/32 octet session encryption key according to 1260 the session encryption key length and a 14 octet session salt, and an 1261 authentication function which requires a 94 octet session 1262 authentication key. These values are called the cipher key, the 1263 cipher salt, and the auth key in the following. The test vectors are 1264 generated in the same way with the test vectors of key derivation 1265 functions in [RFC3711] and [RFC6188] but with each invocation of AES 1266 replaced with an invocation of ARIA. 1268 A.4.1. ARIA_128 1270 The inputs to the key derivation function are the 16 octet master key 1271 and the 14 octet master salt: 1273 master key: e1f97a0d3e018be0d64fa32c06de4139 1274 master salt: 0ec675ad498afeebb6960b3aabe6 1276 index DIV kdr: 000000000000 1277 label: 00 1278 master salt: 0ec675ad498afeebb6960b3aabe6 1279 ----------------------------------------------- 1280 xor: 0ec675ad498afeebb6960b3aabe6 (x, PRF input) 1282 x*2^16: 0ec675ad498afeebb6960b3aabe60000 (ARIA-CTR input) 1284 cipher key: dbd85a3c4d9219b3e81f7d942e299de4 (ARIA-CTR output) 1286 ARIA-CTR crypto suite requires 14 octet cipher salt while ARIA-CCM 1287 and ARIA-GCM crypto suites require 12 octet cipher salt. 1289 index DIV kdr: 000000000000 1290 label: 02 1291 master salt: 0ec675ad498afeebb6960b3aabe6 1292 ---------------------------------------------- 1293 xor: 0ec675ad498afee9b6960b3aabe6 (x, PRF input) 1295 x*2^16: 0ec675ad498afee9b6960b3aabe60000 (ARIA-CTR input) 1297 9700657f5f34161830d7d85f5dc8be7f (ARIA-CTR output) 1299 cipher salt: 9700657f5f34161830d7d85f5dc8 (ARIA-CTR cipher 1300 suite) 1301 9700657f5f34161830d7d85f (ARIA-CCM or 1302 ARIA-GCM cipher suite) 1303 index DIV kdr: 000000000000 1304 label: 01 1305 master salt: 0ec675ad498afeebb6960b3aabe6 1306 ----------------------------------------------- 1307 xor: 0ec675ad498afeeab6960b3aabe6 (x, PRF input) 1309 x*2^16: 0ec675ad498afeeab6960b3aabe60000 (ARIA-CTR input) 1311 Below, the auth key is shown on the left, while the corresponding 1312 ARIA input blocks are shown on the right. 1314 auth key ARIA input blocks 1316 d021877bd3eaf92d581ed70ddc050e03 0ec675ad498afeeab6960b3aabe60000 1317 f11257032676f2a29f57b21abd3a1423 0ec675ad498afeeab6960b3aabe60001 1318 769749bdc5dd9ca5b43ca6b6c1f3a7de 0ec675ad498afeeab6960b3aabe60002 1319 4047904bcf811f601cc03eaa5d7af6db 0ec675ad498afeeab6960b3aabe60003 1320 9f88efa2e51ca832fc2a15b126fa7be2 0ec675ad498afeeab6960b3aabe60004 1321 469af896acb1852c31d822c45799 0ec675ad498afeeab6960b3aabe60005 1323 A.4.2. ARIA_192 1325 The inputs to the key derivation function are the 24 octet master key 1326 and the 14 octet master salt: 1328 master key: 0c5ffd37a11edc42c325287fc0604f2e3e8cd5671a00fe32 1329 master salt: 0ec675ad498afeebb6960b3aabe6 1331 index DIV kdr: 000000000000 1332 label: 00 1333 master salt: 0ec675ad498afeebb6960b3aabe6 1334 ----------------------------------------------- 1335 xor: 0ec675ad498afeebb6960b3aabe6 (x, PRF input) 1337 x*2^16: 0ec675ad498afeebb6960b3aabe60000 (ARIA-CTR input) 1339 cipher key: f320af2386a1cde64c3aa5f55d68002e (ARIA-CTR 1st output) 1340 d13cbe548b627649 (ARIA-CTR 2nd Output) 1342 ARIA-CTR cipher suite requires 14 octet cipher salt while ARIA-CCM 1343 and ARIA-GCM cipher suites require 12 octet cipher salt. 1345 index DIV kdr: 000000000000 1346 label: 02 1347 master salt: 0ec675ad498afeebb6960b3aabe6 1348 ---------------------------------------------- 1349 xor: 0ec675ad498afee9b6960b3aabe6 (x, PRF input) 1351 x*2^16: 0ec675ad498afee9b6960b3aabe60000 (ARIA-CTR input) 1353 55c7e3555baf0fdc91c589cfb871b098 (ARIA-CTR output) 1355 cipher salt: 55c7e3555baf0fdc91c589cfb871 (ARIA-CTR cipher 1356 suite) 1357 55c7e3555baf0fdc91c589cf (ARIA-CCM or 1358 ARIA-GCM cipher suite) 1359 index DIV kdr: 000000000000 1360 label: 01 1361 master salt: 0ec675ad498afeebb6960b3aabe6 1362 ----------------------------------------------- 1363 xor: 0ec675ad498afeeab6960b3aabe6 (x, PRF input) 1365 x*2^16: 0ec675ad498afeeab6960b3aabe60000 (ARIA-CTR input) 1367 Below, the auth key is shown on the left, while the corresponding 1368 ARIA input blocks are shown on the right. 1370 auth key ARIA input blocks 1372 116902524517f7e767a979ad7678d53a 0ec675ad498afeeab6960b3aabe60000 1373 8cae05a5c9a315d1304f634c81a06617 0ec675ad498afeeab6960b3aabe60001 1374 31fe099d4dcd2202421fe01fc12c65ad 0ec675ad498afeeab6960b3aabe60002 1375 009e920031654855af5d9e820a7831e0 0ec675ad498afeeab6960b3aabe60003 1376 bc2b4744d2a33053eb685138252f2d82 0ec675ad498afeeab6960b3aabe60004 1377 9a89f4a9aa4f97fde0cce9bad3d5 0ec675ad498afeeab6960b3aabe60005 1379 A.4.3. ARIA_256 1381 The inputs to the key derivation function are the 32 octet master key 1382 and the 14 octet master salt: 1384 master key: 0c5ffd37a11edc42c325287fc0604f2e 1385 3e8cd5671a00fe3216aa5eb105783b54 1386 master salt: 0ec675ad498afeebb6960b3aabe6 1388 index DIV kdr: 000000000000 1389 label: 00 1390 master salt: 0ec675ad498afeebb6960b3aabe6 1391 ----------------------------------------------- 1392 xor: 0ec675ad498afeebb6960b3aabe6 (x, PRF input) 1394 x*2^16: 0ec675ad498afeebb6960b3aabe60000 (ARIA-CTR input) 1396 cipher key: 0649a09d93755fe9c2b2efba1cce930a (ARIA-CTR 1st output) 1397 f2e76ce8b77e4b175950321aa94b0cf4 (ARIA-CTR 2nd output) 1399 ARIA-CTR cipher suite requires 14 octet cipher salt while ARIA-CCM 1400 and ARIA-GCM cipher suites require 12 octet cipher salt. 1402 index DIV kdr: 000000000000 1403 label: 02 1404 master salt: 0ec675ad498afeebb6960b3aabe6 1405 ---------------------------------------------- 1406 xor: 0ec675ad498afee9b6960b3aabe6 (x, PRF input) 1408 x*2^16: 0ec675ad498afee9b6960b3aabe60000 (ARIA-CTR input) 1410 194abaa8553a8eba8a413a340fc80a3d (ARIA-CTR output) 1412 cipher salt: 194abaa8553a8eba8a413a340fc8 (ARIA-CTR cipher 1413 suite) 1414 194abaa8553a8eba8a413a34 (ARIA-CCM or 1415 ARIA-GCM cipher suite) 1417 index DIV kdr: 000000000000 1418 label: 01 1419 master salt: 0ec675ad498afeebb6960b3aabe6 1420 ----------------------------------------------- 1421 xor: 0ec675ad498afeeab6960b3aabe6 (x, PRF input) 1423 x*2^16: 0ec675ad498afeeab6960b3aabe60000 (ARIA-CTR input) 1425 Below, the auth key is shown on the left, while the corresponding 1426 ARIA input blocks are shown on the right. 1428 auth key ARIA input blocks 1430 e58d42915873b71899234807334658f2 0ec675ad498afeeab6960b3aabe60000 1431 0bc460181d06e02b7a9e60f02ff10bfc 0ec675ad498afeeab6960b3aabe60001 1432 9ade3795cf78f3e0f2556d9d913470c4 0ec675ad498afeeab6960b3aabe60002 1433 e82e45d254bfb8e2933851a3930ffe7d 0ec675ad498afeeab6960b3aabe60003 1434 fca751c03ec1e77e35e28dac4f17d1a5 0ec675ad498afeeab6960b3aabe60004 1435 80bdac028766d3b1e8f5a41faa3c 0ec675ad498afeeab6960b3aabe60005 1437 Authors' Addresses 1439 Woo-Hwan Kim 1440 National Security Research Institute 1441 P.O.Box 1, Yuseong 1442 Daejeon 305-350 1443 Korea 1445 EMail: whkim5@ensec.re.kr 1446 Jungkeun Lee 1447 National Security Research Institute 1448 P.O.Box 1, Yuseong 1449 Daejeon 305-350 1450 Korea 1452 EMail: jklee@ensec.re.kr 1454 Dong-Chan Kim 1455 National Security Research Institute 1456 P.O.Box 1, Yuseong 1457 Daejeon 305-350 1458 Korea 1460 EMail: dongchan@ensec.re.kr 1462 Je-Hong Park 1463 National Security Research Institute 1464 P.O.Box 1, Yuseong 1465 Daejeon 305-350 1466 Korea 1468 EMail: jhpark@ensec.re.kr 1470 Daesung Kwon 1471 National Security Research Institute 1472 P.O.Box 1, Yuseong 1473 Daejeon 305-350 1474 Korea 1476 EMail: ds_kwon@ensec.re.kr