mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-28 12:47:13 +09:00
demo_utils -> utils for consistency with other demo files
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* Full featured authentication which is used to verify that the message
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* Shows how crypto_box works using Bob and Alice with a simple message.
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* Generic hash is intended as a variable output hash with enough strength
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* Streaming variant of generic hash. This has the ability to hash
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* The library ships with a one-shot SHA-512 implementation. Simply allocate
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* This method is only effective for a single use per key. The benefit is
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* Short hash is a fast algorithm intended for hash tables and anything
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* Signs a message with secret key which will authenticate a message.
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h> /* library header */
|
||||
|
||||
#include "demo_utils.h" /* utility functions shared by demos */
|
||||
#include "utils.h" /* utility functions shared by demos */
|
||||
|
||||
/*
|
||||
* Stream utilizes a nonce to generate a sequence of bytes. The library has
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <sodium.h>
|
||||
|
||||
#include "demo_utils.h"
|
||||
#include "utils.h"
|
||||
|
||||
/* ================================================================== *
|
||||
* utility functions *
|
||||
Reference in New Issue
Block a user