## Bluefire Mobile Security™ FIPS Cryptographic Module Security Policy Version 1.9.0 ####### October 14, 2005 ####### Contact Information ###### Bluefire Security Technologies 1040 Hull Street, #101 Baltimore, MD 21230 Phone: (410) 637-8160 Fax: (410) 637-8172 Email: info@bluefiresecurity.com ####### Trademarks BSAFE, RC2, RC4, RC5, RSA, the RSA logo, RSA Secured, the RSA Secured logo, RSA Security, The Most Trusted Name in e-Security, are either registered trademarks or trademarks of RSA Security Inc. in the United States and/or other countries. All other goods and/or services mentioned are trademarks of their respective companies. ####### Distribution This document may be freely reproduced and distributed whole and intact including this Copyright Notice. © 2005 Bluefire Security Technologies. All rights reserved. Published October 14, 2005 Introduction ### Table of Contents | 1. | INTRODUCTION............................................................................................................................................... 4 | INTRODUCTION............................................................................................................................................... 4 | INTRODUCTION............................................................................................................................................... 4 | |-----------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 2. | REFERENCES.................................................................................................................................................... 4 | REFERENCES.................................................................................................................................................... 4 | REFERENCES.................................................................................................................................................... 4 | | 3. | DOCUMENT ORGANIZATION ...................................................................................................................... 4 | DOCUMENT ORGANIZATION ...................................................................................................................... 4 | DOCUMENT ORGANIZATION ...................................................................................................................... 4 | | 4. | BLUEFIRE MOBILE SECURITY™ FIPS CRYPTOGRAPHIC MODULE.... ........................................... 5 | BLUEFIRE MOBILE SECURITY™ FIPS CRYPTOGRAPHIC MODULE.... ........................................... 5 | BLUEFIRE MOBILE SECURITY™ FIPS CRYPTOGRAPHIC MODULE.... ........................................... 5 | | 4.1. | 4.1. | I NTRODUCTION............................................................................................................................................... | 5 | | 4.2. | 4.2. | CRYPTOGRAPHIC MODULE............................................................................................................................. | 5 | | 4.3. | 4.3. | MODULE INTERFACES .................................................................................................................................... | 6 | | 4.4. | 4.4. | ROLES AND SERVICES..................................................................................................................................... | 6 | | 4.4.1. | 4.4.1. | Crypto Officer Role................................................................................................................................ | 6 | | 4.4.2. | 4.4.2. | User Role ............................................................................................................................................... | 7 | | 4.5. CRYPTOGRAPHIC KEY MANAGEMENT............................................................................................................ | 4.5. CRYPTOGRAPHIC KEY MANAGEMENT............................................................................................................ | 4.5. CRYPTOGRAPHIC KEY MANAGEMENT............................................................................................................ | 7 | | 4.5.1. | 4.5.1. | Key Generation...................................................................................................................................... | 7 | | 4.5.2. | 4.5.2. | Key Storage............................................................................................................................................ | 7 | | 4.5.3. | 4.5.3. | Key Access ............................................................................................................................................. | 7 | | 4.5.4. | 4.5.4. | Key Protection/Zeroization.................................................................................................................... | 7 | | 4.6. | 4.6. | CRYPTOGRAPHIC ALGORITHMS...................................................................................................................... | 7 | | 4.7. | 4.7. | SELF-TEST...................................................................................................................................................... | 8 | | 4.7.1. | 4.7.1. | Power-Up Self-Tests .............................................................................................................................. | 9 | | 4.7.2. | 4.7.2. | Conditional Self-Tests............................................................................................................................ | 9 | | 4.7.3. | 4.7.3. | Critical Functions Test .......................................................................................................................... | 9 | | 4.7.4. | 4.7.4. | Mitigation of Other Attacks ................................................................................................................... | 9 | | 5. SECURE OPERATION OF THE CRYPTOGRAPHIC MODULE............................................................. | 5. SECURE OPERATION OF THE CRYPTOGRAPHIC MODULE............................................................. | 5. SECURE OPERATION OF THE CRYPTOGRAPHIC MODULE............................................................. | 10 | | 5.1. | APPROVED DSA AND RSA MODULUS SIZES................................................................................................ 10 | APPROVED DSA AND RSA MODULUS SIZES................................................................................................ 10 | APPROVED DSA AND RSA MODULUS SIZES................................................................................................ 10 | | 5.2. | OPERATING THE CRYPTOGRAPHIC MODULE................................................................................................. 10 | OPERATING THE CRYPTOGRAPHIC MODULE................................................................................................. 10 | OPERATING THE CRYPTOGRAPHIC MODULE................................................................................................. 10 | | 5.3. | MODES OF OPERATION ................................................................................................................................. | MODES OF OPERATION ................................................................................................................................. | 10 | | 5.3.1. | DISABLED MODE.............................................................................................................................. | DISABLED MODE.............................................................................................................................. | 10 | | 5.3.2. | 5.3.2. | FIPS 140 MODE.................................................................................................................................. | 11 | | 5.3.3. | 5.3.3. | NON FIPS 140 MODE........................................................................................................................ | 11 | | 5.3.4. | 5.3.4. | FIPS 140 SSL MODE.......................................................................................................................... | 11 | | 6. | SERVICES......................................................................................................................................................... | SERVICES......................................................................................................................................................... | 12 | | 7. | ACRONYMS/DEFINITIONS.......................................................................................................................... | ACRONYMS/DEFINITIONS.......................................................................................................................... | 15 | 3 Introduction ## 1. Introduction This is a non-proprietary Bluefire Mobile Security™ FIPS Cryptographic Module security policy. This security policy describes how the Cryptographic Module meets the security requirements of FIPS 140-2, and how to securely operate the Cryptographic Module in a FIPS-compliant manner. This policy was prepared as part of the level 1 FIPS 140-2 validation of the Cryptographic Module. FIPS 140-2 (Federal Information Processing Standards Publication 140-2 Security Requirements for Cryptographic Modules ) details the United States Government requirements for cryptographic modules. More information about the FIPS 140-2 standard and validation program is available on the NIST Web site at http://csrc.nist.gov/cryptval/. ## 2. References This document deals only with operations and capabilities of the Bluefire Mobile Security™ FIPS Cryptographic Module in the technical terms of a FIPS 140-2 cryptographic module security policy. More information is available on the Cryptographic Module from the following resources: - The Bluefire website contains information on their full line of products and services at http://www.bluefiresecurity.com/. - An overview of the RSA BSAFE Crypto-C ME module from which this cryptographic module is derived is located at http://www.rsasecurity.com/node.asp?id=1210. - The Bluefire Security product overview is provided at http://www.bluefiresecurity.com/products.html. - For answers to technical or sales related questions please refer to http://www.bluefiresecurity.com/contactus.html. ## 3. Document Organization This document explains the Cryptographic Module's FIPS 140-2 relevant features and functionality. This first section, Introduction, provides an overview and introduction to the Security Policy. The Bluefire Mobile Security™ FIPS Cryptographic Module section describes the Cryptographic Module and how it meets FIPS 140-2 requirements. 4 Bluefire Mobile Security TM FIPS Cryptographic Module Security Policy Bluefire Mobile Security™ FIPS Cryptographic Module Secure Operation of the Cryptographic Module on page 10 specifically addresses the required configuration for the FIPS-mode of operation. Services on page 12 lists all of the functions provided by the Cryptographic Module. Acronyms on page 15 lists the definitions for the acronyms used in this document. ## 4. Bluefire Mobile Security™ FIPS Cryptographic Module This section provides an overview of the Bluefire Mobile Security™ FIPS Cryptographic Module. The following topics are discussed: - circle4 Introduction - circle4 Cryptographic Module - circle4 Module Interfaces - circle4 Roles and Services - circle4 Cryptographic Key Management - circle4 Cryptographic Algorithms - circle4 Self-Test. ### 4.1. Introduction The Bluefire Mobile Security™ FIPS Cryptographic Module can be easily ported to different embedded operating systems and its features include the ability to optimize code for different processors and for specific speed or size requirements (Note: When operating in a FIPS mode, the set of algorithm implementations is not customizable). ### 4.2. Cryptographic Module This Cryptographic Module is classified as a multi-chip standalone module for FIPS 140-2 purposes. As such, the module must be tested upon a particular operating system and computer platform. The cryptographic boundary thus includes the Cryptographic Module running on selected platforms running selected operating systems while configured in 'single user' mode. The Cryptographic Module was validated as meeting all FIPS 140-2 level 1 security requirements, including cryptographic key management and operating system requirements. The Cryptographic Module is packaged as a dynamically loaded module or shared library file which contains all the module's executable code. Additionally, the Cryptographic Module toolkit relies on the physical security provided by the host PC in which it runs. 5 Bluefire Mobile Security™ FIPS Cryptographic Module The Bluefire Mobile Security™ FIPS Cryptographic Module was tested on the following platforms: - circle4 Microsoft Windows Pocket PC 2003 ARM Compliance is maintained on platforms for which the binary executable remains unchanged including (but not limited to): - o SmartPhone ARM (32-bit). - circle4 Microsoft Windows 2000 Service Pack 4 Compliance is maintained on platforms for which the binary executable remains unchanged including (but not limited to): - o Microsoft Windows XP Refer to the NIST document, Implementation Guidance for FIPS PUB 140-2 and the Cryptographic Module Validation Program , for resolution on the issue of 'Multi user' modes. This document is located at: http://csrc.nist.gov/cryptval/140-1/FIPS1402IG.pdf. ### 4.3. Module Interfaces The Cryptographic Module is evaluated as a multi-chip, standalone, module. The Cryptographic Module's physical interfaces consist of the keyboard, mouse, monitor, CD-ROM drive, floppy drive, serial ports, USB ports, COM ports, and network adapter(s). However, the module sends/receives data entirely through the underlying logical interface, a C-language API documented in the Cryptographic Module API Reference. The module provides for Control Input through the API calls. Data Input and Output are provided in the variables passed with API calls, and Status Output is provided through the returns, exceptions, and error codes that are documented for each call. ### 4.4. Roles and Services The Cryptographic module meets all FIPS140-2 level 1 requirements for Roles and Services, implementing both a Crypto-User (User) role and Crypto-Officer (CO) role. As allowed by FIPS 140-2, the Cryptographic module does not support user identification or authentication for these roles. Only one role may be active at a time and the Cryptographic module does not allow concurrent operators. Table 1 - Cryptographic Module roles and services. | Role | Services | |----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Crypto Officer | The Crypto Officer has access to a superset of the services that are available to the Crypto User. The Officer role may also invoke the full set of self tests inside the module. | | Crypto User | The Crypto User may perform general security functions as described in the Cryptographic Module Developer's Guide. The User may also call specific FIPS 140 module functions as defined in the Cryptographic Module Developer's Guide. | #### 4.4.1. Crypto Officer Role An operator assuming the Crypto Officer role can call any of the module's functions. The complete list of the functionality available to the Crypto Officer is outlined in the Services section on page 12. 6 Bluefire Mobile Security TM FIPS Cryptographic Module Security Policy Bluefire Mobile Security™ FIPS Cryptographic Module #### 4.4.2. User Role An operator assuming the Crypto User role can utilize the entire Cryptographic Module API except for the CRYPTOC_FIPS140_me_fips140_self_test() method, which is reserved for the Crypto Officer. The Cryptographic Module API functions are documented in the Services section on page 12. ### 4.5. Cryptographic Key Management #### 4.5.1. Key Generation The Cryptographic Module supports generation of DSA, RSA, and Diffie-Hellman (DH) public and private keys. Furthermore, the module employs a FIPS 186-2 compliant random number generator for generating asymmetric and symmetric keys used in algorithms such as AES, DES (for use in legacy systems only; transitional phase only - valid until May 19 th , 2007), TDES, RSA, DSA or Diffie-Hellman. #### 4.5.2. Key Storage Public and private keys are provided to the Cryptographic Module by the operator, and their state is destroyed when the operator indicates the key is finished being used. No persistent storage of keys is handled. The Cryptographic Module does not provide long-term cryptographic key storage. If an operator chooses to store keys, the operator is responsible for storing keys exported from the module. #### 4.5.3. Key Access An authorized operator of the module has access to all key data created during the module's operation. #### 4.5.4. Key Protection/Zeroization All key data resides in internally allocated data structures and can be output only using the module's defined API. The operating system protects memory and process space from unauthorized access. The operator should follow the steps outlined in the Cryptographic Module Developer's Guide to ensure sensitive data is protected by zeroizing the data from memory when it is no longer needed. ### 4.6. Cryptographic Algorithms The Cryptographic Module supports a wide variety of cryptographic algorithms. FIPS 140-2 requires that FIPS-approved algorithms be used whenever there is an applicable FIPS standard. The following table lists the FIPS approved algorithms supported by the Cryptographic Module. 7 Bluefire Mobile Security™ FIPS Cryptographic Module Table 2 - Cryptographic Module approved algorithms | Algorithm | Validation Certificate | |------------------------------------------------------------------------------------------|-------------------------------------------------------| | AES | Cert. 192 | | DES (For use in legacy systems only; transitional phase only - valid until May 19, 2007) | Cert. 278 | | 3DES | Cert. 288 | | Diffie-Hellman 1 | Non-Approved (Allowed in FIPS mode) | | DSA | Cert. 121 | | FIPS 186-2 PRNG (Change Notice 1-with and without the mod q step) | Cert. 39 | | RSA X9.31 and PKCS#1 | Cert. 29 | | RSA encrypt/decrypt 2 | Non-Approved (Allowed in FIPS mode for key transport) | | SHA-1 | Cert. 272 | | SHA-256 | Cert. 272 | | SHA-384 | Cert. 272 | | SHA-512 | Cert. 272 | | HMAC-SHA-1 | Cert. 7 | Table 3 - Cryptographic Module Non-FIPS approved algorithms | Algorithm | |-------------| | MD2 | | MD5 | | HMAC MD5 | | DES40 | | RC2 | | RC4 | | RC5 | For more information on using the Cryptographic Module in a FIPS compliant manner refer to Secure Operation of the Cryptographic Module on page 10. ### 4.7. Self-Test The Cryptographic Module performs a number of power-up and conditional self-tests to ensure proper operation. 1 The modulus sizes supported range from 18 bits to 4096 bits. To use the module in an Approved mode, a minimum modulus size of 1024-bits must be used. Using the minimum allowed modulus size; the minimum strength of encryption provided is 80 bits. 2 The modulus sizes supported range from 512 bits to 4096 bits. To use the module in an Approved mode, a minimum modulus size of 1024-bits must be used. Using the minimum allowed modulus size; the minimum strength of encryption provided is 80 bits. 8 Bluefire Mobile Security TM FIPS Cryptographic Module Security Policy Bluefire Mobile Security™ FIPS Cryptographic Module #### 4.7.1. Power-Up Self-Tests The power-up self-tests implemented in the Cryptographic Module are: - AES Known Answer Tests (KATs) - TDES KATs - DES KATs - SHA-1 KATs - SHA-256 KATs - SHA-384 KATs - SHA-512 KATs - HMAC SHA-1 KATs - RSA Sign/verify Test - DSA Sign/verify Test - PRNG KATs - Software integrity test Power-up self-tests are executed automatically when the module is loaded into memory. #### 4.7.2. Conditional Self-Tests The Cryptographic Module performs two conditional self-tests: a pair-wise consistency test each time the module generates a DSA, DH, or RSA public/private key pair, and a continuous random number generator test each time the module produces random data per its FIPS 186-2 random number generator. #### 4.7.3. Critical Functions Test When operating in FIPS140_SSL_MODE, a known answer test is performed for MD5 and HMAC-MD5. #### 4.7.4. Mitigation of Other Attacks RSA key operations implement blinding by default, providing a defense against timing attacks. Blinding is implemented through blinding modes, and the following options are available: - circle4 Blinding mode off - circle4 Blinding mode with no update, where the blinding value is constant for each operation - circle4 Blinding mode with full update, where a new blinding value is used for each operation. 9 Secure Operation of the Cryptographic Module ## 5. Secure Operation of the Cryptographic Module This section provides an overview of how to securely operate the Cryptographic Module in order to be in compliance with the FIPS140-2 standards. ### 5.1. Approved DSA and RSA Modulus Sizes In the FIPS approved mode, the DSA key-pair modulus sizes should be between 512 and 1024 bits, and the RSA modulus size can range from 1024 to 4096 bits. ### 5.2. Operating the Cryptographic Module The Cryptographic Module may be placed into FIPS mode by calling the CRYPTOC_FIPS140_enable_FIPS140_operating_mode() function. After making the CRYPTOC_FIPS140_enable_FIPS140_operating_mode() function call, the Cryptographic Module enforces that only the FIPS approved algorithms listed in the Services section on page 12 are available to operators. To disable FIPS mode, call CRYPTOC_FIPS140_enable_non_FIPS140_operating_mode(). The following Services are restricted to operation by the Crypto Officer: - circle4 CRYPTOC_FIPS140_me_fips140_self_test() The user of the Cryptographic Module shall link with the static library for their platform which will load the cryptographic module's shared library or dynamic link library at runtime. For additional details see the 'FIPS 140-2 Library and Modes of Operation' section in the Cryptographic Module Developers Guide. ### 5.3. Modes of Operation There are four modes of operation: DISABLED_MODE, FIPS140_MODE, NON_FIPS140_MODE, and FIPS140_SSL_MODE . Use the functions listed after each mode below to enter and to check that the module is in the specified mode. Cryptographic keys must not be shared between FIPS140_MODE/FIPS140_SSL_MODE and DISABLED_MODE/NON_FIPS140_MODE. FIPS140_MODE and FIPS140_SSL_MODE are the only two Approved modes of operation. #### 5.3.1. DISABLED MODE This mode indicates that the FIPS140 library is disabled, usually due to an internal or caller's usage error. No future transition into FIPS140_MODE or NON_FIPS140_MODE is permitted. The caller's current operating system process may continue to operate with the currently opened library and cryptographic contexts, but no additional contexts may be opened. - circle4 CRYPTOC_FIPS140_disable_operating_modes - circle4 CRYPTOC_FIPS140_operating_mode_is_disabled (). ``` () ``` 10 Bluefire Mobile Security TM FIPS Cryptographic Module Security Policy Secure Operation of the Cryptographic Module #### 5.3.2. FIPS 140 MODE This mode indicates that the FIPS140 library is running in FIPS140_MODE . A transition into NON_FIPS140_MODE shall only be made after all FIPS140_MODE library contexts have been closed. - circle4 CRYPTOC_FIPS140_enable_fips140_operating_mode () - circle4 CRYPTOC_FIPS140_operating_mode_is_fips140 (). #### 5.3.3. NON FIPS 140 MODE This mode indicates that the FIPS140 library is running in NON_FIPS140_MODE . A transition into FIPS140_MODE shall only be made after all NON_FIPS140_MODE library contexts have been closed. - circle4 CRYPTOC_FIPS140_enable_non_fips140_operating_mode () - circle4 CRYPTOC_FIPS140_operating_mode_is_non_fips140 (). #### 5.3.4. FIPS 140 SSL MODE This mode indicates that the FIPS140 library is running in FIPS140_SSL_MODE . A transition into NON_FIPS140_MODE shall only be made after all FIPS140_SSL_MODE library contexts have been closed. FIPS140_SSL_MODE is FIPS140_MODE with the addition of those items required to perform TLS in a FIPS140-compatible manner. - circle4 CRYPTOC_FIPS140_enable_fips140_ssl_operating_mode () - circle4 CRYPTOC_FIPS140_operating_mode_is_fips140_ssl (). 11 Services ## 6. Services The Cryptographic Module provides the following services. For details of the operation of each of these services see the Developers Guide. Table 4 - Cryptographic Module Services | Function | Function | |---------------------------------------------------|---------------------------------------------------| | BIO_append_filename | BIO_clear_flags | | BIO_clear_retry_flags | BIO_copy_next_retry | | BIO_debug_cb | BIO_dump | | BIO_dump_format | BIO_dup_chain | | BIO_f_buffer | BIO_f_null | | BIO_find_type | BIO_flush | | BIO_free | BIO_free_all | | BIO_get_cb | BIO_get_cb_arg | | BIO_get_close | BIO_get_flags | | BIO_get_fp | BIO_get_retry_BIO | | BIO_get_retry_reason | BIO_gets | | BIO_method_name | BIO_method_type | | BIO_new | BIO_new_file | | BIO_new_fp | BIO_new_mem | | BIO_open_file | BIO_pop | | BIO_print_hex | BIO_printf | | BIO_push | BIO_puts | | BIO_read | BIO_read_filename | | BIO_reference_inc | BIO_reset | | BIO_rw_filename | BIO_s_file | | BIO_s_mem | BIO_s_null | | BIO_seek | BIO_set_bio_cb | | BIO_set_cb | BIO_set_cb_arg | | BIO_set_close | BIO_set_flags | | BIO_set_fp | BIO_should_io_special | | BIO_should_read | BIO_should_retry | | BIO_should_write | BIO_tell | | BIO_write | BIO_write_filename | | CRYPTOC_FIPS140_disable_operating_modes | CRYPTOC_FIPS140_enable_fips140_operating_mode | | CRYPTOC_FIPS140_enable_fips140_ssl_operating_mode | CRYPTOC_FIPS140_enable_non_fips140_operating_mode | | CRYPTOC_FIPS140_get_mem_functions | CRYPTOC_FIPS140_get_self_test_result | | CRYPTOC_FIPS140_get_startup_test_result | CRYPTOC_FIPS140_get_version | | CRYPTOC_FIPS140_library_is_shared | CRYPTOC_FIPS140_lock_get_cb | | CRYPTOC_FIPS140_lock_get_name | CRYPTOC_FIPS140_lock_num | | CRYPTOC_FIPS140_lock_set_cb | CRYPTOC_FIPS140_me_fips140_self_test | | CRYPTOC_FIPS140_me_fips140_startup_self_test | CRYPTOC_FIPS140_operating_mode_is_disabled | | CRYPTOC_FIPS140_operating_mode_is_fips140 | CRYPTOC_FIPS140_operating_mode_is_fips140_ssl | | CRYPTOC_FIPS140_operating_mode_is_non_fips140 | CRYPTOC_FIPS140_rand_get_default | | CRYPTOC_FIPS140_rand_set_default | CRYPTOC_FIPS140_set_mem_functions | | CRYPTOC_FIPS140_set_officer_sign_in_state | CRYPTOC_FIPS140_set_user_sign_in_state | | CRYPTOC_FIPS140_sign_in_state_is_disabled | CRYPTOC_FIPS140_sign_in_state_is_officer | | CRYPTOC_FIPS140_sign_in_state_is_user | CRYPTOC_ME_FIPS140_fips140_library_init | 12 Bluefire Mobile Security TM FIPS Cryptographic Module Security Policy Services | Function | Function | |------------------------------------------|---------------------------------------------| | CRYPTOC_ME_FIPS140_library_set_info | CRYPTOC_ME_FIPS140_non_fips140_library_init | | CRYPTOC_ME_get_default_resource_list | CRYPTOC_ME_get_small_resource_list | | CRYPTOC_ME_library_free | CRYPTOC_ME_library_info | | CRYPTOC_ME_library_info_type_from_string | CRYPTOC_ME_library_info_type_to_string | | CRYPTOC_ME_library_new | CRYPTOC_ME_library_version | | R_CR_asym_decrypt | R_CR_asym_decrypt_init | | R_CR_asym_encrypt | R_CR_asym_encrypt_init | | R_CR_CTX_alg_supported | R_CR_CTX_free | | R_CR_CTX_get_info | R_CR_CTX_ids_from_sig_id | | R_CR_CTX_ids_to_sig_id | R_CR_CTX_new | | R_CR_CTX_set_info | R_CR_decrypt | | R_CR_decrypt_final | R_CR_decrypt_init | | R_CR_decrypt_update | R_CR_DEFINE_CUSTOM_CIPHER_LIST | | R_CR_DEFINE_CUSTOM_METHOD_TABLE | R_CR_digest | | R_CR_digest_final | R_CR_digest_init | | R_CR_digest_update | R_CR_dup | | R_CR_encrypt | R_CR_encrypt_final | | R_CR_encrypt_init | R_CR_encrypt_update | | R_CR_free | R_CR_generate_key | | R_CR_generate_key_init | R_CR_generate_parameter | | R_CR_generate_parameter_init | R_CR_get_default_imp_method | | R_CR_get_default_method | R_CR_get_default_signature_map | | R_CR_get_detail | R_CR_get_detail_string | | R_CR_get_detail_string_table | R_CR_get_error | | R_CR_get_error_string | R_CR_get_file | | R_CR_get_function | R_CR_get_function_string | | R_CR_get_function_string_table | R_CR_get_info | | R_CR_get_line | R_CR_get_reason | | R_CR_get_reason_string | R_CR_get_reason_string_table | | R_CR_ID_from_string | R_CR_ID_to_string | | R_CR_key_exchange_init | R_CR_key_exchange_phase_1 | | R_CR_key_exchange_phase_2 | R_CR_mac | | R_CR_mac_final | R_CR_mac_init | | R_CR_mac_update | R_CR_new | | R_CR_random_bytes | R_CR_random_seed | | R_CR_RES_CRYPTO_CUSTOM_METHOD | R_CR_set_info | | R_CR_sign | R_CR_sign_final | | R_CR_sign_init | R_CR_sign_update | | R_CR_SUB_from_string | R_CR_SUB_to_string | | R_CR_TYPE_from_string | R_CR_TYPE_to_string | | R_CR_verify | R_CR_verify_final | | R_CR_verify_init | R_CR_verify_mac | | R_CR_verify_mac_final | R_CR_verify_mac_init | | R_CR_verify_mac_update | R_CR_verify_update | | R_FORMAT_from_string | R_FORMAT_to_string | | R_free | R_get_mem_functions | | R_LIB_CTX_free | R_LIB_CTX_new | | R_lock_ctrl | R_lock_get_cb | | R_lock_get_name | R_lock_num | | R_lock_r R_lock_w | R_lock_set_cb R_locked_add | | R_locked_add_get_cb | | | | R_locked_add_set_cb | 13 Services | Function | Function | |-----------------------------|-------------------------------| | R_lockid_new | R_lockids_free | | R_malloc | R_PKEY_cmp | | R_PKEY_CTX_free | R_PKEY_CTX_get_info | | R_PKEY_CTX_get_LIB_CTX | R_PKEY_CTX_new | | R_PKEY_CTX_set_info | R_PKEY_FORMAT_from_string | | R_PKEY_FORMAT_to_string | R_PKEY_free | | R_PKEY_from_binary | R_PKEY_from_bio | | R_PKEY_from_file | R_PKEY_from_public_key_binary | | R_PKEY_get_info | R_PKEY_get_num_bits | | R_PKEY_get_num_primes | R_PKEY_get_PKEY_CTX | | R_PKEY_get_type | R_PKEY_iterate_fields | | R_PKEY_new | R_PKEY_pk_method | | R_PKEY_print | R_PKEY_public_cmp | | R_PKEY_reference_inc | R_PKEY_set_info | | R_PKEY_to_binary | R_PKEY_to_bio | | R_PKEY_to_public_key_binary | R_PKEY_TYPE_from_string | | R_PKEY_TYPE_to_string | R_rand_add_entropy | | R_rand_bytes | R_rand_entropy_count | | R_rand_file_name | R_rand_free | | R_rand_get_default | R_rand_get_entropy_func | | R_rand_lib_cleanup | R_rand_load_file | | R_rand_new | R_rand_seed | | R_rand_set_default | R_rand_set_entropy_func | | R_rand_write_file | R_realloc | | R_remalloc | R_set_mem_functions | | R_SKEY_free | R_SKEY_get_info | | R_SKEY_new | R_SKEY_set_info | | R_unlock_r | R_unlock_w | 14 Bluefire Mobile Security TM FIPS Cryptographic Module Security Policy Acronyms/Definitions ## 7. Acronyms/Definitions The following table gives an explanation of the terms and acronyms used throughout this document. | Term | Description | |----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | AES | Advanced Encryption Standard. A fast block cipher with a 128-bit block, and keys of lengths 128, 192 and 256 bits. This will replace DES as the US symmetric encryption standard. | | API | Application Programming Interface | | Attack | Either a successful or unsuccessful attempt at breaking part or all of a cryptosystem. Various attack types include an algebraic attack, birthday attack, brute force attack, chosen ciphertext attack, chosen plaintext attack, differential cryptanalysis, known plaintext attack, linear cryptanalysis, and middleperson attack. | | DES | Data Encryption Standard. A symmetric encryption algorithm with a 56-bit key. See also Triple DES. | | Diffie-Hellman | The Diffie-Hellman asymmetric key exchange algorithm. There are many variants, but typically two entities exchange some public information (for example, public keys or random values) and combines them with their own private keys to generate a shared session key. As private keys are not transmitted, eavesdroppers are not privy to all of the information that composes the session key. | | DSA | Digital Signature Algorithm. An asymmetric algorithm for creating digital signatures. | | Encryption | The transformation of plaintext into an apparently less readable form (called ciphertext) through a mathematical process. The ciphertext may be read by anyone who has the key that decrypts (undoes the encryption) the ciphertext. | | FIPS | Federal Information Processing Standards | | HMAC | Keyed-Hashing for Message Authentication Code | | Key | A string of bits used in cryptography, allowing people to encrypt and decrypt data. Can be used to perform other mathematical operations as well. Given a cipher, a key determines the mapping of the plaintext to the ciphertext. Various types of keys include: distributed key, private key, public key, secret key, session key, shared key, subkey, symmetric key, and weak key. | | NIST | National Institute of Standards and Technology. A division of the US Department of Commerce (formerly known as the NBS) which produces security and cryptography-related standards. | | OS | Operating System | | PC | Personal Computer | | PDA | Personal Digital Assistant | | PPC | PowerPC | | privacy | The state or quality of being secluded from the view and/or presence of others. | | private key | The secret key in public key cryptography. Primarily used for decryption but also used for encryption with digital signatures. | | PRNG | Pseudo Random Number Generator | | RC2 | Block cipher developed by Ron Rivest as an alternative to the DES. It has a block size of 64 bits and a variable key size. It is a legacy cipher and RC5 should be used in preference. | | RC4 | Symmetric algorithm designed by Ron Rivest using variable length keys (usually 40 bit or 128 bit). | | RC5 | Block cipher designed by Ron Rivest. It is parameterizable in its word size, key length and number of rounds. Typical use involves a block size of 64 bits, a key size of 128 bits and either 16 or 20 iterations of its round function. | | RNG | Random Number Generator | | RSA | Public key (asymmetric) algorithm providing the ability to encrypt data and create and verify digital signatures. RSA stands for Rivest, Shamir, and Adleman, the developers of the RSA public key cryptosystem. | | SHA | Secure Hash Algorithm. An algorithm which creates a unique hash value for each possible input. SHA takes an arbitrary input which is hashed into a 160-bit digest. | | SHA-1 | A revision to SHA to correct a weakness. It produces 160-bit digests. SHA-1 takes an arbitrary input which is hashed into a 20-byte digest. | | SHA-2 | The NIST-mandated successor to SHA-1, to complement the Advanced Encryption Standard. It is a family of hash algorithms (SHA-256, SHA-384 and SHA-512) which produce digests of 256, 384 and 512 bits respectively. | | Triple DES | A variant of DES which uses three 56-bit keys. | 15