Bitcoin ABC  0.28.12
P2P Digital Currency
Classes | Functions
ctaes.h File Reference
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for ctaes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AES_state
 
struct  AES128_ctx
 
struct  AES192_ctx
 
struct  AES256_ctx
 

Functions

void AES128_init (AES128_ctx *ctx, const uint8_t *key16)
 
void AES128_encrypt (const AES128_ctx *ctx, size_t blocks, uint8_t *cipher16, const uint8_t *plain16)
 
void AES128_decrypt (const AES128_ctx *ctx, size_t blocks, uint8_t *plain16, const uint8_t *cipher16)
 
void AES192_init (AES192_ctx *ctx, const uint8_t *key24)
 
void AES192_encrypt (const AES192_ctx *ctx, size_t blocks, uint8_t *cipher16, const uint8_t *plain16)
 
void AES192_decrypt (const AES192_ctx *ctx, size_t blocks, uint8_t *plain16, const uint8_t *cipher16)
 
void AES256_init (AES256_ctx *ctx, const uint8_t *key32)
 
void AES256_encrypt (const AES256_ctx *ctx, size_t blocks, uint8_t *cipher16, const uint8_t *plain16)
 
void AES256_decrypt (const AES256_ctx *ctx, size_t blocks, uint8_t *plain16, const uint8_t *cipher16)
 

Function Documentation

◆ AES128_decrypt()

void AES128_decrypt ( const AES128_ctx ctx,
size_t  blocks,
uint8_t *  plain16,
const uint8_t *  cipher16 
)

Definition at line 531 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AES128_encrypt()

void AES128_encrypt ( const AES128_ctx ctx,
size_t  blocks,
uint8_t *  cipher16,
const uint8_t *  plain16 
)

Definition at line 522 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AES128_init()

void AES128_init ( AES128_ctx ctx,
const uint8_t *  key16 
)

Definition at line 518 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AES192_decrypt()

void AES192_decrypt ( const AES192_ctx ctx,
size_t  blocks,
uint8_t *  plain16,
const uint8_t *  cipher16 
)

Definition at line 553 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AES192_encrypt()

void AES192_encrypt ( const AES192_ctx ctx,
size_t  blocks,
uint8_t *  cipher16,
const uint8_t *  plain16 
)

Definition at line 544 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AES192_init()

void AES192_init ( AES192_ctx ctx,
const uint8_t *  key24 
)

Definition at line 540 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AES256_decrypt()

void AES256_decrypt ( const AES256_ctx ctx,
size_t  blocks,
uint8_t *  plain16,
const uint8_t *  cipher16 
)

Definition at line 575 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AES256_encrypt()

void AES256_encrypt ( const AES256_ctx ctx,
size_t  blocks,
uint8_t *  cipher16,
const uint8_t *  plain16 
)

Definition at line 566 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AES256_init()

void AES256_init ( AES256_ctx ctx,
const uint8_t *  key32 
)

Definition at line 562 of file ctaes.c.

Here is the call graph for this function:
Here is the caller graph for this function: