Sha256: a1abc95a8a2d59cc02abdc236acab1e305a8ac1d694024d2bd9d93a9ceee4d6c

Contents?: true

Size: 302 Bytes

Versions: 12

Compression:

Stored size: 302 Bytes

Contents

#include "crypto_verify_16.h"
#include "crypto_onetimeauth.h"

int crypto_onetimeauth_verify(const unsigned char *h,const unsigned char *in,unsigned long long inlen,const unsigned char *k)
{
  unsigned char correct[16];
  crypto_onetimeauth(correct,in,inlen,k);
  return crypto_verify_16(h,correct);
}

Version data entries

12 entries across 3 versions & 1 rubygems

Version Path
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/x86/verify.c
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/ref/verify.c
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/53/verify.c
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/amd64/verify.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/ref/verify.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/53/verify.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/amd64/verify.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/x86/verify.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/53/verify.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/x86/verify.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/ref/verify.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/crypto_onetimeauth/poly1305/amd64/verify.c