Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 Software Version: 1.0 and 1.1; Hardware Version: SPARC T4 (527- 1437-01) and SPARC T5 (7043165) FIPS 140-2 Non-Proprietary Security Policy Level 1 Validation Version 1.4 2014-01-10 © Copyright 2014 Oracle Corporation This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Table of Contents INTRODUCTION............................................................................................................ 3 PURPOSE ........................................................................................................................ 3 REFERENCES ................................................................................................................... 3 DOCUMENT ORGANIZATION .............................................................................................. 3 ORACLE SOLARIS USERLAND CRYPTOGRAPHIC FRAMEWORK WITH SPARC T4 AND T5 SOFTWARE VERSION: 1.0 AND 1.1; HARDWARE VERSION: SPARC T4 (527-1437-01) AND SPARC T5 (7043165) ...................................................................................... 4 OVERVIEW...................................................................................................................... 4 MODULE SPECIFICATION .................................................................................................. 5 MODULE INTERFACES .................................................................................................... 11 ROLES AND SERVICES .................................................................................................... 13 Crypto-Officer Role ................................................................................................... 14 User Role .................................................................................................................. 14 PHYSICAL SECURITY ...................................................................................................... 15 OPERATIONAL ENVIRONMENT ......................................................................................... 16 CRYPTOGRAPHIC KEY MANAGEMENT .............................................................................. 16 SELF-TESTS .................................................................................................................. 23 Power-Up Self-tests ................................................................................................... 23 Conditional Self-tests ................................................................................................. 23 MITIGATION OF OTHER ATTACKS .................................................................................... 24 SECURE OPERATION ................................................................................................. 25 INITIAL SETUP ............................................................................................................... 25 CRYPTO-OFFICER GUIDANCE .......................................................................................... 26 Initialization .............................................................................................................. 26 Management ............................................................................................................. 26 Zeroization ................................................................................................................ 26 USER GUIDANCE ........................................................................................................... 27 ACRONYMS ................................................................................................................. 28 © Copyright 2014 Oracle Corporation Page 2 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Introduction Purpose This is a non-proprietary Cryptographic Module Security Policy for the Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 Software Version: 1.0 and 1.1; Hardware Version: SPARC T4 (527-1437-01) and SPARC T5 (7043165) from Oracle Corporation (Oracle). This Security Policy describes how the Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 Software Version: 1.0 and 1.1; Hardware Version: SPARC T4 (527-1437-01) and SPARC T5 (7043165) meets the security requirements of FIPS 140-2 (Federal Information Processing Standards Publication 140-2 — Security Requirements for Cryptographic Modules) and how to run the module in a secure FIPS 140-2 mode. This policy was prepared as part of the Level 1 FIPS 140-2 validation of the module. FIPS 140-2 details the U.S. Government requirements for cryptographic modules. More information about the FIPS 140-2 standard and validation program is available on the National Institute of Standards and Technology (NIST) Cryptographic Module Validation Program (CMVP) website at http://csrc.nist.gov/cryptval/. References This document deals only with operations and capabilities of the module in the technical terms of a FIPS 140-2 cryptographic module security policy. More information is available on the module from the following sources: • The Oracle Corporation website (http://www.oracle.com) contains information on the full line of products from Oracle. • The CMVP website (http://csrc.nist.gov/cryptval/) contains contact information for answers to technical or sales-related questions for the module. Document Organization The Security Policy document is one document in a FIPS 140-2 Submission Package. In addition to this document, the Submission Package contains: Vendor Evidence document Finite State Machine Other supporting documentation as additional references With the exception of this Non-Proprietary Security Policy, the FIPS 140-2 Validation Documentation is proprietary to Oracle Corporation and is releasable only under appropriate non-disclosure agreements. For access to these documents, please contact Oracle Corporation. © Copyright 2014 Oracle Corporation Page 3 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. ORACLE SOLARIS USERLAND CRYPTOGRAPHIC FRAMEWORK WITH SPARC T4 AND SPARC T5 SOFTWARE VERSION: 1.0 AND 1.1; HARDWARE VERSION: SPARC T4 (527-1437-01) AND SPARC T5 (7043165) Overview The Oracle Solaris 11 operating system (OS) is a highly configurable UNIX- based operating system that is optimized to quickly and securely deploy services in traditional enterprise data centers, large scale cloud environments and small personal desktop use. Oracle preserves the long-standing guarantee of binary compatibility – applications that run on previous Oracle Solaris releases can still run unchanged on Oracle Solaris 11 within the same processor architecture: x86 or SPARC1. The Oracle Solaris 11 OS can be installed on either x86 or SPARC hardware architectures or run in a virtualized environment. The operating system allows one or more processors and multiple hardware peripheral and storage devices to be accessed by multiple users in order to meet user requirements. Oracle Solaris 11 provides a suite of technologies and applications that create an operating system with optimal performance. Oracle Solaris 11 includes key technologies such as zones, ZFS file system, Image Packaging System (IPS), multiple boot environments, trusted extensions, and cryptographic framework. The Oracle Solaris OS utilizes two cryptographic modules; one in the Userland space and the second in the Kernel space. The OS uses the Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 module for cryptographic functionality for any applications running in user space. It exposes PKCS#112 API3s, uCrypto APIs, and libmd public interfaces to provide cryptography to any application designed to utilize it. The OS also utilizes the FIPS-validated Oracle Solaris Kernel Cryptographic Framework module to provide cryptographic functionality for any kernel-level processes that require it. It does this via Oracle-proprietary APIs. This document will focus on the Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 module. The Oracle Solaris Kernel Cryptographic Framework is discussed in another FIPS 140-2 Non-proprietary Security Policy. The module meets overall level 1 requirements for FIPS 140-2, and Table 1 describes the level achieved by the module in each of the eleven sections of FIPS 140-2 requirements. 1 SPARC – Scalable Processor Architecture 2 PKCS #11 – Public Key Cryptography Standards #11 3 API – Application Programming Interface © Copyright 2014 Oracle Corporation Page 4 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Section Section Title Level 1 Cryptographic Module Specification 1 2 Cryptographic Module Ports and Interfaces 1 3 Roles, Services, and Authentication 1 4 Finite State Model 1 5 Physical Security 1 6 Operational Environment 1 7 Cryptographic Key Management 1 8 EMI/EMC 1 9 Self-tests 1 10 Design Assurance 1 11 Mitigation of Other Attacks N/A Table 1 – Security Level per FIPS 140-2 Section Module Specification The Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 is a software-hybrid module with a multi-chip standalone embodiment. The overall security level of the module is level 1. The following sections will define the physical and logical boundaries of the module. The cryptographic module is a group of libraries that, collectively, are known as the Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 as well as the SPARC4 T4 and SPARC T5 processors, which provide cryptographic hardware acceleration. The module provides cryptographic functionality for any application that calls into it. The module provides encryption, decryption, hashing, signature generation and verification, certificate generation and verification, asymmetric key generation, and message authentication functions. Oracle produces multiple versions of the T4 processor. Oracle affirms that the FIPS module will function the same way and provide the same security services on any of the Oracle-produced T4 processors. This includes the processor in the T4-1 server, T4-1B server, and T4-2 server. This also includes the processor in the T4-4 server which is the same design but runs with a higher clock speed than the version used in T4-1 server. Oracle also produces multiple versions of the T5 processor. Oracle affirms that the FIPS module will function the same way and provide the same security services on any of the Oracle-produced T5 processors. This includes the processors in the T5-2 server, T5-1B server, T5-4 server and the T5-8 server. This also includes the processors in the M5-32 server which has a six-core architecture and a larger memory cache. The module makes use of the SPARC T4 and SPARC T5 processor instruction set for acceleration of cryptographic algorithms. The instruction set can only be utilized 4 SPARC – Scalable Processor Architecture © Copyright 2014 Oracle Corporation Page 5 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. by the libraries that make up the module. The following algorithms are supported by the SPARC T4 and SPARC T5 processors: • AES5 • Triple-DES6 • Diffie-Hellman • DSA7 • ECC8 • MD59 • RSA10 • SHA-111 • SHA-2 Figure 1 and Figure 2, below, are the logical block diagrams for the module. They highlight the libraries that make up the module in orange, while illustrating the module boundary. 5 AES – Advanced Encryption Standard 6 DES – Data Encryption Standard 7 DSA – Digital Signature Algorithm 8 ECC – Elliptic-Curve Cryptography 9 MD5 – Message Digest Algorithm 5 10 RSA – Rivest, Shamir, and Adleman 11 SHA – Secure Hash Algorithm © Copyright 2014 Oracle Corporation Page 6 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Figure 1 - Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 Logical Block Diagram – T4 © Copyright 2014 Oracle Corporation Page 7 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Calling Applications Userland (PKCS #11 API) Cryptographic libpkcs11 libcryptoutil Framework pkcs11_softtoken Libmd public uCrypto libmd libsoftcrypto interface API User Space Hardware Processor (SPARC T5) Legend Data Input / Data Control Input / Module Boundary Output Status Output PKCS – Public-Key Cryptography Standard API – Application Programming Interface Figure 2 – Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 Logical Block Diagram Figure 3, below, shows the hardware block diagram for the T4-1 Server appliance, utilizing the SPARC T4 processor that will execute the module. The processor is shown in Figure 5, below. Figure 4, below, shows the hardware block diagram for the T5-2 Server appliance, utilizing the SPARC T5 processor that will execute the module. The processor is shown in Figure 6, below. © Copyright 2014 Oracle Corporation Page 8 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Figure 3 – T4-1 Server Hardware Block Diagram © Copyright 2014 Oracle Corporation Page 9 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Figure 4 –T5-2 Server Hardware Block Diagram © Copyright 2014 Oracle Corporation Page 10 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Figure 5 – T4 Processor Figure 6 – T5 Processor Module Interfaces The module can be accessed in several different ways, depending on which library the calling application is accessing. The module provides three primary interfaces for requesting cryptographic functionality. • libpkcs11 provides the PKCS #11 interface for accessing the majority of the cryptographic functions of the module, through pkcs11_softtoken, which provides key storage and cryptographic algorithm access. • libsoftcrypto provides an interface known as uCrypto, which allows access to the cryptographic functions contained within libsoftcrypto, for pkcs11_softtoken and direct calls. © Copyright 2014 Oracle Corporation Page 11 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. • While the hashing functions can be called from the PKCS#11 interface, libmd provides its own public interface for accessing hashing functions using SHA-112, SHA-224, SHA-256, SHA-384, and SHA-512. This interface can be utilized via direct calls to the library. Table 2, below, shows the interfaces provided by the module. Figure 7 and Figure 8 below, show the host appliances for the module. These diagrams show the physical ports that are available on the hardware. Figure 7 – T4-1 Server Front and Rear Panel Ports (SPARC T4-based) 12 SHA – Secure Hashing Algorithm © Copyright 2014 Oracle Corporation Page 12 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Figure 8 – T5-2 Server Front and Rear Panel Ports (SPARC T5-based) FIPS 140-2 Module Logical Interface Host Appliance Physical Logical Interface Interface Ethernet, USB, SAS13 port, Serial Data Input PKCS#11 API, uCrypto API, libmd public interface function calls port (RJ-45), DVD optical drive Data Output PKCS#11 API, uCrypto API, libmd Ethernet, USB, SAS port, Serial public interface function returns port (RJ-45) Control Input PKCS#11 API, uCrypto API, libmd Ethernet, USB public interface function calls Status Output PKCS#11 API, uCrypto API, libmd Ethernet, USB, VGA port, LEDs public interface function returns Power Input Not Applicable Power Port Table 2 – FIPS 140-2 Logical Interfaces Roles and Services The module relies on the host OS for authentication. There are two roles in the module (as required by FIPS 140-2) that operators may assume: a Crypto Officer role and a User role. 13 SAS – SCSI (Small Computer System Interface) Assisted Storage © Copyright 2014 Oracle Corporation Page 13 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Crypto-Officer Role The Crypto-Officer is any operator on the host appliance with the permissions to utilize the external cryptoadm utility, or a program with the ability to access the module APIs. The Crypto-Officer role has the ability to enable and disable FIPS mode, check the status of the FIPS module, and configure cryptographic operations of the module, including which providers will be available. The Crypto-Officer is able to utilize these services via the cryptoadm commands. Descriptions of the services available to the Crypto-Officer role are provided in Table 3, below. The Crypto-Officer is also able to utilize all User services, described in Table 4. Please note that the keys and CSPs listed in the table indicate the type of access required using the following notation: • Read: The CSP is read. • Write: The CSP is established, generated, modified, or zeroized. • Execute: The CSP is used within an Approved or Allowed security function or authentication mechanism CSP14 Service Description Type of Access to CSP Run POST KATs on- Restarting the appliance will Crypto-Officer Execute demand force the FIPS self-tests to run credentials when the module is loaded. Calling the fips140_post() function will call the Power-On Self-Tests. Module Initialization Use external cryptoadm utility Crypto-Officer Execute to initialize the FIPS state. credentials Module Use external cryptoadm utility Crypto-Officer Execute Configuration to configure the module. credentials Zeroize keys Format operation on the host Crypto-Officer Execute appliance’s hard drive credentials Table 3 – Crypto-Officer Services The credentials for the Crypto-Officer are not considered CSPs, as requirements for module authentication are not enforced for Level 1 validation. The credentials are provided to the host OS, and are not part of the module. User Role The User role is able to utilize the cryptographic operations of the module, through its APIs. Descriptions of the services available to the User role are provided in the Table 4 below. 14 CSP – Critical Security Parameter © Copyright 2014 Oracle Corporation Page 14 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Service Description CSP Type of Access to CSP AES15 key Symmetric Encrypt a block of data using a Execute Triple DES16 key encryption symmetric algorithm Symmetric Decrypt a block of data using a AES key Execute decryption symmetric algorithm Triple DES key DSA17 public key Asymmetric key Encrypt a block of data using an Execute RSA18 public key wrapping asymmetric algorithm Asymmetric key Decrypt a block of data using DSA private key Execute unwrapping an asymmetric algorithm RSA private key Signature Generation Generate a signature DSA public key Execute RSA public key Signature Verification Verify a signature DSA private key Execute RSA private key Asymmetric keypair Generate a keypair for use in DSA public key Write generation an asymmetric algorithm DSA private key ECDSA19 public Generate Elliptic- Generate an asymmetric Write Curve keypair keypair for use in Elliptic-Curve key DSA cryptographic operations ECDSA private key Hashing Perform a hashing operation on N/A N/A a block of data, using SHA-1, SHA-224, SHA-256, SHA-384, or SHA-512 HMAC20 signing Perform a hashing operation on HMAC key Execute a block of data, using a keyed Hashed Message Authentication Code with any of the hashing operations listed above Key derivation Derive a session key using Elliptic-Curve Write Elliptic-Curve Diffie-Hellman Diffie-Hellman keypair Random Number Generate random numbers Userland FIPS 186-2 Execute Generation Seed Userland FIPS 186-2 Seed Key Table 4 - User Services Note that non-FIPS-Approved algorithms can also be used as part of these services, when the module is not operating in a FIPS-Approved mode. Physical Security Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 is a software-hybrid module, which FIPS defines as a multi- chip standalone 15 AES – Advanced Encryption Standard 16 DES – Data Encryption Standard 17 DSA – Digital Signature Algorithm 18 RSA – Rivest, Shamir, Adleman 19 ECDSA – Elliptic-Curve Digital Signature Algorithm 20 HMAC – (Keyed-) Hash-based Message Authentication Code © Copyright 2014 Oracle Corporation Page 15 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. cryptographic module. The module hardware is made up of production-grade components that include standard passivation techniques. Operational Environment The module operates as part of the Oracle Solaris 11.1 SRU3 and 11.1 SRU5.5 Operating System. The module is programmed to utilize SPARC special instructions sets for hardware-accelerated cryptography. The module has been tested on Oracle Solaris 11.1 SRU3 OS and Oracle Solaris 11.1 SRU5.5 OS, running on a T4-1 Server, using a SPARC T4 processor. Additionally the module has been tested on Oracle Solaris 11.1 SRU3 OS and Oracle Solaris 11.1 SRU5.5 OS, running on a T5-2 Server, using a SPARC T5 processor. The processor shall be validated as part of the module. The Crypto-Officer shall ensure that the OS is configured to a Single-User mode of operation. Each calling application calls its own instance of the module. During execution of this instance, the calling application will be the only operator of the module. This instance cannot be called by other applications. Therefore the calling application is the single-user of the module. Cryptographic Key Management The module implements the following FIPS-approved algorithms: Key or CSP Certificate Number 11.1 11.1 SRU3 SRU5.5 Symmetric Key AES: ECB21, CBC22, CFB23-128, CCM24, GCM25, and #2310 #2572 CTR26 modes for 128, 192, and 256-bit key sizes Triple DES: CBC and ECB mode for keying option 1 #1457 #1558 Asymmetric Key RSA PKCS#1.5 signature generation: 2048-bit (SHA- #1193 #1319 256, SHA-384, SHA-512) RSA PKCS#1.5 signature verification: 1024- , 2048- bit (w/ SHA-1, SHA-256, SHA-384, SHA-512) DSA 2048-, 3072-bit Key generation; #727 #787 Signature generation: 2048-, 3072-bit Signature verification: 1024-, 2048-, 3072-bit 21 ECB – Electronic Codebook 22 CBC – Cipher-Block Chaining 23 CFB – Cipher Feedback 24 CCM – Counter with CBC-MAC 25 GCM – Galois/Counter Mode 26 CTR – Counter © Copyright 2014 Oracle Corporation Page 16 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Key or CSP Certificate Number 11.1 11.1 SRU3 SRU5.5 ECDSA key generation, signature #375 #444 generation/verification: P-192, -224, -256, -384, -521; K-163, -233, -283, -409, -571; B-163, -233, -283, -409, -571 Secure Hashing Standard (SHS) SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 #1994 #1994 (Keyed-) Hash-based Message Authentication HMAC SHA-1, HMAC SHA-224, HMAC SHA-256, #1424 #1594 HMAC SHA-384, HMAC SHA-512 Random Number Generation Userland FIPS 186-2 Random Number Generator #1153 #1224 Key Agreement Scheme (KAS) Diffie-Hellman (2048 – 8192-bit) Allowed Allowed Elliptic-Curve Diffie-Hellman (224 – 571-bit) Allowed Allowed Table 5 – FIPS-Approved Algorithm Implementations NOTE: The following security functions have been deemed “deprecated” or “restricted” by NIST. Please refer to NIST Special Publication 800-131A for further details. • After December 31, 2013, key lengths providing less than 112 bits of security strength shall not be used in the Approved mode of operation to generate digital signatures or keys. • RSA (encrypt/decrypt, sign/verify operations) provides 112 bits of encryption strength, for 2048-bit keys. RSA provides higher bits of encryption strength with higher key sizes; non- compliant with less than 112 bits of encryption strength. • RSA (key wrapping; key establishment methodology) provides 112 bits of encryption strength, for 2048-bit keys. RSA provides higher bits of encryption strength with higher key sizes; non-compliant with less than 112 bits of encryption strength. • Diffie-Hellman (key agreement; key establishment methodology) provides 112 bits of encryption strength, for 2048-bit public keys. Diffie-Hellman provides higher bits of encryption strength with higher key sizes; non-compliant with less than 112 bits of encryption strength. After December 31, 2013, |n| ≤ 223 bits shall not be used in a key agreement scheme. Please see NIST Special Publication 800-131A for further details. • Elliptic-Curve Diffie-Hellman (key agreement; key establishment methodology) provides between 112 and 256 bits of encryption strength; non-compliant with less than 112 bits of encryption strength. After December 31, 2013, the use of |n| ≥ 224 is deprecated. Values of |n| < 224 shall not be used. Please see NIST Special Publication 800-131A for further details. • As of January 1, 2014, the use of the RNGs specified in FIPS 186-2, [X9.31] and ANS [X9.62] are deprecated from 2011 through December 31, 2015, and disallowed after 2015. The module implements the following FIPS-Approved algorithm, however the implementation has not been validated and, as such, shall not be used in the FIPS- Approved mode of operation: • Two-key Triple-DES • SHA-512/224 • SHA-512/256 Additionally, the module implements the following non-FIPS-approved algorithms: © Copyright 2014 Oracle Corporation Page 17 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. • MD527 • MD4 • RC428 • DES • Blowfish • AES XCBC-MAC29 – 128-, 192-, 256-bit • DSA key generation – 512-, 1024-bit • DSA signature generation – 512-, 1024-bit • DSA signature verification – 512-bit • RSA signature generation – 256-, 512-, 1024-bit • RSA signature verification – 256-, 512-bit • Diffie-Hellman – 64-, 128-, 256-, 512-, 1024-bit public keys • Elliptic-Curve Diffie-Hellman – 112 to 223-bit public keys The module generates cryptographic keys whose strengths are modified by available entropy. The CSPs that the module supports are listed in Table 6, below. 27 MD5 – Message Digest Algorithm 5 28 RC4 – Rivest Cipher 4 29 XCBC-MAC – Extended Cipher-Block Chaining Message Authentication Code © Copyright 2014 Oracle Corporation Page 18 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Key or CSP Key type Generation Output Storage Zeroization Use AES key AES 128-, 192-, 256- Imported Output from module Reference Pointer Zeroized upon Symmetric encryption bit key (passed as an through Data Output Stored in volatile completion of attribute in interface memory during operation or an argument) execution reboot Exported to hard drive Zeroized via of GPC format hard-drive service AES GCM IV Random data Imported Never output from module Reference Pointer Zeroized upon IV input to AES GCM (passed as an Stored in volatile completion of function attribute in memory during operation or an argument) execution reboot Triple DES key Triple DES 168-bit key Imported Output from module Reference Pointer Zeroized upon Symmetric encryption (passed as an through Data Output Stored in volatile completion of attribute in interface memory during operation or an argument) execution reboot Exported to hard drive Zeroized via of GPC format hard-drive service RSA 102430-, 2048-, RSA public key Imported Output from module Reference Pointer Zeroized upon Key wrapping, certificate 4096-, 8192-bit key (passed as an through Data Output Stored in volatile completion of generation, certificate attribute in interface memory during operation or verification, signature an argument) execution reboot verification Exported to hard drive Zeroized via of GPC format hard-drive service 30 Please note that RSA 1024-bit key used for signature verification is considered legacy-use after 2010, and is disallowed for signature generation and key transport after 2013. © Copyright 2014 Oracle Corporation This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Key or CSP Key type Generation Output Storage Zeroization Use RSA private key RSA 2048-, 4096-, Imported Output from module Reference Pointer Zeroized upon Key wrapping, certificate 8192-bit key (passed as an through Data Output Stored in volatile completion of generation, certificate attribute in interface memory during operation or verification, an argument) execution reboot signature generation Exported to hard drive Zeroized via of GPC format hard-drive service RSA signature RSA 2048-, 4096-, Imported Output from module Reference Pointer Zeroized upon Signing data, signature 8192-bit signature (passed as an through Data Output Stored in volatile completion of verification attribute in interface memory during operation or an argument) execution reboot Generated Exported to hard drive Zeroized via internally of GPC format hard-drive service DSA public key DSA 2048-, 3072- Imported Output from module Reference Pointer Zeroized upon Signature verification bit key (passed as an through Data Output Stored in volatile completion of attribute in interface memory during operation or an argument) execution reboot Generated Exported to hard drive Zeroized via internally of GPC format hard-drive service DSA private key DSA 224-, 256-bit Imported Output from module Reference Pointer Zeroized upon Signature generation private key (passed as an through Data Output Stored in volatile completion of attribute in interface memory during operation or an argument) execution reboot Generated Exported to hard drive Zeroized via internally of GPC format hard-drive service © Copyright 2014 Oracle Corporation Page 20 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Key or CSP Key type Generation Output Storage Zeroization Use ECDSA public key ECDSA 163-, 192-, Imported Output from module Reference Pointer Zeroized upon Encrypting data, verifying 224-, 233-, 256-, 283-, (passed as an through Data Output Stored in volatile completion of signature 384-, 409-, 512-, 571- attribute in interface memory during operation or bit public key an argument) execution reboot Generated Exported to hard drive Zeroized via internally of GPC format hard-drive service ECDSA private ECDSA 163-, 192-, Imported Output from module Reference Pointer Zeroized upon Decrypting data, digitally key 224-, 233-, 256-, 283-, (passed as an through Data Output Stored in volatile completion of signing data 384-, 409-, 512-, 571- attribute in interface memory during operation or bit private key an argument) execution reboot Generated Exported to hard drive Zeroized via internally of GPC format hard-drive service HMAC key Secret key for HMAC Imported Never output from module Reference Pointer Zeroized upon Message Stored in volatile completion of Integrity/Authentication memory during operation or execution reboot Exported to hard drive of GPC ECDH31 private P-192, -224, -256, - Imported Output from module Reference Pointer Zeroized upon Decryption key 384, -521; (passed as an through Data Output Stored in volatile completion of K-163, -233, -283, - attribute in interface memory during operation or 409, -571; an argument) execution reboot B-163, -233, -283, - 409, -571 private key Generated Exported to hard drive Zeroized via internally of GPC format hard-drive service 31 ECDH – Elliptic-Curve Diffie-Hellman © Copyright 2014 Oracle Corporation Page 21 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Key or CSP Key type Generation Output Storage Zeroization Use ECDH public key P-192, -224, -256, - Imported Output from module Reference Pointer Zeroized upon Encryption 384, -521; (passed as an through Data Output Stored in volatile completion of K-163, -233, -283, - attribute in interface memory during operation or 409, -571; an argument) execution reboot B-163, -233, -283, - 409, -571 public key Generated Exported to hard drive Zeroized via internally of GPC format hard-drive service Diffie-Hellman 224-, 256-, 384-bit Generated Output from module Plaintext in volatile Cleared on session Decryption private key private key internally through Data Output memory close interface Diffie-Hellman 2048-, 3072-, 4096-, Generated Output from module Plaintext in volatile Cleared on session Encryption public key 8192-bit public key internally through Data Output memory close interface Userland RNG32 20-byte Hexadecimal Generated Never output from module Plaintext in volatile Zeroized upon To calculate SHA-1 string in Seed string internally memory completion of FIPS 186-2 RNG operation or reboot Userland RNG 20-byte SHA-1 Digest Generated Never output from module Plaintext in volatile Zeroized upon To calculate SHA-1 string in Seed Key internally memory completion of FIPS 186-2 RNG operation or reboot Table 6 – Listing of Key and Critical Security Parameters 32 RNG – Random Number Generator © Copyright 2014 Oracle Corporation Page 22 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Self-Tests In order to prevent any secure data from being released, it is important to test the cryptographic components of a security module to ensure all components are functioning correctly. Power-Up Self-tests To confirm correct functionality, the software library performs the following self- tests: • Software Integrity Test (HMAC SHA-1) • Known Answer Tests (KATs) o AES KAT o Triple-DES KAT o RSA sign/verify KAT o SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 HMAC KAT o SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 KAT o FIPS 186-2 RNG KAT • Pairwise Consistency Tests o DSA signature generation/verification o ECDSA signature generation/verification Conditional Self-tests The Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 performs the following conditional self-tests: • DSA key generation pairwise consistency test • ECDSA key generation pairwise consistency test • FIPS 186-2 continuous random number generator test Data output from the module is inhibited, while performing self-tests. Should any of the power-up self-tests or conditional self-tests fail, the modules will cease operation, inhibiting any further data output from the modules. The modules will need to reboot and perform power-up self-tests. Successful completion of the power-up self-tests will return the module to normal operation. © Copyright 2012 Oracle Corporation This document may be freely reproduced and distributed whole and intact including this Copyright Notice. Mitigation of Other Attacks This section is not applicable. The module does not claim to mitigate any attacks beyond the FIPS 140-2 Level 1 requirements for this validation. © Copyright 2014 Oracle Corporation Page 24 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. SECURE OPERATION The Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 meets Level 1 requirements for FIPS 140-2. The sections below describe how to place and keep the module in a FIPS-approved mode of operation. Initial Setup The Oracle Solaris Userland Cryptographic Framework with SPARC T4 and SPARC T5 module is part of the Oracle Solaris operating system. Immediately after initial installation of the Oracle Solaris operating system, the Crypto-Officer must install a specific service to ensure sufficient entropy for random number generation functions within the module. The “fips-random service” is available from Oracle’s standard support repository. The fips-random service must be loaded onto the operating system’s host appliance. The Crypto-Officer must ensure the package repository is up to date using: http://pkg.oracle.com/solaris/support The Crypto-Officer will then install the package by running the following command: pkg install pkg:service/security/fips-random Once the package is added, the Oracle Solaris operating system must be rebooted. It should be noted that this package can alternatively be listed in the Auto Install manifest so that it will be added and run at the initial operating system install time. The next time that the Solaris operating system is booted, the Crypto-Officer must use cryptoadm to make the changes necessary to enable FIPS mode. The Crypto- Officer must verify that pkcs11_softtoken is present in the list of providers, and is not disabled, using the “cryptoadm list” command. If it is not present, the Crypto- Officer must use the “cryptoadm enable ” command to enable /usr/lib/security/$ISA/pkcs11_softtoken.so. The host OS will not boot properly without pkcs11_softtoken being enabled. The pkcs11_softtoken provider is the only provider installed in the validated configuration. MD5 is included as part of this provider, for TLS purposes only. The use of MD5 is allowed in the TLS or DTLS33 protocol only. MD5 shall not be used as a general hash function in an Approved mode of operation. 33 DTLS – Datagram Transport Layer Security © Copyright 2014 Oracle Corporation Page 25 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. The Crypto-Officer must input the command “cryptoadm disable provider=’/user/lib/security$ISA/pkcs11_kernel.so’ all”. This command disables the module’s direct access to functions operating in the kernel. Next, the Crypto-Officer must create a new boot environment, using the “beadm create ” command, where the name is one provided by the Crypto- Officer. This creates a boot environment which is a clone of the currently running environment, to be used if there is a panic or other error with initialization. The Crypto-Officer must then input the command “cryptoadm enable fips-140”, in order to enable FIPS mode. The module must then be restarted by a full system reboot. Once the module loads, it will perform power-on cryptographic self-tests. Once all tests are successful, the module will begin to operate in a FIPS-Approved mode. Crypto-Officer Guidance The Crypto-Officer is responsible for making sure the module is running in FIPS- Approved mode of operation and to ensure that only FIPS-Approved algorithms are utilized. The following algorithms and key sizes, provided by the module, cannot be used in FIPS-Approved mode of operation: • MD5 – for non-TLS uses • MD4 • RC4 • DES • Blowfish • 2-key Triple DES • AES XCBC-MAC (128-, 192-, 256-bit) • DSA key generation – 512-, 1024-bit • DSA signature generation – 512-, 1024-bit • DSA signature verification – 512-bit • RSA signature generation – 256-, 512-, 1024-bit • RSA signature verification – 256-, 512-bit Initialization It is the Crypto-Officer’s responsibility to configure the module into the FIPS- Approved mode. Management Using the commands available to the Crypto-Officer, outlined in Table 3, the cryptoadm utility can be used to configure and manage the module. Zeroization As shown in Table 6, certain keys are stored on the host appliance’s hard drive. A format of the host appliance’s hard-drive will zeroize all keys. © Copyright 2014 Oracle Corporation Page 26 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. User Guidance It is the responsibility of the User calling applications to ensure that only FIPS- Approved algorithms and providers are being utilized by their commands. The User is required to operate the module in a FIPS-Approved mode of operation. In order to maintain FIPS-mode, the User must do the following: • Only utilize the module interfaces to call FIPS-Approved algorithms © Copyright 2014 Oracle Corporation Page 27 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice. ACRONYMS AES Advanced Encryption Standard API Application Programming Interface CBC Cipher-Block Chaining CCM Counter with CBC-MAC CFB Cipher Feedback CMVP Cryptographic Module Validation Program CSP Critical Security Parameter CTR Counter DES Data Encryption Standard DSA Digital Signature Algorithm DTLS Datagram Transport Layer Security DVD Digital Versatile Disc ECB Electronic Codebook ECC Elliptic-Curve Cryptography ECDH Elliptic-Curve Diffie-Hellman ECDSA Elliptic-Curve Digital Signature Algorithm EMC Electromagnetic Compatibility EMI Electromagnetic Interference ESP Encapsulating Security Payload FCC Federal Communication Commission FIPS Federal Information Processing Standard GCM Galois/Counter Mode GPC General Purpose Computer HD High Density HMAC (Keyed-) Hash-based Message Authentication Code KAT Known Answer Test LED Light Emitting Diode MAC Message Authentication Code MD5 Message Digest Algorithm 5 NIST National Institute of Standards and Technology OS Operating System PKCS Public Key Cryptography Standards RC4 Rivest Cipher 4 RCI Remote Cabinet Interface RJ Registered Jack RNG Random Number Generator RSA Rivest Shamir and Adleman SAS Small Computer System Interface-Assisted Storage SHA Secure Hash Algorithm SPARC Scalable Processor Architecture UPC Usage Parameter Control USB Universal Serial Bus VGA Video Graphics Array XCBC-MAC Extended Cipher-Block Chaining Message Authentication Code © Copyright 2014 Oracle Corporation Page 28 of 28 This document may be freely reproduced and distributed whole and intact including this Copyright Notice.