summaryrefslogtreecommitdiff
path: root/providers/implementations/ciphers/cipher_aes_xts.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-09-28 12:28:29 +1000
committerPauli <paul.dale@oracle.com>2020-09-29 16:31:46 +1000
commit1be63951f87dfcbc98efe5d94a15298fea885890 (patch)
tree083ab242e6cf6521377635b5f0daacedfe937dbe /providers/implementations/ciphers/cipher_aes_xts.c
parent5e26c3399d154b9ed29558129ca1916a1b5b095e (diff)
downloadopenssl-new-1be63951f87dfcbc98efe5d94a15298fea885890.tar.gz
prov: prefix all OSSL_DISPATCH tables names with ossl_
This stops them leaking into other namespaces in a static build. They remain internal. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13013)
Diffstat (limited to 'providers/implementations/ciphers/cipher_aes_xts.c')
-rw-r--r--providers/implementations/ciphers/cipher_aes_xts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_aes_xts.c b/providers/implementations/ciphers/cipher_aes_xts.c
index 72ed2334b1..e28008b773 100644
--- a/providers/implementations/ciphers/cipher_aes_xts.c
+++ b/providers/implementations/ciphers/cipher_aes_xts.c
@@ -1,3 +1,4 @@
+
/*
* Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
*
@@ -265,7 +266,7 @@ static void *aes_##kbits##_xts_newctx(void *provctx) \
return aes_xts_newctx(provctx, EVP_CIPH_##UCMODE##_MODE, flags, 2 * kbits, \
AES_XTS_BLOCK_BITS, AES_XTS_IV_BITS); \
} \
-const OSSL_DISPATCH aes##kbits##xts_functions[] = { \
+const OSSL_DISPATCH ossl_aes##kbits##xts_functions[] = { \
{ OSSL_FUNC_CIPHER_NEWCTX, (void (*)(void))aes_##kbits##_xts_newctx }, \
{ OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void))aes_xts_einit }, \
{ OSSL_FUNC_CIPHER_DECRYPT_INIT, (void (*)(void))aes_xts_dinit }, \