Skip to content
Snippets Groups Projects
Unverified Commit 7d415d5c authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

Merge pull request #8950 from bergzand/pr/pkg/tweetnacl/cleanup

pkg/tweetnacl: Remove unused headers and function declarations
parents dbccf06c ee3675e3
Branches
No related tags found
No related merge requests found
......@@ -7,12 +7,8 @@
*/
#include <stdint.h>
#include <string.h>
#include "random.h"
#include <stdio.h>
void randombytes(uint8_t *target, uint64_t n)
{
/* tweetnacl needs uint64_t as "n" parameter, random provides uint32 */
......
......@@ -19,7 +19,6 @@
* @}
*/
#include <stdio.h>
#include <string.h>
#include <tweetnacl.h>
......
......@@ -25,24 +25,11 @@
extern "C" {
#endif
/**
* @brief MANDATORY function for collecting random Bytes
* required by the tweetnacl package
*/
extern void randombytes(uint8_t *target, uint64_t n);
/**
* @brief The entry point of this test suite.
*/
void tests_tweetnacl(void);
/**
* @brief Generates tests for tweetnacl
*
* @return embUnit tests if successful, NULL if not.
*/
Test *tests_tweetnacl_tests(void);
#ifdef __cplusplus
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment