Home
last modified time | relevance | path

Searched refs:crypto_secretbox_open (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/contrib/libsodium/test/default/
H A Dsecretbox2.c41 if (crypto_secretbox_open(m, c, 163, nonce, firstkey) == 0) { in main()
49 assert(crypto_secretbox_open(m, c, 31, nonce, firstkey) == -1); in main()
50 assert(crypto_secretbox_open(m, c, 16, nonce, firstkey) == -1); in main()
51 assert(crypto_secretbox_open(m, c, 1, nonce, firstkey) == -1); in main()
52 assert(crypto_secretbox_open(m, c, 0, nonce, firstkey) == -1); in main()
H A Dsecretbox7.c23 if (crypto_secretbox_open(m2, c, mlen + crypto_secretbox_ZEROBYTES, n, in main()
H A Dsecretbox8.c27 if (crypto_secretbox_open(m2, c, mlen + crypto_secretbox_ZEROBYTES, in main()
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_secretbox/
H A Dcrypto_secretbox.c56 crypto_secretbox_open(unsigned char *m, const unsigned char *c, in crypto_secretbox_open() function
/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_secretbox.h82 int crypto_secretbox_open(unsigned char *m, const unsigned char *c,