Compare commits

..

14 Commits

Author SHA1 Message Date
cb78eab8e5 add extern C to chacha20 2025-09-05 18:16:27 +02:00
203699b7ed add bigint.h to clang-fmt ignore 2025-09-05 18:16:09 +02:00
777f57a20d modify bigint.h interface to be more like slowlibs 2025-09-05 18:13:49 +02:00
b163d18761 merge https://github.com/jprjr/bigint 2025-09-05 18:06:05 +02:00
John Regan
26f0d7b275 add SPDX identifier 2023-04-17 13:45:20 -04:00
John Regan
b29d02cc46 add macros for lt/gt/eq/le/ge 2023-04-05 16:58:07 -04:00
John Regan
e965c31ec4 add functions to convert to standard types 2023-04-02 16:17:57 -04:00
John Regan
10c6ae2dd7 add comparison function 2023-03-20 14:05:46 -04:00
John Regan
90916aacd6 remove useless line 2023-03-20 13:05:47 -04:00
John Regan
6669260aee update README 2023-03-19 17:53:14 -04:00
John Regan
b9d376056f update README 2023-03-19 17:52:13 -04:00
John Regan
55f08f9028 update README 2023-03-19 17:51:41 -04:00
John Regan
f9c724786b add Makefile and license 2023-03-19 17:48:41 -04:00
John Regan
1cbfd2ea0c initial commit 2023-03-19 17:46:36 -04:00
3 changed files with 1823 additions and 0 deletions

1
.clang-format-ignore Normal file
View File

@@ -0,0 +1 @@
bigint.h

1814
bigint.h Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -86,6 +86,10 @@
#ifndef SLOWCRYPT_CHACHA20_H
#define SLOWCRYPT_CHACHA20_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef SLOWCRYPT_CHACHA20_UINT32
#include <stdint.h>
#define SLOWCRYPT_CHACHA20_UINT32 uint32_t
@@ -286,4 +290,8 @@ SLOWCRYPT_CHACHA20_FUNC void slowcrypt_chacha20_block(
#endif
#ifdef __cplusplus
}
#endif
#endif