This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
ed448goldilocks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix some warns from gcc
master
Mike Hamburg
8 years ago
parent
a3a2906f81
commit
1e796b2e0e
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/per_curve/eddsa.tmpl.c
+1
-1
src/per_curve/eddsa.tmpl.hxx
+1
-1
src/shake.c
+ 1
- 1
src/per_curve/eddsa.tmpl.c
View File
@@ -3,10 +3,10 @@
* @brief EdDSA routines.
*/
#include "word.h"
#include <decaf/eddsa_$(gf_bits).h>
#include <decaf/shake.h>
#include <decaf/sha512.h>
#include "word.h"
#include <string.h>
#define API_NAME "$(c_ns)"
+ 1
- 1
src/per_curve/eddsa.tmpl.hxx
View File
@@ -70,7 +70,7 @@ private:
}
if (SUPPORTS_CONTEXTS) {
uint8_t dom[2] = {2, context_.size() };
uint8_t dom[2] = {2,
(uint8_t)
context_.size() };
update(dom,2);
update(context_);
}
+ 1
- 1
src/shake.c
View File
@@ -270,7 +270,7 @@ size_t decaf_sponge_max_output_bytes (
) {
return (s->params->max_out == 0xFF)
? SIZE_MAX
: ((200-s->params->rate)/2);
: (
size_t)(
(200-s->params->rate)/2);
}
DEFSHAKE(128)
Write
Preview
Loading…
Cancel
Save