June 9, 2014
10:51 a.m.
On 9 June 2014 11:37, François Stephany <tulipe.moutarde@gmail.com> wrote:
Does anyone use the NaCl package to sign with HMAC SHA256 but we can't find what we need.
We've naively added:
apiCryptoAuthHMACSha256Output: outByteArray input: inByteArray inputLength: inByteArrayLength key:keyByteArray <apicall: long 'crypto_auth_hmacsha256' (byte* byte* ulonglong byte*) module: 'libsodium'> ^self externalCallFailed
which failed with 'Unable to find function address'.
Any hint of how to do that?
Have you tried pinging Tony Garnock-Jones? Not because this is a problem unique to libsodium, but since he wrote Smalltalk bindings for it (http://www.eighty-twenty.org/index.cgi/tech/smalltalk/nacl-for-squeak-and-ph...) he should know... frank