cpucycles.h   cpucycles.h 
/* /*
cpucycles x86cpuinfo.h version 20060318 cpucycles x86cpuinfo.h version 20100803
D. J. Bernstein D. J. Bernstein
Public domain. Public domain.
*/ */
#ifndef CPUCYCLES_x86cpuinfo_h #ifndef CPUCYCLES_x86cpuinfo_h
#define CPUCYCLES_x86cpuinfo_h #define CPUCYCLES_x86cpuinfo_h
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 crypto_auth_hmacsha256.h   crypto_auth_hmacsha256.h 
#ifndef crypto_auth_hmacsha256_H #ifndef crypto_auth_hmacsha256_H
#define crypto_auth_hmacsha256_H #define crypto_auth_hmacsha256_H
#define crypto_auth_hmacsha256_ref_BYTES 32 #define crypto_auth_hmacsha256_ref_BYTES 32
#define crypto_auth_hmacsha256_ref_KEYBYTES 32 #define crypto_auth_hmacsha256_ref_KEYBYTES 32
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_auth_hmacsha256_ref(const std::string &,const std
::string &);
extern void crypto_auth_hmacsha256_ref_verify(const std::string &,const std
::string &,const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_auth_hmacsha256_ref(unsigned char *,const unsigned char * ,unsigned long long,const unsigned char *); extern int crypto_auth_hmacsha256_ref(unsigned char *,const unsigned char * ,unsigned long long,const unsigned char *);
extern int crypto_auth_hmacsha256_ref_verify(const unsigned char *,const un signed char *,unsigned long long,const unsigned char *); extern int crypto_auth_hmacsha256_ref_verify(const unsigned char *,const un signed char *,unsigned long long,const unsigned char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_auth_hmacsha256 crypto_auth_hmacsha256_ref #define crypto_auth_hmacsha256 crypto_auth_hmacsha256_ref
#define crypto_auth_hmacsha256_verify crypto_auth_hmacsha256_ref_verify #define crypto_auth_hmacsha256_verify crypto_auth_hmacsha256_ref_verify
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added


 crypto_box_curve25519xsalsa20poly1305.h   crypto_box_curve25519xsalsa20poly1305.h 
#ifndef crypto_box_curve25519xsalsa20poly1305_H #ifndef crypto_box_curve25519xsalsa20poly1305_H
#define crypto_box_curve25519xsalsa20poly1305_H #define crypto_box_curve25519xsalsa20poly1305_H
#define crypto_box_curve25519xsalsa20poly1305_ref_PUBLICKEYBYTES 32 #define crypto_box_curve25519xsalsa20poly1305_ref_PUBLICKEYBYTES 32
#define crypto_box_curve25519xsalsa20poly1305_ref_SECRETKEYBYTES 32 #define crypto_box_curve25519xsalsa20poly1305_ref_SECRETKEYBYTES 32
#define crypto_box_curve25519xsalsa20poly1305_ref_BEFORENMBYTES 32 #define crypto_box_curve25519xsalsa20poly1305_ref_BEFORENMBYTES 32
#define crypto_box_curve25519xsalsa20poly1305_ref_NONCEBYTES 24 #define crypto_box_curve25519xsalsa20poly1305_ref_NONCEBYTES 24
#define crypto_box_curve25519xsalsa20poly1305_ref_ZEROBYTES 32 #define crypto_box_curve25519xsalsa20poly1305_ref_ZEROBYTES 32
#define crypto_box_curve25519xsalsa20poly1305_ref_BOXZEROBYTES 16 #define crypto_box_curve25519xsalsa20poly1305_ref_BOXZEROBYTES 16
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_box_curve25519xsalsa20poly1305_ref(const std::str
ing &,const std::string &,const std::string &,const std::string &);
extern std::string crypto_box_curve25519xsalsa20poly1305_ref_open(const std
::string &,const std::string &,const std::string &,const std::string &);
extern std::string crypto_box_curve25519xsalsa20poly1305_ref_keypair(std::s
tring *);
extern "C" { extern "C" {
#endif #endif
extern int crypto_box_curve25519xsalsa20poly1305_ref(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned cha r *,const unsigned char *); extern int crypto_box_curve25519xsalsa20poly1305_ref(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned cha r *,const unsigned char *);
extern int crypto_box_curve25519xsalsa20poly1305_ref_open(unsigned char *,c onst unsigned char *,unsigned long long,const unsigned char *,const unsigne d char *,const unsigned char *); extern int crypto_box_curve25519xsalsa20poly1305_ref_open(unsigned char *,c onst unsigned char *,unsigned long long,const unsigned char *,const unsigne d char *,const unsigned char *);
extern int crypto_box_curve25519xsalsa20poly1305_ref_keypair(unsigned char *,unsigned char *); extern int crypto_box_curve25519xsalsa20poly1305_ref_keypair(unsigned char *,unsigned char *);
extern int crypto_box_curve25519xsalsa20poly1305_ref_beforenm(unsigned char *,const unsigned char *,const unsigned char *); extern int crypto_box_curve25519xsalsa20poly1305_ref_beforenm(unsigned char *,const unsigned char *,const unsigned char *);
extern int crypto_box_curve25519xsalsa20poly1305_ref_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsi gned char *); extern int crypto_box_curve25519xsalsa20poly1305_ref_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsi gned char *);
extern int crypto_box_curve25519xsalsa20poly1305_ref_open_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *); extern int crypto_box_curve25519xsalsa20poly1305_ref_open_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added


 crypto_core_hsalsa20.h   crypto_core_hsalsa20.h 
#ifndef crypto_core_hsalsa20_H #ifndef crypto_core_hsalsa20_H
#define crypto_core_hsalsa20_H #define crypto_core_hsalsa20_H
#define crypto_core_hsalsa20_ref_OUTPUTBYTES 32 #define crypto_core_hsalsa20_ref2_OUTPUTBYTES 32
#define crypto_core_hsalsa20_ref_INPUTBYTES 16 #define crypto_core_hsalsa20_ref2_INPUTBYTES 16
#define crypto_core_hsalsa20_ref_KEYBYTES 32 #define crypto_core_hsalsa20_ref2_KEYBYTES 32
#define crypto_core_hsalsa20_ref_CONSTBYTES 16 #define crypto_core_hsalsa20_ref2_CONSTBYTES 16
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern "C" { extern "C" {
#endif #endif
extern int crypto_core_hsalsa20_ref(unsigned char *,const unsigned char *,c onst unsigned char *,const unsigned char *); extern int crypto_core_hsalsa20_ref2(unsigned char *,const unsigned char *, const unsigned char *,const unsigned char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_core_hsalsa20 crypto_core_hsalsa20_ref #define crypto_core_hsalsa20 crypto_core_hsalsa20_ref2
#define crypto_core_hsalsa20_OUTPUTBYTES crypto_core_hsalsa20_ref_OUTPUTBYT #define crypto_core_hsalsa20_OUTPUTBYTES crypto_core_hsalsa20_ref2_OUTPUTBY
ES TES
#define crypto_core_hsalsa20_INPUTBYTES crypto_core_hsalsa20_ref_INPUTBYTES #define crypto_core_hsalsa20_INPUTBYTES crypto_core_hsalsa20_ref2_INPUTBYTE
#define crypto_core_hsalsa20_KEYBYTES crypto_core_hsalsa20_ref_KEYBYTES S
#define crypto_core_hsalsa20_CONSTBYTES crypto_core_hsalsa20_ref_CONSTBYTES #define crypto_core_hsalsa20_KEYBYTES crypto_core_hsalsa20_ref2_KEYBYTES
#define crypto_core_hsalsa20_IMPLEMENTATION "crypto_core/hsalsa20/ref" #define crypto_core_hsalsa20_CONSTBYTES crypto_core_hsalsa20_ref2_CONSTBYTE
#ifndef crypto_core_hsalsa20_ref_VERSION S
#define crypto_core_hsalsa20_ref_VERSION "-" #define crypto_core_hsalsa20_IMPLEMENTATION "crypto_core/hsalsa20/ref2"
#ifndef crypto_core_hsalsa20_ref2_VERSION
#define crypto_core_hsalsa20_ref2_VERSION "-"
#endif #endif
#define crypto_core_hsalsa20_VERSION crypto_core_hsalsa20_ref_VERSION #define crypto_core_hsalsa20_VERSION crypto_core_hsalsa20_ref2_VERSION
#endif #endif
 End of changes. 5 change blocks. 
15 lines changed or deleted 18 lines changed or added


 crypto_core_salsa20.h   crypto_core_salsa20.h 
#ifndef crypto_core_salsa20_H #ifndef crypto_core_salsa20_H
#define crypto_core_salsa20_H #define crypto_core_salsa20_H
#define crypto_core_salsa20_ref_OUTPUTBYTES 64 #define crypto_core_salsa20_ref_OUTPUTBYTES 64
#define crypto_core_salsa20_ref_INPUTBYTES 16 #define crypto_core_salsa20_ref_INPUTBYTES 16
#define crypto_core_salsa20_ref_KEYBYTES 32 #define crypto_core_salsa20_ref_KEYBYTES 32
#define crypto_core_salsa20_ref_CONSTBYTES 16 #define crypto_core_salsa20_ref_CONSTBYTES 16
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern "C" { extern "C" {
#endif #endif
extern int crypto_core_salsa20_ref(unsigned char *,const unsigned char *,co nst unsigned char *,const unsigned char *); extern int crypto_core_salsa20_ref(unsigned char *,const unsigned char *,co nst unsigned char *,const unsigned char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_core_salsa20 crypto_core_salsa20_ref #define crypto_core_salsa20 crypto_core_salsa20_ref
#define crypto_core_salsa20_OUTPUTBYTES crypto_core_salsa20_ref_OUTPUTBYTES #define crypto_core_salsa20_OUTPUTBYTES crypto_core_salsa20_ref_OUTPUTBYTES
#define crypto_core_salsa20_INPUTBYTES crypto_core_salsa20_ref_INPUTBYTES #define crypto_core_salsa20_INPUTBYTES crypto_core_salsa20_ref_INPUTBYTES
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 crypto_core_salsa2012.h   crypto_core_salsa2012.h 
#ifndef crypto_core_salsa2012_H #ifndef crypto_core_salsa2012_H
#define crypto_core_salsa2012_H #define crypto_core_salsa2012_H
#define crypto_core_salsa2012_ref_OUTPUTBYTES 64 #define crypto_core_salsa2012_ref_OUTPUTBYTES 64
#define crypto_core_salsa2012_ref_INPUTBYTES 16 #define crypto_core_salsa2012_ref_INPUTBYTES 16
#define crypto_core_salsa2012_ref_KEYBYTES 32 #define crypto_core_salsa2012_ref_KEYBYTES 32
#define crypto_core_salsa2012_ref_CONSTBYTES 16 #define crypto_core_salsa2012_ref_CONSTBYTES 16
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern "C" { extern "C" {
#endif #endif
extern int crypto_core_salsa2012_ref(unsigned char *,const unsigned char *, const unsigned char *,const unsigned char *); extern int crypto_core_salsa2012_ref(unsigned char *,const unsigned char *, const unsigned char *,const unsigned char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_core_salsa2012 crypto_core_salsa2012_ref #define crypto_core_salsa2012 crypto_core_salsa2012_ref
#define crypto_core_salsa2012_OUTPUTBYTES crypto_core_salsa2012_ref_OUTPUTB YTES #define crypto_core_salsa2012_OUTPUTBYTES crypto_core_salsa2012_ref_OUTPUTB YTES
#define crypto_core_salsa2012_INPUTBYTES crypto_core_salsa2012_ref_INPUTBYT ES #define crypto_core_salsa2012_INPUTBYTES crypto_core_salsa2012_ref_INPUTBYT ES
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 crypto_core_salsa208.h   crypto_core_salsa208.h 
#ifndef crypto_core_salsa208_H #ifndef crypto_core_salsa208_H
#define crypto_core_salsa208_H #define crypto_core_salsa208_H
#define crypto_core_salsa208_ref_OUTPUTBYTES 64 #define crypto_core_salsa208_ref_OUTPUTBYTES 64
#define crypto_core_salsa208_ref_INPUTBYTES 16 #define crypto_core_salsa208_ref_INPUTBYTES 16
#define crypto_core_salsa208_ref_KEYBYTES 32 #define crypto_core_salsa208_ref_KEYBYTES 32
#define crypto_core_salsa208_ref_CONSTBYTES 16 #define crypto_core_salsa208_ref_CONSTBYTES 16
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern "C" { extern "C" {
#endif #endif
extern int crypto_core_salsa208_ref(unsigned char *,const unsigned char *,c onst unsigned char *,const unsigned char *); extern int crypto_core_salsa208_ref(unsigned char *,const unsigned char *,c onst unsigned char *,const unsigned char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_core_salsa208 crypto_core_salsa208_ref #define crypto_core_salsa208 crypto_core_salsa208_ref
#define crypto_core_salsa208_OUTPUTBYTES crypto_core_salsa208_ref_OUTPUTBYT ES #define crypto_core_salsa208_OUTPUTBYTES crypto_core_salsa208_ref_OUTPUTBYT ES
#define crypto_core_salsa208_INPUTBYTES crypto_core_salsa208_ref_INPUTBYTES #define crypto_core_salsa208_INPUTBYTES crypto_core_salsa208_ref_INPUTBYTES
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 crypto_hash_sha256.h   crypto_hash_sha256.h 
#ifndef crypto_hash_sha256_H #ifndef crypto_hash_sha256_H
#define crypto_hash_sha256_H #define crypto_hash_sha256_H
#define crypto_hash_sha256_ref_BYTES 32 #define crypto_hash_sha256_ref_BYTES 32
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_hash_sha256_ref(const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_hash_sha256_ref(unsigned char *,const unsigned char *,uns igned long long); extern int crypto_hash_sha256_ref(unsigned char *,const unsigned char *,uns igned long long);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_hash_sha256 crypto_hash_sha256_ref #define crypto_hash_sha256 crypto_hash_sha256_ref
#define crypto_hash_sha256_BYTES crypto_hash_sha256_ref_BYTES #define crypto_hash_sha256_BYTES crypto_hash_sha256_ref_BYTES
#define crypto_hash_sha256_IMPLEMENTATION "crypto_hash/sha256/ref" #define crypto_hash_sha256_IMPLEMENTATION "crypto_hash/sha256/ref"
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added


 crypto_hash_sha512.h   crypto_hash_sha512.h 
#ifndef crypto_hash_sha512_H #ifndef crypto_hash_sha512_H
#define crypto_hash_sha512_H #define crypto_hash_sha512_H
#define crypto_hash_sha512_ref_BYTES 64 #define crypto_hash_sha512_ref_BYTES 64
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_hash_sha512_ref(const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_hash_sha512_ref(unsigned char *,const unsigned char *,uns igned long long); extern int crypto_hash_sha512_ref(unsigned char *,const unsigned char *,uns igned long long);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_hash_sha512 crypto_hash_sha512_ref #define crypto_hash_sha512 crypto_hash_sha512_ref
#define crypto_hash_sha512_BYTES crypto_hash_sha512_ref_BYTES #define crypto_hash_sha512_BYTES crypto_hash_sha512_ref_BYTES
#define crypto_hash_sha512_IMPLEMENTATION "crypto_hash/sha512/ref" #define crypto_hash_sha512_IMPLEMENTATION "crypto_hash/sha512/ref"
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added


 crypto_hashblocks_sha256.h   crypto_hashblocks_sha256.h 
#ifndef crypto_hashblocks_sha256_H #ifndef crypto_hashblocks_sha256_H
#define crypto_hashblocks_sha256_H #define crypto_hashblocks_sha256_H
#define crypto_hashblocks_sha256_ref_STATEBYTES 32 #define crypto_hashblocks_sha256_ref_STATEBYTES 32
#define crypto_hashblocks_sha256_ref_BLOCKBYTES 64 #define crypto_hashblocks_sha256_ref_BLOCKBYTES 64
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern "C" { extern "C" {
#endif #endif
extern int crypto_hashblocks_sha256_ref(unsigned char *,const unsigned char *,unsigned long long); extern int crypto_hashblocks_sha256_ref(unsigned char *,const unsigned char *,unsigned long long);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_hashblocks_sha256 crypto_hashblocks_sha256_ref #define crypto_hashblocks_sha256 crypto_hashblocks_sha256_ref
#define crypto_hashblocks_sha256_STATEBYTES crypto_hashblocks_sha256_ref_ST ATEBYTES #define crypto_hashblocks_sha256_STATEBYTES crypto_hashblocks_sha256_ref_ST ATEBYTES
#define crypto_hashblocks_sha256_BLOCKBYTES crypto_hashblocks_sha256_ref_BL OCKBYTES #define crypto_hashblocks_sha256_BLOCKBYTES crypto_hashblocks_sha256_ref_BL OCKBYTES
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 crypto_hashblocks_sha512.h   crypto_hashblocks_sha512.h 
#ifndef crypto_hashblocks_sha512_H #ifndef crypto_hashblocks_sha512_H
#define crypto_hashblocks_sha512_H #define crypto_hashblocks_sha512_H
#define crypto_hashblocks_sha512_ref_STATEBYTES 64 #define crypto_hashblocks_sha512_ref_STATEBYTES 64
#define crypto_hashblocks_sha512_ref_BLOCKBYTES 128 #define crypto_hashblocks_sha512_ref_BLOCKBYTES 128
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern "C" { extern "C" {
#endif #endif
extern int crypto_hashblocks_sha512_ref(unsigned char *,const unsigned char *,unsigned long long); extern int crypto_hashblocks_sha512_ref(unsigned char *,const unsigned char *,unsigned long long);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_hashblocks_sha512 crypto_hashblocks_sha512_ref #define crypto_hashblocks_sha512 crypto_hashblocks_sha512_ref
#define crypto_hashblocks_sha512_STATEBYTES crypto_hashblocks_sha512_ref_ST ATEBYTES #define crypto_hashblocks_sha512_STATEBYTES crypto_hashblocks_sha512_ref_ST ATEBYTES
#define crypto_hashblocks_sha512_BLOCKBYTES crypto_hashblocks_sha512_ref_BL OCKBYTES #define crypto_hashblocks_sha512_BLOCKBYTES crypto_hashblocks_sha512_ref_BL OCKBYTES
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 crypto_onetimeauth_poly1305.h   crypto_onetimeauth_poly1305.h 
#ifndef crypto_onetimeauth_poly1305_H #ifndef crypto_onetimeauth_poly1305_H
#define crypto_onetimeauth_poly1305_H #define crypto_onetimeauth_poly1305_H
#define crypto_onetimeauth_poly1305_x86_BYTES 16 #define crypto_onetimeauth_poly1305_x86_BYTES 16
#define crypto_onetimeauth_poly1305_x86_KEYBYTES 32 #define crypto_onetimeauth_poly1305_x86_KEYBYTES 32
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_onetimeauth_poly1305_x86(const std::string &,cons
t std::string &);
extern void crypto_onetimeauth_poly1305_x86_verify(const std::string &,cons
t std::string &,const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_onetimeauth_poly1305_x86(unsigned char *,const unsigned c har *,unsigned long long,const unsigned char *); extern int crypto_onetimeauth_poly1305_x86(unsigned char *,const unsigned c har *,unsigned long long,const unsigned char *);
extern int crypto_onetimeauth_poly1305_x86_verify(const unsigned char *,con st unsigned char *,unsigned long long,const unsigned char *); extern int crypto_onetimeauth_poly1305_x86_verify(const unsigned char *,con st unsigned char *,unsigned long long,const unsigned char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_onetimeauth_poly1305 crypto_onetimeauth_poly1305_x86 #define crypto_onetimeauth_poly1305 crypto_onetimeauth_poly1305_x86
#define crypto_onetimeauth_poly1305_verify crypto_onetimeauth_poly1305_x86_ verify #define crypto_onetimeauth_poly1305_verify crypto_onetimeauth_poly1305_x86_ verify
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added


 crypto_scalarmult_curve25519.h   crypto_scalarmult_curve25519.h 
#ifndef crypto_scalarmult_curve25519_H #ifndef crypto_scalarmult_curve25519_H
#define crypto_scalarmult_curve25519_H #define crypto_scalarmult_curve25519_H
#define crypto_scalarmult_curve25519_athlon_BYTES 32 #define crypto_scalarmult_curve25519_athlon_BYTES 32
#define crypto_scalarmult_curve25519_athlon_SCALARBYTES 32 #define crypto_scalarmult_curve25519_athlon_SCALARBYTES 32
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_scalarmult_curve25519_athlon(const std::string &,
const std::string &);
extern std::string crypto_scalarmult_curve25519_athlon_base(const std::stri
ng &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_scalarmult_curve25519_athlon(unsigned char *,const unsign ed char *,const unsigned char *); extern int crypto_scalarmult_curve25519_athlon(unsigned char *,const unsign ed char *,const unsigned char *);
extern int crypto_scalarmult_curve25519_athlon_base(unsigned char *,const u nsigned char *); extern int crypto_scalarmult_curve25519_athlon_base(unsigned char *,const u nsigned char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_scalarmult_curve25519 crypto_scalarmult_curve25519_athlon #define crypto_scalarmult_curve25519 crypto_scalarmult_curve25519_athlon
#define crypto_scalarmult_curve25519_base crypto_scalarmult_curve25519_athl on_base #define crypto_scalarmult_curve25519_base crypto_scalarmult_curve25519_athl on_base
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added


 crypto_secretbox_xsalsa20poly1305.h   crypto_secretbox_xsalsa20poly1305.h 
#ifndef crypto_secretbox_xsalsa20poly1305_H #ifndef crypto_secretbox_xsalsa20poly1305_H
#define crypto_secretbox_xsalsa20poly1305_H #define crypto_secretbox_xsalsa20poly1305_H
#define crypto_secretbox_xsalsa20poly1305_ref_KEYBYTES 32 #define crypto_secretbox_xsalsa20poly1305_ref_KEYBYTES 32
#define crypto_secretbox_xsalsa20poly1305_ref_NONCEBYTES 24 #define crypto_secretbox_xsalsa20poly1305_ref_NONCEBYTES 24
#define crypto_secretbox_xsalsa20poly1305_ref_ZEROBYTES 32 #define crypto_secretbox_xsalsa20poly1305_ref_ZEROBYTES 32
#define crypto_secretbox_xsalsa20poly1305_ref_BOXZEROBYTES 16 #define crypto_secretbox_xsalsa20poly1305_ref_BOXZEROBYTES 16
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_secretbox_xsalsa20poly1305_ref(const std::string
&,const std::string &,const std::string &);
extern std::string crypto_secretbox_xsalsa20poly1305_ref_open(const std::st
ring &,const std::string &,const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_secretbox_xsalsa20poly1305_ref(unsigned char *,const unsi gned char *,unsigned long long,const unsigned char *,const unsigned char *) ; extern int crypto_secretbox_xsalsa20poly1305_ref(unsigned char *,const unsi gned char *,unsigned long long,const unsigned char *,const unsigned char *) ;
extern int crypto_secretbox_xsalsa20poly1305_ref_open(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned ch ar *); extern int crypto_secretbox_xsalsa20poly1305_ref_open(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned ch ar *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_secretbox_xsalsa20poly1305 crypto_secretbox_xsalsa20poly1305 _ref #define crypto_secretbox_xsalsa20poly1305 crypto_secretbox_xsalsa20poly1305 _ref
#define crypto_secretbox_xsalsa20poly1305_open crypto_secretbox_xsalsa20pol y1305_ref_open #define crypto_secretbox_xsalsa20poly1305_open crypto_secretbox_xsalsa20pol y1305_ref_open
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added


 crypto_stream.h   crypto_stream.h 
#ifndef crypto_stream_H #ifndef crypto_stream_H
#define crypto_stream_H #define crypto_stream_H
#include "crypto_stream_xsalsa20.h" #include "crypto_stream_xsalsa20.h"
#define crypto_stream crypto_stream_xsalsa20 #define crypto_stream crypto_stream_xsalsa20
#define crypto_stream_xor crypto_stream_xsalsa20_xor #define crypto_stream_xor crypto_stream_xsalsa20_xor
#define crypto_stream_beforenm crypto_stream_xsalsa20_beforenm
#define crypto_stream_afternm crypto_stream_xsalsa20_afternm
#define crypto_stream_xor_afternm crypto_stream_xsalsa20_xor_afternm
#define crypto_stream_KEYBYTES crypto_stream_xsalsa20_KEYBYTES #define crypto_stream_KEYBYTES crypto_stream_xsalsa20_KEYBYTES
#define crypto_stream_NONCEBYTES crypto_stream_xsalsa20_NONCEBYTES #define crypto_stream_NONCEBYTES crypto_stream_xsalsa20_NONCEBYTES
#define crypto_stream_BEFORENMBYTES crypto_stream_xsalsa20_BEFORENMBYTES
#define crypto_stream_PRIMITIVE "xsalsa20" #define crypto_stream_PRIMITIVE "xsalsa20"
#define crypto_stream_IMPLEMENTATION crypto_stream_xsalsa20_IMPLEMENTATION #define crypto_stream_IMPLEMENTATION crypto_stream_xsalsa20_IMPLEMENTATION
#define crypto_stream_VERSION crypto_stream_xsalsa20_VERSION #define crypto_stream_VERSION crypto_stream_xsalsa20_VERSION
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added


 crypto_stream_salsa20.h   crypto_stream_salsa20.h 
#ifndef crypto_stream_salsa20_H #ifndef crypto_stream_salsa20_H
#define crypto_stream_salsa20_H #define crypto_stream_salsa20_H
#define crypto_stream_salsa20_x86_xmm5_KEYBYTES 32 #define crypto_stream_salsa20_x86_xmm5_KEYBYTES 32
#define crypto_stream_salsa20_x86_xmm5_NONCEBYTES 8 #define crypto_stream_salsa20_x86_xmm5_NONCEBYTES 8
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_stream_salsa20_x86_xmm5(size_t,const std::string
&,const std::string &);
extern std::string crypto_stream_salsa20_x86_xmm5_xor(const std::string &,c
onst std::string &,const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_stream_salsa20_x86_xmm5(unsigned char *,unsigned long lon g,const unsigned char *,const unsigned char *); extern int crypto_stream_salsa20_x86_xmm5(unsigned char *,unsigned long lon g,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa20_x86_xmm5_xor(unsigned char *,const unsigne d char *,unsigned long long,const unsigned char *,const unsigned char *); extern int crypto_stream_salsa20_x86_xmm5_xor(unsigned char *,const unsigne d char *,unsigned long long,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa20_x86_xmm5_beforenm(unsigned char *,const un
signed char *);
extern int crypto_stream_salsa20_x86_xmm5_afternm(unsigned char *,unsigned
long long,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa20_x86_xmm5_xor_afternm(unsigned char *,const
unsigned char *,unsigned long long,const unsigned char *,const unsigned ch
ar *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_stream_salsa20 crypto_stream_salsa20_x86_xmm5 #define crypto_stream_salsa20 crypto_stream_salsa20_x86_xmm5
#define crypto_stream_salsa20_xor crypto_stream_salsa20_x86_xmm5_xor #define crypto_stream_salsa20_xor crypto_stream_salsa20_x86_xmm5_xor
#define crypto_stream_salsa20_beforenm crypto_stream_salsa20_x86_xmm5_befor
enm
#define crypto_stream_salsa20_afternm crypto_stream_salsa20_x86_xmm5_aftern
m
#define crypto_stream_salsa20_xor_afternm crypto_stream_salsa20_x86_xmm5_xo
r_afternm
#define crypto_stream_salsa20_KEYBYTES crypto_stream_salsa20_x86_xmm5_KEYBY TES #define crypto_stream_salsa20_KEYBYTES crypto_stream_salsa20_x86_xmm5_KEYBY TES
#define crypto_stream_salsa20_NONCEBYTES crypto_stream_salsa20_x86_xmm5_NON CEBYTES #define crypto_stream_salsa20_NONCEBYTES crypto_stream_salsa20_x86_xmm5_NON CEBYTES
#define crypto_stream_salsa20_BEFORENMBYTES crypto_stream_salsa20_x86_xmm5_ BEFORENMBYTES
#define crypto_stream_salsa20_IMPLEMENTATION "crypto_stream/salsa20/x86_xmm 5" #define crypto_stream_salsa20_IMPLEMENTATION "crypto_stream/salsa20/x86_xmm 5"
#ifndef crypto_stream_salsa20_x86_xmm5_VERSION #ifndef crypto_stream_salsa20_x86_xmm5_VERSION
#define crypto_stream_salsa20_x86_xmm5_VERSION "-" #define crypto_stream_salsa20_x86_xmm5_VERSION "-"
#endif #endif
#define crypto_stream_salsa20_VERSION crypto_stream_salsa20_x86_xmm5_VERSIO N #define crypto_stream_salsa20_VERSION crypto_stream_salsa20_x86_xmm5_VERSIO N
#endif #endif
 End of changes. 4 change blocks. 
0 lines changed or deleted 19 lines changed or added


 crypto_stream_salsa2012.h   crypto_stream_salsa2012.h 
#ifndef crypto_stream_salsa2012_H #ifndef crypto_stream_salsa2012_H
#define crypto_stream_salsa2012_H #define crypto_stream_salsa2012_H
#define crypto_stream_salsa2012_x86_xmm5_KEYBYTES 32 #define crypto_stream_salsa2012_x86_xmm5_KEYBYTES 32
#define crypto_stream_salsa2012_x86_xmm5_NONCEBYTES 8 #define crypto_stream_salsa2012_x86_xmm5_NONCEBYTES 8
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_stream_salsa2012_x86_xmm5(size_t,const std::strin
g &,const std::string &);
extern std::string crypto_stream_salsa2012_x86_xmm5_xor(const std::string &
,const std::string &,const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_stream_salsa2012_x86_xmm5(unsigned char *,unsigned long l ong,const unsigned char *,const unsigned char *); extern int crypto_stream_salsa2012_x86_xmm5(unsigned char *,unsigned long l ong,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa2012_x86_xmm5_xor(unsigned char *,const unsig ned char *,unsigned long long,const unsigned char *,const unsigned char *); extern int crypto_stream_salsa2012_x86_xmm5_xor(unsigned char *,const unsig ned char *,unsigned long long,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa2012_x86_xmm5_beforenm(unsigned char *,const
unsigned char *);
extern int crypto_stream_salsa2012_x86_xmm5_afternm(unsigned char *,unsigne
d long long,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa2012_x86_xmm5_xor_afternm(unsigned char *,con
st unsigned char *,unsigned long long,const unsigned char *,const unsigned
char *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_stream_salsa2012 crypto_stream_salsa2012_x86_xmm5 #define crypto_stream_salsa2012 crypto_stream_salsa2012_x86_xmm5
#define crypto_stream_salsa2012_xor crypto_stream_salsa2012_x86_xmm5_xor #define crypto_stream_salsa2012_xor crypto_stream_salsa2012_x86_xmm5_xor
#define crypto_stream_salsa2012_beforenm crypto_stream_salsa2012_x86_xmm5_b
eforenm
#define crypto_stream_salsa2012_afternm crypto_stream_salsa2012_x86_xmm5_af
ternm
#define crypto_stream_salsa2012_xor_afternm crypto_stream_salsa2012_x86_xmm
5_xor_afternm
#define crypto_stream_salsa2012_KEYBYTES crypto_stream_salsa2012_x86_xmm5_K EYBYTES #define crypto_stream_salsa2012_KEYBYTES crypto_stream_salsa2012_x86_xmm5_K EYBYTES
#define crypto_stream_salsa2012_NONCEBYTES crypto_stream_salsa2012_x86_xmm5 _NONCEBYTES #define crypto_stream_salsa2012_NONCEBYTES crypto_stream_salsa2012_x86_xmm5 _NONCEBYTES
#define crypto_stream_salsa2012_BEFORENMBYTES crypto_stream_salsa2012_x86_x mm5_BEFORENMBYTES
#define crypto_stream_salsa2012_IMPLEMENTATION "crypto_stream/salsa2012/x86 _xmm5" #define crypto_stream_salsa2012_IMPLEMENTATION "crypto_stream/salsa2012/x86 _xmm5"
#ifndef crypto_stream_salsa2012_x86_xmm5_VERSION #ifndef crypto_stream_salsa2012_x86_xmm5_VERSION
#define crypto_stream_salsa2012_x86_xmm5_VERSION "-" #define crypto_stream_salsa2012_x86_xmm5_VERSION "-"
#endif #endif
#define crypto_stream_salsa2012_VERSION crypto_stream_salsa2012_x86_xmm5_VE RSION #define crypto_stream_salsa2012_VERSION crypto_stream_salsa2012_x86_xmm5_VE RSION
#endif #endif
 End of changes. 4 change blocks. 
0 lines changed or deleted 19 lines changed or added


 crypto_stream_salsa208.h   crypto_stream_salsa208.h 
#ifndef crypto_stream_salsa208_H #ifndef crypto_stream_salsa208_H
#define crypto_stream_salsa208_H #define crypto_stream_salsa208_H
#define crypto_stream_salsa208_x86_xmm5_KEYBYTES 32 #define crypto_stream_salsa208_x86_xmm5_KEYBYTES 32
#define crypto_stream_salsa208_x86_xmm5_NONCEBYTES 8 #define crypto_stream_salsa208_x86_xmm5_NONCEBYTES 8
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_stream_salsa208_x86_xmm5(size_t,const std::string
&,const std::string &);
extern std::string crypto_stream_salsa208_x86_xmm5_xor(const std::string &,
const std::string &,const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_stream_salsa208_x86_xmm5(unsigned char *,unsigned long lo ng,const unsigned char *,const unsigned char *); extern int crypto_stream_salsa208_x86_xmm5(unsigned char *,unsigned long lo ng,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa208_x86_xmm5_xor(unsigned char *,const unsign ed char *,unsigned long long,const unsigned char *,const unsigned char *); extern int crypto_stream_salsa208_x86_xmm5_xor(unsigned char *,const unsign ed char *,unsigned long long,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa208_x86_xmm5_beforenm(unsigned char *,const u
nsigned char *);
extern int crypto_stream_salsa208_x86_xmm5_afternm(unsigned char *,unsigned
long long,const unsigned char *,const unsigned char *);
extern int crypto_stream_salsa208_x86_xmm5_xor_afternm(unsigned char *,cons
t unsigned char *,unsigned long long,const unsigned char *,const unsigned c
har *);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_stream_salsa208 crypto_stream_salsa208_x86_xmm5 #define crypto_stream_salsa208 crypto_stream_salsa208_x86_xmm5
#define crypto_stream_salsa208_xor crypto_stream_salsa208_x86_xmm5_xor #define crypto_stream_salsa208_xor crypto_stream_salsa208_x86_xmm5_xor
#define crypto_stream_salsa208_beforenm crypto_stream_salsa208_x86_xmm5_bef
orenm
#define crypto_stream_salsa208_afternm crypto_stream_salsa208_x86_xmm5_afte
rnm
#define crypto_stream_salsa208_xor_afternm crypto_stream_salsa208_x86_xmm5_
xor_afternm
#define crypto_stream_salsa208_KEYBYTES crypto_stream_salsa208_x86_xmm5_KEY BYTES #define crypto_stream_salsa208_KEYBYTES crypto_stream_salsa208_x86_xmm5_KEY BYTES
#define crypto_stream_salsa208_NONCEBYTES crypto_stream_salsa208_x86_xmm5_N ONCEBYTES #define crypto_stream_salsa208_NONCEBYTES crypto_stream_salsa208_x86_xmm5_N ONCEBYTES
#define crypto_stream_salsa208_BEFORENMBYTES crypto_stream_salsa208_x86_xmm 5_BEFORENMBYTES
#define crypto_stream_salsa208_IMPLEMENTATION "crypto_stream/salsa208/x86_x mm5" #define crypto_stream_salsa208_IMPLEMENTATION "crypto_stream/salsa208/x86_x mm5"
#ifndef crypto_stream_salsa208_x86_xmm5_VERSION #ifndef crypto_stream_salsa208_x86_xmm5_VERSION
#define crypto_stream_salsa208_x86_xmm5_VERSION "-" #define crypto_stream_salsa208_x86_xmm5_VERSION "-"
#endif #endif
#define crypto_stream_salsa208_VERSION crypto_stream_salsa208_x86_xmm5_VERS ION #define crypto_stream_salsa208_VERSION crypto_stream_salsa208_x86_xmm5_VERS ION
#endif #endif
 End of changes. 4 change blocks. 
0 lines changed or deleted 19 lines changed or added


 crypto_stream_xsalsa20.h   crypto_stream_xsalsa20.h 
#ifndef crypto_stream_xsalsa20_H #ifndef crypto_stream_xsalsa20_H
#define crypto_stream_xsalsa20_H #define crypto_stream_xsalsa20_H
#define crypto_stream_xsalsa20_ref_KEYBYTES 32 #define crypto_stream_xsalsa20_ref_KEYBYTES 32
#define crypto_stream_xsalsa20_ref_NONCEBYTES 24 #define crypto_stream_xsalsa20_ref_NONCEBYTES 24
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern std::string crypto_stream_xsalsa20_ref(size_t,const std::string &,co
nst std::string &);
extern std::string crypto_stream_xsalsa20_ref_xor(const std::string &,const
std::string &,const std::string &);
extern "C" { extern "C" {
#endif #endif
extern int crypto_stream_xsalsa20_ref(unsigned char *,unsigned long long,co nst unsigned char *,const unsigned char *); extern int crypto_stream_xsalsa20_ref(unsigned char *,unsigned long long,co nst unsigned char *,const unsigned char *);
extern int crypto_stream_xsalsa20_ref_xor(unsigned char *,const unsigned ch ar *,unsigned long long,const unsigned char *,const unsigned char *); extern int crypto_stream_xsalsa20_ref_xor(unsigned char *,const unsigned ch ar *,unsigned long long,const unsigned char *,const unsigned char *);
extern int crypto_stream_xsalsa20_ref_beforenm(unsigned char *,const unsign
ed char *);
extern int crypto_stream_xsalsa20_ref_afternm(unsigned char *,unsigned long
long,const unsigned char *,const unsigned char *);
extern int crypto_stream_xsalsa20_ref_xor_afternm(unsigned char *,const uns
igned char *,unsigned long long,const unsigned char *,const unsigned char *
);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_stream_xsalsa20 crypto_stream_xsalsa20_ref #define crypto_stream_xsalsa20 crypto_stream_xsalsa20_ref
#define crypto_stream_xsalsa20_xor crypto_stream_xsalsa20_ref_xor #define crypto_stream_xsalsa20_xor crypto_stream_xsalsa20_ref_xor
#define crypto_stream_xsalsa20_beforenm crypto_stream_xsalsa20_ref_beforenm
#define crypto_stream_xsalsa20_afternm crypto_stream_xsalsa20_ref_afternm
#define crypto_stream_xsalsa20_xor_afternm crypto_stream_xsalsa20_ref_xor_a
fternm
#define crypto_stream_xsalsa20_KEYBYTES crypto_stream_xsalsa20_ref_KEYBYTES #define crypto_stream_xsalsa20_KEYBYTES crypto_stream_xsalsa20_ref_KEYBYTES
#define crypto_stream_xsalsa20_NONCEBYTES crypto_stream_xsalsa20_ref_NONCEB YTES #define crypto_stream_xsalsa20_NONCEBYTES crypto_stream_xsalsa20_ref_NONCEB YTES
#define crypto_stream_xsalsa20_BEFORENMBYTES crypto_stream_xsalsa20_ref_BEF ORENMBYTES
#define crypto_stream_xsalsa20_IMPLEMENTATION "crypto_stream/xsalsa20/ref" #define crypto_stream_xsalsa20_IMPLEMENTATION "crypto_stream/xsalsa20/ref"
#ifndef crypto_stream_xsalsa20_ref_VERSION #ifndef crypto_stream_xsalsa20_ref_VERSION
#define crypto_stream_xsalsa20_ref_VERSION "-" #define crypto_stream_xsalsa20_ref_VERSION "-"
#endif #endif
#define crypto_stream_xsalsa20_VERSION crypto_stream_xsalsa20_ref_VERSION #define crypto_stream_xsalsa20_VERSION crypto_stream_xsalsa20_ref_VERSION
#endif #endif
 End of changes. 4 change blocks. 
0 lines changed or deleted 17 lines changed or added


 crypto_verify_16.h   crypto_verify_16.h 
#ifndef crypto_verify_16_H #ifndef crypto_verify_16_H
#define crypto_verify_16_H #define crypto_verify_16_H
#define crypto_verify_16_ref_BYTES 16 #define crypto_verify_16_ref_BYTES 16
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern "C" { extern "C" {
#endif #endif
extern int crypto_verify_16_ref(const unsigned char *,const unsigned char * ); extern int crypto_verify_16_ref(const unsigned char *,const unsigned char * );
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_verify_16 crypto_verify_16_ref #define crypto_verify_16 crypto_verify_16_ref
#define crypto_verify_16_BYTES crypto_verify_16_ref_BYTES #define crypto_verify_16_BYTES crypto_verify_16_ref_BYTES
#define crypto_verify_16_IMPLEMENTATION "crypto_verify/16/ref" #define crypto_verify_16_IMPLEMENTATION "crypto_verify/16/ref"
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 crypto_verify_32.h   crypto_verify_32.h 
#ifndef crypto_verify_32_H #ifndef crypto_verify_32_H
#define crypto_verify_32_H #define crypto_verify_32_H
#define crypto_verify_32_ref_BYTES 32 #define crypto_verify_32_ref_BYTES 32
#ifdef __cplusplus #ifdef __cplusplus
#include <string>
extern "C" { extern "C" {
#endif #endif
extern int crypto_verify_32_ref(const unsigned char *,const unsigned char * ); extern int crypto_verify_32_ref(const unsigned char *,const unsigned char * );
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#define crypto_verify_32 crypto_verify_32_ref #define crypto_verify_32 crypto_verify_32_ref
#define crypto_verify_32_BYTES crypto_verify_32_ref_BYTES #define crypto_verify_32_BYTES crypto_verify_32_ref_BYTES
#define crypto_verify_32_IMPLEMENTATION "crypto_verify/32/ref" #define crypto_verify_32_IMPLEMENTATION "crypto_verify/32/ref"
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/