#include <stdint.h>
#include <string.h>
#include "aes.h"
#include "../gf256mul/gf256mul.h"
#include "aes_sbox.h"
#include "aes_enc.h"
 
Go to the source code of this file.
 | 
| 
#define  | GF256MUL_1(a)   (a) | 
|   | 
| 
#define  | GF256MUL_2(a)   (gf256mul(2, (a), 0x1b)) | 
|   | 
| 
#define  | GF256MUL_3(a)   (gf256mul(3, (a), 0x1b)) | 
|   | 
\email bg@ne.nosp@m.rile.nosp@m.x.org 
- Author
 - Daniel Otte 
 
- Date
 - 2008-12-30 \license GPLv3 or later 
 
Definition in file aes_enc.c.
 
◆ aes128_enc()
encrypt with 128 bit key. 
This function encrypts one block with the AES algorithm under control of a keyschedule produced from a 128 bit key. 
- Parameters
 - 
  
    | buffer | pointer to the block to encrypt  | 
    | ctx | pointer to the key schedule  | 
  
   
Definition at line 126 of file aes_enc.c.
 
 
◆ aes192_enc()
encrypt with 192 bit key. 
This function encrypts one block with the AES algorithm under control of a keyschedule produced from a 192 bit key. 
- Parameters
 - 
  
    | buffer | pointer to the block to encrypt  | 
    | ctx | pointer to the key schedule  | 
  
   
Definition at line 131 of file aes_enc.c.
 
 
◆ aes256_enc()
encrypt with 256 bit key. 
This function encrypts one block with the AES algorithm under control of a keyschedule produced from a 256 bit key. 
- Parameters
 - 
  
    | buffer | pointer to the block to encrypt  | 
    | ctx | pointer to the key schedule  | 
  
   
Definition at line 136 of file aes_enc.c.