Caleb James DeLisle 896627850f oops wrong name 11 years ago
..
LIBS 896627850f oops wrong name 11 years ago
README 896627850f oops wrong name 11 years ago
SOURCES 896627850f oops wrong name 11 years ago
TARGETS 896627850f oops wrong name 11 years ago
blocking.c 896627850f oops wrong name 11 years ago
blocking.h 896627850f oops wrong name 11 years ago
byte.h 896627850f oops wrong name 11 years ago
byte_copy.c 896627850f oops wrong name 11 years ago
byte_isequal.c 896627850f oops wrong name 11 years ago
byte_zero.c 896627850f oops wrong name 11 years ago
crypto_block.c 896627850f oops wrong name 11 years ago
crypto_block.h 896627850f oops wrong name 11 years ago
curvecpclient.c 896627850f oops wrong name 11 years ago
curvecpmakekey.c 896627850f oops wrong name 11 years ago
curvecpmessage.c 896627850f oops wrong name 11 years ago
curvecpprintkey.c 896627850f oops wrong name 11 years ago
curvecpserver.c 896627850f oops wrong name 11 years ago
die.c 896627850f oops wrong name 11 years ago
die.h 896627850f oops wrong name 11 years ago
e.c 896627850f oops wrong name 11 years ago
e.h 896627850f oops wrong name 11 years ago
hexparse.c 896627850f oops wrong name 11 years ago
hexparse.h 896627850f oops wrong name 11 years ago
load.c 896627850f oops wrong name 11 years ago
load.h 896627850f oops wrong name 11 years ago
nameparse.c 896627850f oops wrong name 11 years ago
nameparse.h 896627850f oops wrong name 11 years ago
nanoseconds.c 896627850f oops wrong name 11 years ago
nanoseconds.h 896627850f oops wrong name 11 years ago
open.h 896627850f oops wrong name 11 years ago
open_cwd.c 896627850f oops wrong name 11 years ago
open_lock.c 896627850f oops wrong name 11 years ago
open_pipe.c 896627850f oops wrong name 11 years ago
open_read.c 896627850f oops wrong name 11 years ago
open_write.c 896627850f oops wrong name 11 years ago
portparse.c 896627850f oops wrong name 11 years ago
portparse.h 896627850f oops wrong name 11 years ago
randommod.c 896627850f oops wrong name 11 years ago
randommod.h 896627850f oops wrong name 11 years ago
safenonce.c 896627850f oops wrong name 11 years ago
safenonce.h 896627850f oops wrong name 11 years ago
savesync.c 896627850f oops wrong name 11 years ago
savesync.h 896627850f oops wrong name 11 years ago
socket.h 896627850f oops wrong name 11 years ago
socket_bind.c 896627850f oops wrong name 11 years ago
socket_recv.c 896627850f oops wrong name 11 years ago
socket_send.c 896627850f oops wrong name 11 years ago
socket_udp.c 896627850f oops wrong name 11 years ago
uint16_pack.c 896627850f oops wrong name 11 years ago
uint16_pack.h 896627850f oops wrong name 11 years ago
uint16_unpack.c 896627850f oops wrong name 11 years ago
uint16_unpack.h 896627850f oops wrong name 11 years ago
uint32_pack.c 896627850f oops wrong name 11 years ago
uint32_pack.h 896627850f oops wrong name 11 years ago
uint32_unpack.c 896627850f oops wrong name 11 years ago
uint32_unpack.h 896627850f oops wrong name 11 years ago
uint64_pack.c 896627850f oops wrong name 11 years ago
uint64_pack.h 896627850f oops wrong name 11 years ago
uint64_unpack.c 896627850f oops wrong name 11 years ago
uint64_unpack.h 896627850f oops wrong name 11 years ago
writeall.c 896627850f oops wrong name 11 years ago
writeall.h 896627850f oops wrong name 11 years ago

README

Example of use (with nacl-20110221/build/*/bin in $PATH):
curvecpmakekey serverkey
curvecpprintkey serverkey > serverkey.hex
curvecpserver this.machine.name serverkey \
127.0.0.1 10000 31415926535897932384626433832795 \
curvecpmessage cat /usr/share/dict/words &
curvecpclient this.machine.name `cat serverkey.hex` \
127.0.0.1 10000 31415926535897932384626433832795 \
curvecpmessage -c sh -c 'nacl-sha512 <&6'
nacl-sha512 < /usr/share/dict/words