diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2017-05-02 11:46:01 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2017-05-02 11:46:01 +0000 |
commit | 810ec2d6b6437fb122a10269267d4fe60503cb4b (patch) | |
tree | b8360ab1255591f92a3cb5e0c6bcfe982f834b17 /regress/sys/crypto/aesxts/aes_xts.c | |
parent | f88647184046fb894ba3580f6dad8c0f473627f6 (diff) |
Sync GMAC and AES-CTR/-XTS regress tests with the new AES code
ok djm
Diffstat (limited to 'regress/sys/crypto/aesxts/aes_xts.c')
-rw-r--r-- | regress/sys/crypto/aesxts/aes_xts.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/sys/crypto/aesxts/aes_xts.c b/regress/sys/crypto/aesxts/aes_xts.c index 77a64108498..861d143bac6 100644 --- a/regress/sys/crypto/aesxts/aes_xts.c +++ b/regress/sys/crypto/aesxts/aes_xts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aes_xts.c,v 1.2 2013/10/06 16:59:34 jsing Exp $ */ +/* $OpenBSD: aes_xts.c,v 1.3 2017/05/02 11:46:00 mikeb Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserved. @@ -26,7 +26,7 @@ */ #include <sys/types.h> -#include <crypto/rijndael.h> +#include <crypto/aes.h> #include <err.h> #include <fcntl.h> #include <stdio.h> @@ -37,8 +37,8 @@ #define AES_XTS_BLOCKSIZE 16 struct aes_xts_ctx { - rijndael_ctx key1; - rijndael_ctx key2; + AES_CTX key1; + AES_CTX key2; u_int8_t tweak[AES_XTS_BLOCKSIZE]; }; |