diff options
author | Pauli <pauli@openssl.org> | 2021-05-25 10:40:44 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-27 09:35:50 +1000 |
commit | 3675334e2b92eabedbd2f0eb452ade30283b0e56 (patch) | |
tree | ef0e9fc33bbc4dd511ae28303e9f3001755a96da /include/crypto | |
parent | 190c029eab0d553f1a94cccc3021440ee2ff4a1e (diff) |
aes: rename new bsaes_ symbols -> ossl_bsaes_ ones
bsaes_cbc_encrypt -> ossl_bsaes_cbc_encrypt
bsaes_ctr32_encrypt_blocks -> ossl_bsaes_ctr32_encrypt_blocks
bsaes_xts_decrypt -> ossl_bsaes_xts_decrypt
bsaes_xts_encrypt -> ossl_bsaes_xts_encrypt
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15445)
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/aes_platform.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/include/crypto/aes_platform.h b/include/crypto/aes_platform.h index b2b0b11877..fa3b3eb8ab 100644 --- a/include/crypto/aes_platform.h +++ b/include/crypto/aes_platform.h @@ -29,18 +29,19 @@ void vpaes_cbc_encrypt(const unsigned char *in, # endif /* VPAES_ASM */ # ifdef BSAES_ASM -void bsaes_cbc_encrypt(const unsigned char *in, unsigned char *out, - size_t length, const AES_KEY *key, - unsigned char ivec[16], int enc); -void bsaes_ctr32_encrypt_blocks(const unsigned char *in, unsigned char *out, - size_t len, const AES_KEY *key, - const unsigned char ivec[16]); -void bsaes_xts_encrypt(const unsigned char *inp, unsigned char *out, - size_t len, const AES_KEY *key1, - const AES_KEY *key2, const unsigned char iv[16]); -void bsaes_xts_decrypt(const unsigned char *inp, unsigned char *out, - size_t len, const AES_KEY *key1, - const AES_KEY *key2, const unsigned char iv[16]); +void ossl_bsaes_cbc_encrypt(const unsigned char *in, unsigned char *out, + size_t length, const AES_KEY *key, + unsigned char ivec[16], int enc); +void ossl_bsaes_ctr32_encrypt_blocks(const unsigned char *in, + unsigned char *out, size_t len, + const AES_KEY *key, + const unsigned char ivec[16]); +void ossl_bsaes_xts_encrypt(const unsigned char *inp, unsigned char *out, + size_t len, const AES_KEY *key1, + const AES_KEY *key2, const unsigned char iv[16]); +void ossl_bsaes_xts_decrypt(const unsigned char *inp, unsigned char *out, + size_t len, const AES_KEY *key1, + const AES_KEY *key2, const unsigned char iv[16]); # endif /* BSAES_ASM */ # ifdef AES_CTR_ASM |