|
Functions |
| void | Do3DES (uint8_t *data, uint32_t dlen, uint8_t *iv, uint8_t *key, int enc) |
| | encrypt / decrypt data with 3DES in ECB mode
|
| void | DoEVPCrypt (const EVP_CIPHER *cipher, uint8_t *data, uint32_t dlen, uint8_t *iv, uint8_t *key, uint32_t keylen, int enc) |
| | encrypt/decrypt with EVP interface
|
| const EVP_CIPHER * | FindEVPCipher (uint32_t type, uint32_t keylen) |
| | Try to find encryption algorithm, which is supported by OpenSSL EVP interface.
|
| uint32_t | GetEncrKeyLen (uint32_t type, uint16_t keylen) |
| | Get encryption key length.
|
| uint32_t | GetEncrBlockLen (uint32_t type, uint32_t keylen) |
| | Get length of block for specific encryption algorithm.
|
| int | EncrKeyLenValid (uint32_t type, uint32_t keylen) |
| | Check for valid key length.
|
| void | IKEv2Crypt (uint8_t *data, uint32_t dlen, uint8_t *iv, uint8_t *key, uint32_t type, uint32_t keylen, int enc) |
| | Encrypt/decrypt a block of data.
|