HomeSort by: relevance | last modified time | path
    Searched refs:crypto_box_ZEROBYTES (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/test/default/
box7.c 25 memset(m, 0, crypto_box_ZEROBYTES);
28 for (mlen = 0; mlen + crypto_box_ZEROBYTES <= mlen_max; mlen++) {
30 randombytes_buf(m + crypto_box_ZEROBYTES, mlen);
31 ret = crypto_box(c, m, mlen + crypto_box_ZEROBYTES, n, bobpk, alicesk);
33 if (crypto_box_open(m2, c, mlen + crypto_box_ZEROBYTES, n, alicepk,
35 for (i = 0; i < mlen + crypto_box_ZEROBYTES; ++i) {
box8.c 28 for (mlen = 0; mlen + crypto_box_ZEROBYTES <= mlen_max; mlen++) {
30 randombytes_buf(m + crypto_box_ZEROBYTES, mlen);
31 ret = crypto_box(c, m, mlen + crypto_box_ZEROBYTES, n, bobpk, alicesk);
39 c[rand() % (mlen + crypto_box_ZEROBYTES)] = rand();
40 if (crypto_box_open(m2, c, mlen + crypto_box_ZEROBYTES, n, alicepk,
42 for (i = 0; i < mlen + crypto_box_ZEROBYTES; ++i) {
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/
crypto_box.c 35 crypto_box_zerobytes(void) function in typeref:typename:size_t
37 return crypto_box_ZEROBYTES;
  /src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
crypto_box.h 138 #define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
140 size_t crypto_box_zerobytes(void);

Completed in 12 milliseconds