networkclient
|
Data obfuscation and signing, using MD5. More...
#include <networkradius-devel/client.h>
Functions | |
ssize_t | nr_password_encrypt (uint8_t *output, size_t outlen, const uint8_t *input, size_t inlen, const char *secret, const uint8_t *vector) |
ssize_t | nr_tunnelpw_encrypt (uint8_t *output, size_t outlen, const uint8_t *input, size_t inlen, const char *secret, const uint8_t *vector) |
ssize_t | nr_tunnelpw_decrypt (uint8_t *output, size_t outlen, const uint8_t *input, size_t inlen, const char *secret, const uint8_t *vector) |
void | nr_hmac_md5 (const uint8_t *data, size_t data_len, const uint8_t *key, size_t key_len, uint8_t digest[16]) |
Data obfuscation and signing, using MD5.
The "encryption" methods defined here are export-safe. The technical cryptography name for these functions is "obfuscation". They cannot properly be called "encryption", in the same way that DES or AES performs encryption.