Rizin
unix-like reverse engineering framework and cli tools
aes256-set-decrypt-key.c File Reference
#include <assert.h>
#include "aes-internal.h"
#include "macros.h"

Go to the source code of this file.

Functions

void nettle_aes256_invert_key (struct aes256_ctx *dst, const struct aes256_ctx *src)
 
void nettle_aes256_set_decrypt_key (struct aes256_ctx *ctx, const uint8_t *key)
 

Function Documentation

◆ nettle_aes256_invert_key()

void nettle_aes256_invert_key ( struct aes256_ctx dst,
const struct aes256_ctx src 
)

Definition at line 59 of file aes256-set-decrypt-key.c.

60 {
61  _nettle_aes_invert (_AES256_ROUNDS, dst->keys, src->keys);
62 }
void _nettle_aes_invert(unsigned rounds, uint32_t *dst, const uint32_t *src)
#define _AES256_ROUNDS
Definition: aes.h:75
lzma_index * src
Definition: index.h:567
char * dst
Definition: lz4.h:724

References _AES256_ROUNDS, _nettle_aes_invert(), dst, and src.

◆ nettle_aes256_set_decrypt_key()

void nettle_aes256_set_decrypt_key ( struct aes256_ctx ctx,
const uint8_t key 
)

Definition at line 65 of file aes256-set-decrypt-key.c.

66 {
69 }
void aes256_set_encrypt_key(struct aes256_ctx *ctx, const uint8_t *key)
void aes256_invert_key(struct aes256_ctx *dst, const struct aes256_ctx *src)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len key
Definition: sflib.h:118

References aes256_invert_key(), aes256_set_encrypt_key(), and key.