mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 17:57:21 +09:00
Only include sodium.h in tests.
Tests should always be passing by just including that.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_auth_hmacsha512256.h"
|
||||
|
||||
#define TEST_NAME "auth"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/* "Test Case AUTH256-4" from RFC 4868 */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "crypto_auth_hmacsha256.h"
|
||||
|
||||
#define TEST_NAME "auth2"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/* "Test Case AUTH256-4" from RFC 4868 */
|
||||
|
||||
#include <stdio.h>
|
||||
#include "crypto_auth_hmacsha256.h"
|
||||
|
||||
#define TEST_NAME "auth3"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "crypto_auth_hmacsha512256.h"
|
||||
#include "randombytes.h"
|
||||
#include "windows/windows-quirks.h"
|
||||
|
||||
#define TEST_NAME "auth5"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_box_curve25519xsalsa20poly1305.h"
|
||||
|
||||
#define TEST_NAME "box"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_box_curve25519xsalsa20poly1305.h"
|
||||
|
||||
#define TEST_NAME "box2"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_box.h"
|
||||
#include "randombytes.h"
|
||||
|
||||
#define TEST_NAME "box7"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "crypto_box.h"
|
||||
#include "randombytes.h"
|
||||
#include "windows/windows-quirks.h"
|
||||
|
||||
#define TEST_NAME "box8"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_core_hsalsa20.h"
|
||||
|
||||
#define TEST_NAME "core1"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_core_hsalsa20.h"
|
||||
|
||||
#define TEST_NAME "core2"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_core_salsa20.h"
|
||||
#include "crypto_hash_sha256.h"
|
||||
|
||||
#define TEST_NAME "core3"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_core_salsa20.h"
|
||||
|
||||
#define TEST_NAME "core4"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_core_hsalsa20.h"
|
||||
|
||||
#define TEST_NAME "core5"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_core_salsa20.h"
|
||||
|
||||
#define TEST_NAME "core6"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_hash.h"
|
||||
|
||||
#define TEST_NAME "hash"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_hash_sha512.h"
|
||||
|
||||
#define TEST_NAME "hash3"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_onetimeauth_poly1305.h"
|
||||
|
||||
#define TEST_NAME "onetimeauth"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_onetimeauth_poly1305.h"
|
||||
|
||||
#define TEST_NAME "onetimeauth2"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "crypto_onetimeauth_poly1305.h"
|
||||
#include "randombytes.h"
|
||||
#include "windows/windows-quirks.h"
|
||||
|
||||
#define TEST_NAME "onetimeauth7"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_scalarmult_curve25519.h"
|
||||
|
||||
#define TEST_NAME "scalarmult"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_scalarmult_curve25519.h"
|
||||
|
||||
#define TEST_NAME "scalarmult2"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_scalarmult_curve25519.h"
|
||||
|
||||
#define TEST_NAME "scalarmult5"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_scalarmult_curve25519.h"
|
||||
|
||||
#define TEST_NAME "scalarmult6"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_secretbox_xsalsa20poly1305.h"
|
||||
|
||||
#define TEST_NAME "secretbox"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_secretbox_xsalsa20poly1305.h"
|
||||
|
||||
#define TEST_NAME "secretbox2"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_secretbox.h"
|
||||
#include "randombytes.h"
|
||||
|
||||
#define TEST_NAME "secretbox7"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "crypto_secretbox.h"
|
||||
#include "randombytes.h"
|
||||
#include "windows/windows-quirks.h"
|
||||
|
||||
#define TEST_NAME "secretbox8"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "crypto_uint8.h"
|
||||
#include "crypto_shorthash.h"
|
||||
|
||||
#define TEST_NAME "shorthash"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_stream_xsalsa20.h"
|
||||
#include "crypto_hash_sha256.h"
|
||||
|
||||
#define TEST_NAME "stream"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_stream_salsa20.h"
|
||||
#include "crypto_hash_sha256.h"
|
||||
|
||||
#define TEST_NAME "stream2"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_stream_xsalsa20.h"
|
||||
|
||||
#define TEST_NAME "stream3"
|
||||
#include "cmptest.h"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <stdio.h>
|
||||
#include "crypto_stream_xsalsa20.h"
|
||||
|
||||
#define TEST_NAME "stream4"
|
||||
#include "cmptest.h"
|
||||
|
||||
Reference in New Issue
Block a user