ebs-cryptolib  0.2.0
Cryptography libraries repacked for convenience from AVR Crypto Lib
aes_dec.h File Reference
#include "aes_types.h"
#include <stdint.h>
Include dependency graph for aes_dec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void aes_decrypt_core (aes_cipher_state_t *state, const aes_genctx_t *ks, uint8_t rounds)
 
void aes128_dec (void *buffer, aes128_ctx_t *ctx)
 decrypt with 128 bit key. More...
 
void aes192_dec (void *buffer, aes192_ctx_t *ctx)
 decrypt with 192 bit key. More...
 
void aes256_dec (void *buffer, aes256_ctx_t *ctx)
 decrypt with 256 bit key. More...
 

Detailed Description

\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_dec.h.

Function Documentation

◆ aes128_dec()

void aes128_dec ( void *  buffer,
aes128_ctx_t ctx 
)

decrypt with 128 bit key.

This function decrypts one block with the AES algorithm under control of a keyschedule produced from a 128 bit key.

Parameters
bufferpointer to the block to decrypt
ctxpointer to the key schedule

Definition at line 135 of file aes_dec.c.

◆ aes192_dec()

void aes192_dec ( void *  buffer,
aes192_ctx_t ctx 
)

decrypt with 192 bit key.

This function decrypts one block with the AES algorithm under control of a keyschedule produced from a 192 bit key.

Parameters
bufferpointer to the block to decrypt
ctxpointer to the key schedule

Definition at line 139 of file aes_dec.c.

◆ aes256_dec()

void aes256_dec ( void *  buffer,
aes256_ctx_t ctx 
)

decrypt with 256 bit key.

This function decrypts one block with the AES algorithm under control of a keyschedule produced from a 256 bit key.

Parameters
bufferpointer to the block to decrypt
ctxpointer to the key schedule

Definition at line 143 of file aes_dec.c.