libosmogsm
1.4.0.160-7619
Osmocom GSM library
|
AES (Rijndael) cipher - encrypt. More...
Macros | |
#define | ROUND(i, d, s) |
Functions | |
static void | rijndaelEncrypt (const u32 rk[], const u8 pt[16], u8 ct[16]) |
void * | aes_encrypt_init (const u8 *key, size_t len) |
void | aes_encrypt (void *ctx, const u8 *plain, u8 *crypt) |
void | aes_encrypt_deinit (void *ctx) |
AES (Rijndael) cipher - encrypt.
Modifications to public domain implementation:
#define ROUND | ( | i, | |
d, | |||
s | |||
) |
References rijndaelEncrypt().
Referenced by aes_128_encrypt_block().
void aes_encrypt_deinit | ( | void * | ctx | ) |
References AES_PRIV_SIZE, os_free, and os_memset.
Referenced by aes_128_encrypt_block().
void* aes_encrypt_init | ( | const u8 * | key, |
size_t | len | ||
) |
References AES_PRIV_SIZE, len, os_malloc, and rijndaelKeySetupEnc().
Referenced by aes_128_encrypt_block().