diff options
author | Niels Möller <nisse@lysator.liu.se> | 2021-09-09 21:07:29 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2021-09-09 21:07:29 +0200 |
commit | 419d7af5505230f378fd3f8340e374e07908b82d (patch) | |
tree | 2d6ca9b45c37eb0b52b6f572a880e53642b02709 /fat-setup.h | |
parent | 121290e0a64be203df5961299db01fc26367a2ba (diff) | |
download | nettle-419d7af5505230f378fd3f8340e374e07908b82d.tar.gz |
x86_64: Fat setup for assembly CBC AES.
Diffstat (limited to 'fat-setup.h')
-rw-r--r-- | fat-setup.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fat-setup.h b/fat-setup.h index 78a6e396..9ef5c22d 100644 --- a/fat-setup.h +++ b/fat-setup.h @@ -213,3 +213,13 @@ typedef void aes256_set_key_func (struct aes256_ctx *ctx, const uint8_t *key); typedef void aes256_invert_key_func (struct aes256_ctx *dst, const struct aes256_ctx *src); typedef void aes256_crypt_func (const struct aes256_ctx *ctx, size_t length, uint8_t *dst, const uint8_t *src); + +struct cbc_aes128_ctx; +typedef void cbc_aes128_encrypt_func (struct cbc_aes128_ctx *ctx, + size_t length, uint8_t *dst, const uint8_t *src); +struct cbc_aes192_ctx; +typedef void cbc_aes192_encrypt_func (struct cbc_aes192_ctx *ctx, + size_t length, uint8_t *dst, const uint8_t *src); +struct cbc_aes256_ctx; +typedef void cbc_aes256_encrypt_func (struct cbc_aes256_ctx *ctx, + size_t length, uint8_t *dst, const uint8_t *src); |