1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 12:05:11 -07:00

C++ compat

This commit is contained in:
Frank Denis 2023-09-08 20:59:17 +02:00
parent 18fad78494
commit 48a679650e

View File

@ -34,8 +34,8 @@
typedef uint64x2_t BlockVec;
#define LOAD128(a) vld1q_u64((const void *) a)
#define STORE128(a, b) vst1q_u64(((void *) a), (b))
#define LOAD128(a) vld1q_u64((const uint64_t *) (const void *) a)
#define STORE128(a, b) vst1q_u64(((uint64_t *) (void *) a), (b))
#define AES_XENCRYPT(block_vec, rkey) \
vreinterpretq_u64_u8( \
vaesmcq_u8(vaeseq_u8(vreinterpretq_u8_u64(block_vec), rkey)))