From 419d7af5505230f378fd3f8340e374e07908b82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Thu, 9 Sep 2021 21:07:29 +0200 Subject: x86_64: Fat setup for assembly CBC AES. --- fat-setup.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'fat-setup.h') 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); -- cgit v1.2.1