Skip to content

Commit

Permalink
Use small footprint on AVR, large footprint on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
rweather committed Aug 25, 2016
1 parent a495d36 commit a2043ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/NewHope/NewHope.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
#define NEWHOPE_SENDBBYTES 2048
#define NEWHOPE_SHAREDBYTES 32

#if defined(__AVR__)
#define NEWHOPE_SMALL_FOOTPRINT 1
#else
#define NEWHOPE_SMALL_FOOTPRINT 0
#endif

typedef struct
{
Expand Down

0 comments on commit a2043ed

Please sign in to comment.