|
cx_err_t | cx_des_init_key_no_throw (const uint8_t *rawkey, size_t key_len, cx_des_key_t *key) |
| Initializes a DES key. More...
|
static int | cx_des_init_key (const unsigned char *rawkey, unsigned int key_len, cx_des_key_t *key) |
| Initializes a DES key. More...
|
cx_err_t | cx_des_iv_no_throw (const cx_des_key_t *key, uint32_t mode, const uint8_t *iv, size_t iv_len, const uint8_t *in, size_t in_len, uint8_t *out, size_t *out_len) |
| Encrypts, decrypts, signs or verifies data with DES algorithm. More...
|
static int | cx_des_iv (const cx_des_key_t *key, int mode, unsigned char *iv, unsigned int iv_len, const unsigned char *in, unsigned int in_len, unsigned char *out, unsigned int out_len) |
| Encrypts, decrypts, signs or verifies data with DES algorithm. More...
|
cx_err_t | cx_des_no_throw (const cx_des_key_t *key, uint32_t mode, const uint8_t *in, size_t in_len, uint8_t *out, size_t *out_len) |
| Encrypts, decrypts, signs or verifies data with DES algorithm. More...
|
static int | cx_des (const cx_des_key_t *key, int mode, const unsigned char *in, unsigned int in_len, unsigned char *out, unsigned int out_len) |
| Encrypts, decrypts, signs or verifies data with DES algorithm. More...
|
void | cx_des_enc_block (const cx_des_key_t *key, const uint8_t *inblock, uint8_t *outblock) |
| Encrypts a 8-byte block using DES/3-DES algorithm. More...
|
void | cx_des_dec_block (const cx_des_key_t *key, const uint8_t *inblock, uint8_t *outblock) |
| Decrypts a 8-byte block using DES/3-DES algorithm. More...
|
DES (Data Encryption Standard).
DES is an encryption algorithm designed to encipher and decipher blocks of 64 bits under control of a 56-bit key. However, the key is represented with 64 bits.
Triple DES variant supports either a 128-bit (two 64-bit keys) or 192-bit key (three 64-bit keys).