libcrypto API Specification |
|
|
This chapter defines various sub-libraries and its functionalities.
|
|
libcrypto consists of a number of sub-libraries that implement the individual algorithms. The functionality includes symmetric encryption, public key cryptography and key agreement, certificate handling, cryptographic hash functions and a cryptographic pseudo-random number generator.
The application or project that intends to use Open SSL must mention the paths as shown below:
SYSTEMINCLUDE \epoc32\include\stdapis SYSTEMINCLUDE \epoc32\include\stdapis\openssl
The applications and projects that intend to use the different sub-modules of libcrypto individually, must include crypto.h before the sub-module's corresponding header file.
|
|
Symmetric Ciphers
|
Function |
Description |
| DES_random_key, DES_set_key, DES_key_sched, DES_set_key_checked, DES_set_key_unchecked, DES_set_odd_parity, DES_is_weak_key, DES_ecb_encrypt, DES_ecb2_encrypt, DES_ecb3_encrypt, DES_ncbc_encrypt, DES_cfb_encrypt, DES_ofb_encrypt, DES_pcbc_encrypt, DES_cfb64_encrypt, DES_ofb64_encrypt, DES_xcbc_encrypt, DES_ede2_cbc_encrypt, DES_ede2_cfb64_encrypt, DES_ede2_ofb64_encrypt, DES_ede3_cbc_encrypt, DES_ede3_cbcm_encrypt, DES_ede3_cfb64_encrypt, DES_ede3_ofb64_encrypt, DES_cbc_cksum, DES_quad_cksum, DES_string_to_key, DES_string_to_2keys, DES_fcrypt, DES_crypt, DES_enc_read, DES_enc_write | The DES Standard and its variants. |
| des_read_password, des_read_2passwords, des_read_pw_string, des_read_pw | Compatibility user interface functions. |
| des_modes | The DES Standard and it variants. |
| rc4, RC4_set_key | RC4 encryption. |
| rc2 | RC2 encryption. |
|
|
Public Key Cryptography and Key Agreement
|
|
Certificates
|
Function |
Description |
| x509 | X.509 certificate handling. |
| x509v3() | X.509 version3 certificate handling. |
|
|
Authentication Codes and Hash Functions
|
Function |
Description |
| hmac, HMAC_Init, HMAC_Update, HMAC_Final, HMAC_cleanup | HMAC message authentication code. |
| MD2, MD5, MD2_Init, MD2_Update, MD2_Final, MD5_Init, MD5_Update, MD5_Final | Cryptographic hash functions with a 128 bit output. |
| SHA1, SHA1_Init, SHA1_Update, SHA1_Final | SHA-1 (Secure Hash Algorithm) is a cryptographic hash function with a 160 bit output. |
|
|
Auxiliary Functions
|
|
Input/Output and Data Encoding
|
|
Internal Functions
|
|
General Functions
| ©Nokia 2007 |
|