mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-25 13:05:08 -07:00
Add crypto_box_MACBYTES
This commit is contained in:
parent
b27030010e
commit
85ba9d3ff5
@ -15,6 +15,7 @@
|
|||||||
#define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES
|
#define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES
|
||||||
#define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
|
#define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
|
||||||
#define crypto_box_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
|
#define crypto_box_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
|
||||||
|
#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES)
|
||||||
#define crypto_box_PRIMITIVE "curve25519xsalsa20poly1305"
|
#define crypto_box_PRIMITIVE "curve25519xsalsa20poly1305"
|
||||||
#define crypto_box_IMPLEMENTATION crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION
|
#define crypto_box_IMPLEMENTATION crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION
|
||||||
#define crypto_box_VERSION crypto_box_curve25519xsalsa20poly1305_VERSION
|
#define crypto_box_VERSION crypto_box_curve25519xsalsa20poly1305_VERSION
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
#define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES
|
#define crypto_box_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_NONCEBYTES
|
||||||
#define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
|
#define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
|
||||||
#define crypto_box_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
|
#define crypto_box_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
|
||||||
|
#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES)
|
||||||
#define crypto_box_PRIMITIVE "curve25519xsalsa20poly1305"
|
#define crypto_box_PRIMITIVE "curve25519xsalsa20poly1305"
|
||||||
#define crypto_box_IMPLEMENTATION crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION
|
#define crypto_box_IMPLEMENTATION crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION
|
||||||
#define crypto_box_VERSION crypto_box_curve25519xsalsa20poly1305_VERSION
|
#define crypto_box_VERSION crypto_box_curve25519xsalsa20poly1305_VERSION
|
||||||
|
@ -33,6 +33,7 @@ extern int crypto_box_curve25519xsalsa20poly1305_ref_open_afternm(unsigned char
|
|||||||
#define crypto_box_curve25519xsalsa20poly1305_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_ref_NONCEBYTES
|
#define crypto_box_curve25519xsalsa20poly1305_NONCEBYTES crypto_box_curve25519xsalsa20poly1305_ref_NONCEBYTES
|
||||||
#define crypto_box_curve25519xsalsa20poly1305_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ref_ZEROBYTES
|
#define crypto_box_curve25519xsalsa20poly1305_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ref_ZEROBYTES
|
||||||
#define crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_ref_BOXZEROBYTES
|
#define crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_ref_BOXZEROBYTES
|
||||||
|
#define crypto_box_curve25519xsalsa20poly1305_MACBYTES (crypto_box_curve25519xsalsa20poly1305_ZEROBYTES - crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES)
|
||||||
#define crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION "crypto_box/curve25519xsalsa20poly1305/ref"
|
#define crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION "crypto_box/curve25519xsalsa20poly1305/ref"
|
||||||
#ifndef crypto_box_curve25519xsalsa20poly1305_ref_VERSION
|
#ifndef crypto_box_curve25519xsalsa20poly1305_ref_VERSION
|
||||||
#define crypto_box_curve25519xsalsa20poly1305_ref_VERSION "-"
|
#define crypto_box_curve25519xsalsa20poly1305_ref_VERSION "-"
|
||||||
|
Loading…
Reference in New Issue
Block a user