TinySSH is a small SSH server using NaCl, TweetNaCl
1–10 of 64 posts
Re: TinySSH is a small SSH server using NaCl, TweetNaCl
#2CHALLENGE ACCEPTED!
Re: TinySSH is a small SSH server using NaCl, TweetNaCl
#3 typedef unsigned long u32;
but on 64-bit LP64 systems (like Linux), long is 64-bits.Re: TinySSH is a small SSH server using NaCl, TweetNaCl
#4Re: TinySSH is a small SSH server using NaCl, TweetNaCl
#5----
Re: TinySSH is a small SSH server using NaCl, TweetNaCl
#6Is TweetNaCl deliberately 32-bit or LLP64 only? One of the first lines is typedef unsigned long u32; but on 64-bit LP64 systems (like Linux), long is 64-bits. See http://tweetnacl.cr.yp.to/20140427/tweetnacl.c
On the other hand, TinySSH actually includes a configuration mechanism to detect integer sizes, and modifies TweetNaCl accordingly, so TinySSH is not 32-bit/LLP64 only.
Re: TinySSH is a small SSH server using NaCl, TweetNaCl
#7Is TweetNaCl deliberately 32-bit or LLP64 only? One of the first lines is typedef unsigned long u32; but on 64-bit LP64 systems (like Linux), long is 64-bits. See http://tweetnacl.cr.yp.to/20140427/tweetnacl.c
Yes, TweetNaCl is. TweetNaCl's goal is to be auditable, not to be portable. On the other hand, TinySSH actually includes a configuration mechanism to detect integer sizes, and modifies TweetNaCl accordingly, so TinySSH is not 32-bit/LLP64 only.
Re: TinySSH is a small SSH server using NaCl, TweetNaCl
#8djb's cryptography is great, but djb's implementations leave something to be desired.