Go to the source code of this file.
|
void | aes128_set_encrypt_key (struct aes128_ctx *ctx, const uint8_t *key) |
|
void | aes128_set_decrypt_key (struct aes128_ctx *ctx, const uint8_t *key) |
|
void | aes128_invert_key (struct aes128_ctx *dst, const struct aes128_ctx *src) |
|
void | aes128_encrypt (const struct aes128_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src) |
|
void | aes128_decrypt (const struct aes128_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src) |
|
void | aes192_set_encrypt_key (struct aes192_ctx *ctx, const uint8_t *key) |
|
void | aes192_set_decrypt_key (struct aes192_ctx *ctx, const uint8_t *key) |
|
void | aes192_invert_key (struct aes192_ctx *dst, const struct aes192_ctx *src) |
|
void | aes192_encrypt (const struct aes192_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src) |
|
void | aes192_decrypt (const struct aes192_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src) |
|
void | aes256_set_encrypt_key (struct aes256_ctx *ctx, const uint8_t *key) |
|
void | aes256_set_decrypt_key (struct aes256_ctx *ctx, const uint8_t *key) |
|
void | aes256_invert_key (struct aes256_ctx *dst, const struct aes256_ctx *src) |
|
void | aes256_encrypt (const struct aes256_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src) |
|
void | aes256_decrypt (const struct aes256_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src) |
|
void | aes_set_encrypt_key (struct aes_ctx *ctx, size_t length, const uint8_t *key) _NETTLE_ATTRIBUTE_DEPRECATED |
|
void | aes_set_decrypt_key (struct aes_ctx *ctx, size_t length, const uint8_t *key) _NETTLE_ATTRIBUTE_DEPRECATED |
|
void | aes_invert_key (struct aes_ctx *dst, const struct aes_ctx *src) _NETTLE_ATTRIBUTE_DEPRECATED |
|
void | aes_encrypt (const struct aes_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src) _NETTLE_ATTRIBUTE_DEPRECATED |
|
void | aes_decrypt (const struct aes_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src) _NETTLE_ATTRIBUTE_DEPRECATED |
|
◆ _AES128_ROUNDS
#define _AES128_ROUNDS 10 |
Definition at line 73 of file aes.h.
◆ _AES192_ROUNDS
#define _AES192_ROUNDS 12 |
Definition at line 74 of file aes.h.
◆ _AES256_ROUNDS
#define _AES256_ROUNDS 14 |
Definition at line 75 of file aes.h.
◆ aes128_decrypt
Definition at line 56 of file aes.h.
◆ aes128_encrypt
Definition at line 55 of file aes.h.
◆ aes128_invert_key
Definition at line 54 of file aes.h.
◆ AES128_KEY_SIZE
#define AES128_KEY_SIZE 16 |
Definition at line 70 of file aes.h.
◆ aes128_set_decrypt_key
Definition at line 53 of file aes.h.
◆ aes128_set_encrypt_key
Definition at line 52 of file aes.h.
◆ aes192_decrypt
Definition at line 61 of file aes.h.
◆ aes192_encrypt
Definition at line 60 of file aes.h.
◆ aes192_invert_key
Definition at line 59 of file aes.h.
◆ AES192_KEY_SIZE
#define AES192_KEY_SIZE 24 |
Definition at line 71 of file aes.h.
◆ aes192_set_decrypt_key
Definition at line 58 of file aes.h.
◆ aes192_set_encrypt_key
Definition at line 57 of file aes.h.
◆ aes256_decrypt
Definition at line 66 of file aes.h.
◆ aes256_encrypt
Definition at line 65 of file aes.h.
◆ aes256_invert_key
Definition at line 64 of file aes.h.
◆ AES256_KEY_SIZE
#define AES256_KEY_SIZE 32 |
Definition at line 72 of file aes.h.
◆ aes256_set_decrypt_key
Definition at line 63 of file aes.h.
◆ aes256_set_encrypt_key
Definition at line 62 of file aes.h.
◆ AES_BLOCK_SIZE
#define AES_BLOCK_SIZE 16 |
Definition at line 68 of file aes.h.
◆ aes_decrypt
#define aes_decrypt nettle_aes_decrypt |
Definition at line 51 of file aes.h.
◆ aes_encrypt
#define aes_encrypt nettle_aes_encrypt |
Definition at line 50 of file aes.h.
◆ aes_invert_key
#define aes_invert_key nettle_aes_invert_key |
Definition at line 49 of file aes.h.
◆ AES_KEY_SIZE
◆ AES_MAX_KEY_SIZE
◆ AES_MIN_KEY_SIZE
◆ aes_set_decrypt_key
#define aes_set_decrypt_key nettle_aes_set_decrypt_key |
Definition at line 48 of file aes.h.
◆ aes_set_encrypt_key
#define aes_set_encrypt_key nettle_aes_set_encrypt_key |
Definition at line 47 of file aes.h.
◆ aes128_decrypt()
◆ aes128_encrypt()
◆ aes128_invert_key()
◆ aes128_set_decrypt_key()
◆ aes128_set_encrypt_key()
◆ aes192_decrypt()
◆ aes192_encrypt()
◆ aes192_invert_key()
◆ aes192_set_decrypt_key()
◆ aes192_set_encrypt_key()
◆ aes256_decrypt()
◆ aes256_encrypt()
◆ aes256_invert_key()
◆ aes256_set_decrypt_key()
◆ aes256_set_encrypt_key()
◆ aes_decrypt()
Definition at line 46 of file aes-decrypt.c.
50 switch (
ctx->key_size)
void aes128_decrypt(const struct aes128_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src)
void aes256_decrypt(const struct aes256_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src)
void aes192_decrypt(const struct aes192_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *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 static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
References aes128_decrypt(), AES128_KEY_SIZE, aes192_decrypt(), AES192_KEY_SIZE, aes256_decrypt(), AES256_KEY_SIZE, dst, length, and src.
◆ aes_encrypt()
Definition at line 49 of file aes-encrypt.c.
53 switch (
ctx->key_size)
void aes128_encrypt(const struct aes128_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src)
void aes192_encrypt(const struct aes192_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src)
void aes256_encrypt(const struct aes256_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src)
References aes128_encrypt(), AES128_KEY_SIZE, aes192_encrypt(), AES192_KEY_SIZE, aes256_encrypt(), AES256_KEY_SIZE, dst, length, and src.
◆ aes_invert_key()
Definition at line 51 of file aes-set-decrypt-key.c.
54 switch (
src->key_size)
68 dst->key_size =
src->key_size;
void aes192_invert_key(struct aes192_ctx *dst, const struct aes192_ctx *src)
void aes256_invert_key(struct aes256_ctx *dst, const struct aes256_ctx *src)
void aes128_invert_key(struct aes128_ctx *dst, const struct aes128_ctx *src)
References aes128_invert_key(), AES128_KEY_SIZE, aes192_invert_key(), AES192_KEY_SIZE, aes256_invert_key(), AES256_KEY_SIZE, dst, and src.
Referenced by aes_set_decrypt_key().
◆ aes_set_decrypt_key()
Definition at line 72 of file aes-set-decrypt-key.c.
void aes_invert_key(struct aes_ctx *dst, const struct aes_ctx *src)
#define aes_set_encrypt_key
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
References aes_invert_key(), aes_set_encrypt_key, and key.
◆ aes_set_encrypt_key()