Sha256: 453e8c5bb6cd9e495a6fbb6a38c575d84dcc8563c08453b0a3fd3c52f1bc062c

Contents?: true

Size: 502 Bytes

Versions: 9

Compression:

Stored size: 502 Bytes

Contents

#include "crypto_onetimeauth_poly1305.h"
#include "crypto_verify_16.h"
#include "poly1305_donna.h"

int
crypto_onetimeauth_poly1305_donna_verify(const unsigned char *h,
                                         const unsigned char *in,
                                         unsigned long long inlen,
                                         const unsigned char *k)
{
    unsigned char correct[16];

    crypto_onetimeauth_poly1305_donna(correct,in,inlen,k);
    return crypto_verify_16(h,correct);
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rbnacl-libsodium-1.0.5 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
rbnacl-libsodium-1.0.4 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
rbnacl-libsodium-1.0.3 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
rbnacl-libsodium-1.0.2 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
rbnacl-libsodium-1.0.1 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
rbnacl-libsodium-1.0.0 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
rbnacl-libsodium-0.7.0 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
rbnacl-libsodium-0.6.1 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c
rbnacl-libsodium-0.6.0 vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c