|
return_type | aes_set_key (const uint8_t key[], length_type keylen, aes_context ctx[1]) |
| Sets the key for AES encryption/decryption. More...
|
|
return_type | aes_encrypt (const uint8_t in[N_BLOCK], uint8_t out[N_BLOCK], const aes_context ctx[1]) |
| Encrypts a single block of 16 bytes. More...
|
|
return_type | aes_encrypt_all (const uint8_t *in, uint8_t *out, uint32_t len, const aes_context ctx[1]) |
| Encrypts a buffer of n x 16 bytes. More...
|
|
return_type | aes_cbc_encrypt (const uint8_t *in, uint8_t *out, int32_t n_block, uint8_t iv[N_BLOCK], const aes_context ctx[1]) |
|
return_type | aes_decrypt (const uint8_t in[N_BLOCK], uint8_t out[N_BLOCK], const aes_context ctx[1]) |
| Decrypts a single block of 16 bytes. More...
|
|
return_type | aes_decrypt_all (const uint8_t *in, uint8_t *out, uint32_t len, const aes_context ctx[1]) |
| Decrypts a buffer of n x 16 bytes. More...
|
|
return_type | aes_cbc_decrypt (const uint8_t *in, uint8_t *out, int32_t n_block, uint8_t iv[N_BLOCK], const aes_context ctx[1]) |
|
AES implementation that uses only 8-bit byte operations on the cipher state.
Copyright (c) 1998-2008, Brian Gladman, Worcester, UK. All rights reserved.
LICENSE TERMS
The redistribution and use of this software (with or without changes) is allowed without the payment of fees or royalties provided that:
- source code distributions include the above copyright notice, this list of conditions and the following disclaimer;
- binary distributions include the above copyright notice, this list of conditions and the following disclaimer in their documentation;
- the name of the copyright holder is not used to endorse products built using this software without specific written permission.
DISCLAIMER
This software is provided 'as is' with no explicit or implied warranties in respect of its properties, including, but not limited to, correctness and/or fitness for purpose.
Issue 09/09/2006
This is an AES implementation that uses only 8-bit byte operations on the cipher state.