#include <stddef.h>
#include <stdint.h>
|
| int | pbl_aes_expandkey (struct pbl_aes_ctx *ctx, const uint8_t *key, size_t key_len) |
| | Expand a key.
|
| |
| void | pbl_aes_encrypt (const struct pbl_aes_ctx *ctx, uint8_t out[PBL_AES_BLOCK_SIZE], const uint8_t in[PBL_AES_BLOCK_SIZE]) |
| | Encrypt a block.
|
| |
| void | pbl_aes_decrypt (const struct pbl_aes_ctx *ctx, uint8_t out[PBL_AES_BLOCK_SIZE], const uint8_t in[PBL_AES_BLOCK_SIZE]) |
| | Decrypt a block.
|
| |
| int | pbl_aes_ecb_encrypt (const struct pbl_aes_ctx *ctx, uint8_t *out, const uint8_t *in, size_t len) |
| | Encrypt blocks in ECB mode.
|
| |
| int | pbl_aes_ecb_decrypt (const struct pbl_aes_ctx *ctx, uint8_t *out, const uint8_t *in, size_t len) |
| | Decrypt blocks in ECB mode.
|
| |