Home
last modified time | relevance | path

Searched refs:U32V (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/
H A Dchacha20_ref.c28 #define U32V(v) ((uint32_t)(v) &U32C(0xFFFFFFFF)) macro
32 #define PLUS(v, w) (U32V((v) + (w)))
277 ic_high = U32V(ic >> 32); in stream_ref_xor_ic()
278 ic_low = U32V(ic); in stream_ref_xor_ic()
/f-stack/freebsd/crypto/chacha20/
H A Dchacha.c26 #define U32V(v) ((u32)(v) & U32C(0xFFFFFFFF)) macro
29 (U32V((v) << (n)) | ((v) >> (32 - (n))))
47 #define PLUS(v,w) (U32V((v) + (w)))