1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781
|
<pre>Network Working Group S. Moriai
Request for Comments: 3657 Sony Computer Entertainment Inc.
Category: Standards Track A. Kato
NTT Software Corporation
January 2004
<span class="h1">Use of the Camellia Encryption Algorithm</span>
<span class="h1">in Cryptographic Message Syntax (CMS)</span>
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2004). All Rights Reserved.
Abstract
This document specifies the conventions for using the Camellia
encryption algorithm for encryption with the Cryptographic Message
Syntax (CMS).
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document specifies the conventions for using the Camellia
encryption algorithm [<a href="#ref-CamelliaSpec" title=""Specification of Camellia - a 128-bit Block Cipher"">CamelliaSpec</a>] for encryption with the
Cryptographic Message Syntax (CMS) [<a href="#ref-CMS" title=""Cryptographic Message Syntax"">CMS</a>]. The relevant object
identifiers (OIDs) and processing steps are provided so that Camellia
may be used in the CMS specification (<a href="./rfc3369">RFC 3369</a>, <a href="./rfc3370">RFC 3370</a>) for content
and key encryption.
Note: This work was done when the first author worked for NTT.
<span class="grey">Moriai & Kato Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Camellia</span>
Camellia was jointly developed by Nippon Telegraph and Telephone
Corporation and Mitsubishi Electric Corporation in 2000. Camellia
specifies the 128-bit block size and 128-, 192-, and 256-bit key
sizes, the same interface as the Advanced Encryption Standard (AES).
Camellia is characterized by its suitability for both software and
hardware implementations as well as its high level of security. From
a practical viewpoint, it is designed to enable flexibility in
software and hardware implementations on 32-bit processors widely
used over the Internet and many applications, 8-bit processors used
in smart cards, cryptographic hardware, embedded systems, and so on
[<a href="#ref-CamelliaTech" title=""Camellia: A 128-Bit Block Cipher Suitable for Multiple Platforms - Design and Analysis -"">CamelliaTech</a>]. Moreover, its key setup time is excellent, and its
key agility is superior to that of AES.
Camellia has been scrutinized by the wide cryptographic community
during several projects for evaluating crypto algorithms. In
particular, Camellia was selected as a recommended cryptographic
primitive by the EU NESSIE (New European Schemes for Signatures,
Integrity and Encryption) project [<a href="#ref-NESSIE">NESSIE</a>] and also included in the
list of cryptographic techniques for Japanese e-Government systems
which were selected by the Japan CRYPTREC (Cryptography Research and
Evaluation Committees) [<a href="#ref-CRYPTREC" title="Japan">CRYPTREC</a>].
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Terminology</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHOULD", "SHOULD NOT",
"RECOMMENDED", "MAY", and "OPTIONAL" in this document (in uppercase,
as shown) are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Object Identifiers for Content and Key Encryption</span>
This section provides the OIDs and processing information necessary
for Camellia to be used for content and key encryption in CMS.
Camellia is added to the set of optional symmetric encryption
algorithms in CMS by providing two classes of unique object
identifiers (OIDs). One OID class defines the content encryption
algorithms and the other defines the key encryption algorithms. Thus
a CMS agent can apply Camellia either for content or key encryption
by selecting the corresponding object identifier, supplying the
required parameter, and starting the program code.
<span class="grey">Moriai & Kato Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. OIDs for Content Encryption</span>
Camellia is added to the set of symmetric content encryption
algorithms defined in [<a href="#ref-CMSALG" title=""Cryptographic Message Syntax (CMS) Algorithms"">CMSALG</a>]. The Camellia content-encryption
algorithm, in Cipher Block Chaining (CBC) mode, for the three
different key sizes are identified by the following object
identifiers:
id-camellia128-cbc OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) symmetric-encryption-algorithm(1)
camellia128-cbc(2) }
id-camellia192-cbc OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) symmetric-encryption-algorithm(1)
camellia192-cbc(3) }
id-camellia256-cbc OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) symmetric-encryption-algorithm(1)
camellia256-cbc(4) }
The AlgorithmIdentifier parameters field MUST be present, and the
parameters field MUST contain the value of IV:
CamelliaCBCParameter ::= CamelliaIV -- Initialization Vector
CamelliaIV ::= OCTET STRING (SIZE(16))
The plain text is padded according to Section 6.3 of [<a href="#ref-CMS" title=""Cryptographic Message Syntax"">CMS</a>].
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. OIDs for Key Encryption</span>
The key-wrap/unwrap procedures used to encrypt/decrypt a Camellia
content-encryption key (CEK) with a Camellia key-encryption key (KEK)
are specified in <a href="#section-3">Section 3</a>. Generation and distribution of key-
encryption keys are beyond the scope of this document.
The Camellia key-encryption algorithm has the following object
identifier:
id-camellia128-wrap OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) key-wrap-algorithm(3)
camellia128-wrap(2) }
<span class="grey">Moriai & Kato Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
id-camellia192-wrap OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) key-wrap-algorithm(3)
camellia192-wrap(3) }
id-camellia256-wrap OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) key-wrap-algorithm(3)
camellia256-wrap(4) }
In all cases the parameters field of AlgorithmIdentifier MUST be
ABSENT, because the key wrapping procedure itself defines how and
when to use an IV. The OID gives the KEK key size, but does not make
any statements as to the size of the wrapped Camellia CEK.
Implementations MAY use different KEK and CEK sizes. Implementations
MUST support the CEK and the KEK having the same length. If
different lengths are supported, the KEK MUST be of equal or greater
length than the CEK.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Key Wrap Algorithm</span>
Camellia key wrapping and unwrapping are done in conformance with the
AES key wrap algorithm [<a href="./rfc3394" title=""Advanced Encryption Standard (AES) Key Wrap Algorithm"">RFC3394</a>], because Camellia and AES have the
same block and key sizes, i.e., the block size of 128 bits and key
sizes of 128, 192, and 256 bits.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Notation and Definitions</span>
The following notation is used in the description of the key wrapping
algorithms:
Camellia(K, W)
Encrypt W using the Camellia codebook with key K
Camellia-1(K, W)
Decrypt W using the Camellia codebook with key K
MSB(j, W) Return the most significant j bits of W
LSB(j, W) Return the least significant j bits of W
B1 ^ B2 The bitwise exclusive or (XOR) of B1 and B2
B1 | B2 Concatenate B1 and B2
K The key-encryption key K
n The number of 64-bit key data blocks
s The number of steps in the wrapping process, s = 6n
P[i] The ith plaintext key data block
C[i] The ith ciphertext data block
A The 64-bit integrity check register
R[i] An array of 64-bit registers where
i = 0, 1, 2, ..., n
<span class="grey">Moriai & Kato Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
A[t], R[t][i] The contents of registers A and R[i] after encryption
step t.
IV The 64-bit initial value used during the wrapping
process.
In the key wrap algorithm, the concatenation function will be used to
concatenate 64-bit quantities to form the 128-bit input to the
Camellia codebook. The extraction functions will be used to split
the 128-bit output from the Camellia codebook into two 64-bit
quantities.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Camellia Key Wrap</span>
Key wrapping with Camellia is identical to <a href="./rfc3394#section-2.2.1">Section 2.2.1 of [RFC3394]</a>
with "AES" replaced by "Camellia".
The inputs to the key wrapping process are the KEK and the plaintext
to be wrapped. The plaintext consists of n 64-bit blocks, containing
the key data being wrapped. The key wrapping process is described
below.
Inputs: Plaintext, n 64-bit values {P[1], P[2], ..., P[n]},
and Key, K (the KEK).
Outputs: Ciphertext, (n+1) 64-bit values {C[0], C[1], ...,
C[n]}.
1) Initialize variables.
Set A[0] to an initial value (see <a href="#section-3.4">Section 3.4</a>)
For i = 1 to n
R[0][i] = P[i]
2) Calculate intermediate values.
For t = 1 to s, where s = 6n
A[t] = MSB(64, Camellia(K, A[t-1] | R[t-1][1])) ^ t
For i = 1 to n-1
R[t][i] = R[t-1][i+1]
R[t][n] = LSB(64, Camellia(K, A[t-1] | R[t-1][1]))
3) Output the results.
Set C[0] = A[t]
For i = 1 to n
C[i] = R[t][i]
<span class="grey">Moriai & Kato Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
An alternative description of the key wrap algorithm involves
indexing rather than shifting. This approach allows one to calculate
the wrapped key in place, avoiding the rotation in the previous
description. This produces identical results and is more easily
implemented in software.
Inputs: Plaintext, n 64-bit values {P[1], P[2], ..., P[n]},
and Key, K (the KEK).
Outputs: Ciphertext, (n+1) 64-bit values {C[0], C[1], ...,
C[n]}.
1) Initialize variables.
Set A = IV, an initial value (see <a href="#section-3.4">Section 3.4</a>)
For i = 1 to n
R[i] = P[i]
2) Calculate intermediate values.
For j = 0 to 5
For i=1 to n
B = Camellia(K, A | R[i])
A = MSB(64, B) ^ t where t = (n*j)+i
R[i] = LSB(64, B)
3) Output the results.
Set C[0] = A
For i = 1 to n
C[i] = R[i]
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Camellia Key Unwrap</span>
Key unwrapping with Camellia is identical to <a href="./rfc3394#section-2.2.2">Section 2.2.2 of
[RFC3394]</a>, with "AES" replaced by "Camellia".
The inputs to the unwrap process are the KEK and (n+1) 64-bit blocks
of ciphertext consisting of previously wrapped key. It returns n
blocks of plaintext consisting of the n 64-bit blocks of the
decrypted key data.
Inputs: Ciphertext, (n+1) 64-bit values {C[0], C[1], ..., C[n]},
and Key, K (the KEK).
Outputs: Plaintext, n 64-bit values {P[1], P[2], ..., P[n]}.
<span class="grey">Moriai & Kato Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
1) Initialize variables.
Set A[s] = C[0] where s = 6n
For i = 1 to n
R[s][i] = C[i]
2) Calculate the intermediate values.
For t = s to 1
A[t-1] = MSB(64, Camellia-1(K, ((A[t] ^ t) | R[t][n]))
R[t-1][1] = LSB(64, Camellia-1(K, ((A[t]^t) | R[t][n]))
For i = 2 to n
R[t-1][i] = R[t][i-1]
3) Output the results.
If A[0] is an appropriate initial value (see <a href="#section-3.4">Section 3.4</a>),
Then
For i = 1 to n
P[i] = R[0][i]
Else
Return an error
The unwrap algorithm can also be specified as an index based
operation, allowing the calculations to be carried out in place.
Again, this produces the same results as the register shifting
approach.
Inputs: Ciphertext, (n+1) 64-bit values {C[0], C[1], ..., C[n]},
and Key, K (the KEK).
Outputs: Plaintext, n 64-bit values {P[0], P[1], ..., P[n]}.
1) Initialize variables.
Set A = C[0]
For i = 1 to n
R[i] = C[i]
2) Calculate intermediate values.
For j = 5 to 0
For i = n to 1
B = Camellia-1(K, (A ^ t) | R[i]) where t = n*j+i
A = MSB(64, B)
R[i] = LSB(64, B)
<span class="grey">Moriai & Kato Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
3) Output results.
If A is an appropriate initial value (see <a href="#section-3.4">Section 3.4</a>),
Then
For i = 1 to n
P[i] = R[i]
Else
Return an error
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Key Data Integrity -- the Initial Value</span>
The initial value (IV) refers to the value assigned to A[0] in the
first step of the wrapping process. This value is used to obtain an
integrity check on the key data. In the final step of the unwrapping
process, the recovered value of A[0] is compared to the expected
value of A[0]. If there is a match, the key is accepted as valid,
and the unwrapping algorithm returns it. If there is not a match,
then the key is rejected, and the unwrapping algorithm returns an
error.
The exact properties achieved by this integrity check depend on the
definition of the initial value. Different applications may call for
somewhat different properties; for example, whether there is need to
determine the integrity of key data throughout its lifecycle or just
when it is unwrapped. This specification defines a default initial
value that supports integrity of the key data during the period it is
wrapped (in <a href="#section-3.4.1">Section 3.4.1</a>). Provision is also made to support
alternative initial values (in <a href="#section-3.4.2">Section 3.4.2</a>).
<span class="h4"><a class="selflink" id="section-3.4.1" href="#section-3.4.1">3.4.1</a>. Default Initial Value</span>
The default initial value (IV) is defined to be the hexadecimal
constant:
A[0] = IV = A6A6A6A6A6A6A6A6
The use of a constant as the IV supports a strong integrity check on
the key data during the period that it is wrapped. If unwrapping
produces A[0] = A6A6A6A6A6A6A6A6, then the chance that the key data
is corrupt is 2^-64. If unwrapping produces A[0] any other value,
then the unwrap must return an error and not return any key data.
<span class="h4"><a class="selflink" id="section-3.4.2" href="#section-3.4.2">3.4.2</a>. Alternative Initial Values</span>
When the key wrap is used as part of a larger key management protocol
or system, the desired scope for data integrity may be more than just
the key data or the desired duration for more than just the period
that it is wrapped. Also, if the key data is not just a Camellia
<span class="grey">Moriai & Kato Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
key, it may not always be a multiple of 64 bits. Alternative
definitions of the initial value can be used to address such
problems. According to [<a href="./rfc3394" title=""Advanced Encryption Standard (AES) Key Wrap Algorithm"">RFC3394</a>], NIST will define alternative
initial values in future key management publications as needed. In
order to accommodate a set of alternatives that may evolve over time,
key wrap implementations that are not application-specific will
require some flexibility in the way that the initial value is set and
tested.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. SMIMECapabilities Attribute</span>
An S/MIME client SHOULD announce the set of cryptographic functions
it supports by using the S/MIME capabilities attribute. This
attribute provides a partial list of OIDs of cryptographic functions
and MUST be signed by the client. The functions' OIDs SHOULD be
logically separated in functional categories and MUST be ordered with
respect to their preference.
<a href="./rfc2633">RFC 2633</a> <a href="./rfc2633#section-2.5.2">[RFC2633], Section 2.5.2</a> defines the SMIMECapabilities
signed attribute (defined as a SEQUENCE of SMIMECapability SEQUENCEs)
to be used to specify a partial list of algorithms that the software
announcing the SMIMECapabilities can support.
If an S/MIME client is required to support symmetric encryption with
Camellia, the capabilities attribute MUST contain the Camellia OID
specified above in the category of symmetric algorithms. The
parameter associated with this OID MUST be CamelliaSMimeCapability.
CamelliaSMimeCapabilty ::= NULL
The SMIMECapability SEQUENCE representing Camellia MUST be DER-
encoded as the following hexadecimal strings:
Key Size Capability
128 30 0f 06 0b 2a 83 08 8c 9a 4b 3d 01 01 01 02 05 00
196 30 0f 06 0b 2a 83 08 8c 9a 4b 3d 01 01 01 03 05 00
256 30 0f 06 0b 2a 83 08 8c 9a 4b 3d 01 01 01 04 05 00
When a sending agent creates an encrypted message, it has to decide
which type of encryption algorithm to use. In general the decision
process involves information obtained from the capabilities lists
included in messages received from the recipient, as well as other
information such as private agreements, user preferences, legal
restrictions, and so on. If users require Camellia for symmetric
encryption, it MUST be supported by the S/MIME clients on both the
sending and receiving side, and it MUST be set in the user
preferences.
<span class="grey">Moriai & Kato Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Security Considerations</span>
This document specifies the use of Camellia for encrypting the
content of a CMS message and for encrypting the symmetric key used to
encrypt the content of a CMS message, and the other mechanisms are
the same as the existing ones. Therefore, the security
considerations described in the CMS specifications [<a href="#ref-CMS" title=""Cryptographic Message Syntax"">CMS</a>][CMSALG] and
the AES key wrap algorithm [<a href="./rfc3394" title=""Advanced Encryption Standard (AES) Key Wrap Algorithm"">RFC3394</a>] can be applied to this document.
No security problem has been found on Camellia [<a href="#ref-CRYPTREC" title="Japan">CRYPTREC</a>][NESSIE].
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Intellectual Property Statement</span>
The IETF takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; neither does it represent that it
has made any effort to identify any such rights. Information on the
IETF's procedures with respect to rights in standards-track and
standards-related documentation can be found in <a href="https://www.rfc-editor.org/bcp/bcp11">BCP-11</a>. Copies of
claims of rights made available for publication and any assurances of
licenses to be made available, or the result of an attempt made to
obtain a general license or permission for the use of such
proprietary rights by implementors or users of this specification can
be obtained from the IETF Secretariat.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to practice
this standard. Please address the information to the IETF Executive
Director.
The IETF has been notified of intellectual property rights claimed in
regard to some or all of the specification contained in this
document. For more information consult the online list of claimed
rights.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. References</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Normative References</span>
[<a id="ref-CamelliaSpec">CamelliaSpec</a>] Aoki, K., Ichikawa, T., Kanda, M., Matsui, M., Moriai,
S., Nakajima, J., and Tokita, T., "Specification of
Camellia - a 128-bit Block Cipher".
<a href="http://info.isl.ntt.co.jp/camellia/">http://info.isl.ntt.co.jp/camellia/</a>
[<a id="ref-CMS">CMS</a>] Housley, R., "Cryptographic Message Syntax", <a href="./rfc3369">RFC 3369</a>,
August 2002.
<span class="grey">Moriai & Kato Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
[<a id="ref-CMSALG">CMSALG</a>] Housley, R., "Cryptographic Message Syntax (CMS)
Algorithms", <a href="./rfc3370">RFC 3370</a>, August 2002.
[<a id="ref-RFC2633">RFC2633</a>] Ramsdell, B., Editor, "S/MIME Version 3 Message
Specification", <a href="./rfc2633">RFC 2633</a>, June 1999.
[<a id="ref-RFC3565">RFC3565</a>] Schaad, J., "Use of the Advanced Encryption Standard
(AES) Encryption Algorithm in Cryptographic Message
Syntax (CMS)", <a href="./rfc3565">RFC 3565</a>, July 2003.
[<a id="ref-RFC3394">RFC3394</a>] Schaad, J. and R. Housley, "Advanced Encryption
Standard (AES) Key Wrap Algorithm", <a href="./rfc3394">RFC 3394</a>,
September 2002.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Informative References</span>
[<a id="ref-DES">DES</a>] National Institute of Standards and Technology. FIPS
Pub 46: Data Encryption Standard. 15 January 1977.
[<a id="ref-CamelliaTech">CamelliaTech</a>] Aoki, K., Ichikawa, T., Kanda, M., Matsui, M., Moriai,
S., Nakajima, J., and Tokita, T., "Camellia: A 128-Bit
Block Cipher Suitable for Multiple Platforms - Design
and Analysis -", In Selected Areas in Cryptography,
7th Annual International Workshop, SAC 2000, August
2000, Proceedings, Lecture Notes in Computer Science
2012, pp.39-56, Springer-Verlag, 2001.
[<a id="ref-CRYPTREC">CRYPTREC</a>] Information-technology Promotion Agency (IPA), Japan,
CRYPTREC.
<a href="http://www.ipa.go.jp/security/enc/CRYPTREC/index-e.html">http://www.ipa.go.jp/security/enc/CRYPTREC/index-</a>
<a href="http://www.ipa.go.jp/security/enc/CRYPTREC/index-e.html">e.html</a>
[<a id="ref-NESSIE">NESSIE</a>] New European Schemes for Signatures, Integrity and
Encryption (NESSIE) project.
<a href="http://www.cryptonessie.org">http://www.cryptonessie.org</a>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
<span class="grey">Moriai & Kato Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
Appendix A ASN.1 Module
CamelliaEncryptionAlgorithmInCMS
{ iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs9(9) smime(16) modules(0) id-mod-cms-camellia(23) }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- Camellia using CBC-chaining mode for key sizes of 128, 192, 256
id-camellia128-cbc OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) symmetric-encryption-algorithm(1)
camellia128-cbc(2) }
id-camellia192-cbc OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) symmetric-encryption-algorithm(1)
camellia192-cbc(3) }
id-camellia256-cbc OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) symmetric-encryption-algorithm(1)
camellia256-cbc(4) }
-- Camellia-IV is the parameter for all the above object identifiers.
Camellia-IV ::= OCTET STRING (SIZE(16))
-- Camellia S/MIME Capabilty parameter for all the above object
-- identifiers.
CamelliaSMimeCapability ::= NULL
-- Camellia Key Wrap Algorithm identifiers - Parameter is absent.
id-camellia128-wrap OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) key-wrap-algorithm(3)
camellia128-wrap(2) }
id-camellia192-wrap OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) key-wrap-algorithm(3)
camellia192-wrap(3) }
<span class="grey">Moriai & Kato Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
id-camellia256-wrap OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) 392 200011 61 security(1)
algorithm(1) key-wrap-algorithm(3)
camellia256-wrap(4) }
END
Authors' Addresses
Shiho Moriai
Sony Computer Entertainment Inc.
Phone: +81-3-6438-7523
Fax: +81-3-6438-8629
EMail: camellia@isl.ntt.co.jp (Camellia team)
shiho@rd.scei.sony.co.jp (Shiho Moriai)
Akihiro Kato
NTT Software Corporation
Phone: +81-45-212-7934
Fax: +81-45-212-9800
EMail: akato@po.ntts.co.jp
<span class="grey">Moriai & Kato Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc3657">RFC 3657</a> Use of the Camellia Algorithm in CMS January 2004</span>
Full Copyright Statement
Copyright (C) The Internet Society (2004). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assignees.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Moriai & Kato Standards Track [Page 14]
</pre>
|