#include "common.h"Go to the source code of this file.
Data Structures | |
| struct | TransformConfigItem |
| Structure which is used to map descriptive transform name to numeric ID and vice versa. This structure also contains information about kind of encryption key, which is used with sepceyfic algorithm. If variable key length is allowed, then last field, contains also default key length. More... | |
| struct | IdTypeConfigItem |
| Structure which is used to map descriptive ID type name to numeric ID and vice versa. More... | |
Functions | |
| const char * | GetTransformName (int type, int alg) |
| Get human readable transform type string. The outut of this function is in format "%s/%s", where first part is transform type, and second part is used algorithm. | |
| int | TransformFromName (const char *name, uint8_t type, uint8_t *id, uint16_t *keylen) |
| Get transform id from string, useful in configuration. | |
| int | IdTypeFromName (const char *name) |
| Get type id from name string , useful in configuration. | |
| int | AuthtypeFromName (const char *authtype_name) |
| Get authe type id from string literal. | |
| uint16_t | extractKeyLen (const char *alg) |
Extract key length from algorithm name saved in folowing form: alg_name:n where:
| |
| const struct TransformConfigItem * | GetAvailableTransformsTypes (void) |
| Get pointer to the array containing list of the available transforms types. | |
| const struct IdTypeConfigItem * | GetAvailableIdTypes (void) |
| Get pointer to the array contaning list of the available ID types. | |
|
|
Get authe type id from string literal.
|
|
|
Extract key length from algorithm name saved in folowing form: alg_name:n where:
|
|
|
Get pointer to the array contaning list of the available ID types.
|
|
|
Get pointer to the array containing list of the available transforms types.
|
|
||||||||||||
|
Get human readable transform type string. The outut of this function is in format "%s/%s", where first part is transform type, and second part is used algorithm.
|
|
|
Get type id from name string , useful in configuration.
|
|
||||||||||||||||||||
|
Get transform id from string, useful in configuration.
|