Sha256: 68f1a4783609753c08453e4013bc5436bf3c76025165e27640b03f0b67bfd897
Contents?: true
Size: 334 Bytes
Versions: 5
Compression:
Stored size: 334 Bytes
Contents
#include "api.h" #include "crypto_onetimeauth_poly1305_donna.h" #include "crypto_verify_16.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
5 entries across 5 versions & 1 rubygems