diff options
author | Matt Caswell <matt@openssl.org> | 2019-01-07 15:16:23 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-01-08 16:26:47 +0000 |
commit | 87d06aed64395afcd9ee4e7c699950dd57278259 (patch) | |
tree | 6c74822f821753e099a0f0d456d220fc73333dba /crypto/evp/e_aes.c | |
parent | 760e2d60e62511a6fb96f547f6730d05eb5f47ec (diff) |
Fix compilation on sparc
Fixes #7966
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7997)
Diffstat (limited to 'crypto/evp/e_aes.c')
-rw-r--r-- | crypto/evp/e_aes.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c index 6080d1632d..8dc523528b 100644 --- a/crypto/evp/e_aes.c +++ b/crypto/evp/e_aes.c @@ -927,6 +927,11 @@ static int aes_t4_ocb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len); # endif /* OPENSSL_NO_OCB */ +# ifndef OPENSSL_NO_SIV +# define aes_t4_siv_init_key aes_siv_init_key +# define aes_t4_siv_cipher aes_siv_cipher +# endif /* OPENSSL_NO_SIV */ + # define BLOCK_CIPHER_generic(nid,keylen,blocksize,ivlen,nmode,mode,MODE,flags) \ static const EVP_CIPHER aes_t4_##keylen##_##mode = { \ nid##_##keylen##_##nmode,blocksize,keylen/8,ivlen, \ |