Commit Graph

10 Commits

Author SHA1 Message Date
Andrew Bettison
7582f24e9c Fix -Wsign-compare warnings in NaCl code
Make loop counters unsigned
2013-12-11 13:58:51 +10:30
Petter Reinholdtsen
804af66308 Add supid copyright headers on request from Andrew Bettison in the serval project. 2013-12-07 18:38:14 +01:00
Petter Reinholdtsen
3df845adbc Avoid warning from unused variable. 2013-10-13 21:09:37 +02:00
gardners
a40fcfec66 cleaned up NaCl build to just compile using make. #17 2012-10-18 17:26:52 +10:30
gardners
499c4018bf Imported ref10/ implementation of crypto_sign from supercop-20120525
as recommended a while back by Dan Bernstein as offering the fastest
implementation of the crypto_sign() primitives for ARM.
Indeed this implementation IS faster. See comparison below for a
Rock 500 handset (800MHz(?) ARM6, no NEON):

Original ref/ implementation on an R500 stock rom (non-rooted)::
mean signature generation time = 96.80ms
mean signature verification time = 272.20ms

ref10/ implementations on an R500 stock rom (non-rooted):
mean signature generation time = 4.00ms
mean signature verification time = 13.00ms

Approximately 20x speed up, just like that :)
2012-10-18 17:26:48 +10:30
Daniel O'Connor
d9cfc3ed48 Check we could actually build something. 2012-09-06 15:27:26 +09:30
Paul Gardner-Stephen
0891a7429f Use -r because Solaris' sh doesn't have -e (?!) Avoid extended REs (not necessary here but doesn't hurt) 2012-09-05 20:42:55 +09:30
Daniel O'Connor
6102dc0ccb - Move nacl-prepare-sources to nacl.
- Alter nacl-prepare-sources to do some of what nacl-jni-prep did.
- Commit nacl.h and sources.mk created by nacl-prepare-sources for
  nacl-20110221. This lets you build the Android version out of the
  box. The native version can still be built after 'do' script is
  run (necessary to build the libraries and create includes).
2012-02-27 12:45:50 +10:30
Daniel O'Connor
bf9710fd5a Unpacked nacl-20110221 after processing by nacl-prepare-sources.
This only affects build_android, if nacl-gcc-prep is run then build/`uname -s` will be created.
2012-02-27 12:40:14 +10:30
Daniel O'Connor
b053386b4f Scripts to process nacl source directory. 2012-02-27 12:40:14 +10:30