HomeSort by: relevance | last modified time | path
    Searched defs:nonce (Results 1 - 25 of 72) sorted by relevancy

1 2 3

  /src/sys/external/isc/libsodium/dist/test/default/
secretbox.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
41 crypto_secretbox(c, m, 163, nonce, firstkey);
50 crypto_secretbox(c, c, 163, nonce, firstkey);
58 assert(crypto_secretbox(c, c, 31, nonce, firstkey) == -1);
59 assert(crypto_secretbox(c, c, 12, nonce, firstkey) == -1);
60 assert(crypto_secretbox(c, c, 1, nonce, firstkey) == -1);
61 assert(crypto_secretbox(c, c, 0, nonce, firstkey) == -1);
secretbox2.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
41 if (crypto_secretbox_open(m, c, 163, nonce, firstkey) == 0) {
49 assert(crypto_secretbox_open(m, c, 31, nonce, firstkey) == -1);
50 assert(crypto_secretbox_open(m, c, 16, nonce, firstkey) == -1);
51 assert(crypto_secretbox_open(m, c, 1, nonce, firstkey) == -1);
52 assert(crypto_secretbox_open(m, c, 0, nonce, firstkey) == -1);
stream3.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
23 crypto_stream(rs, 32, nonce, firstkey);
stream4.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
40 crypto_stream_xor(c, m, 163, nonce, firstkey);
secretbox.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
41 crypto_secretbox(c, m, 163, nonce, firstkey);
50 crypto_secretbox(c, c, 163, nonce, firstkey);
58 assert(crypto_secretbox(c, c, 31, nonce, firstkey) == -1);
59 assert(crypto_secretbox(c, c, 12, nonce, firstkey) == -1);
60 assert(crypto_secretbox(c, c, 1, nonce, firstkey) == -1);
61 assert(crypto_secretbox(c, c, 0, nonce, firstkey) == -1);
secretbox2.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
41 if (crypto_secretbox_open(m, c, 163, nonce, firstkey) == 0) {
49 assert(crypto_secretbox_open(m, c, 31, nonce, firstkey) == -1);
50 assert(crypto_secretbox_open(m, c, 16, nonce, firstkey) == -1);
51 assert(crypto_secretbox_open(m, c, 1, nonce, firstkey) == -1);
52 assert(crypto_secretbox_open(m, c, 0, nonce, firstkey) == -1);
stream3.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
23 crypto_stream(rs, 32, nonce, firstkey);
stream4.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
40 crypto_stream_xor(c, m, 163, nonce, firstkey);
box_easy.c 17 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
44 ret = crypto_box_easy(c, m, 131, nonce, bobpk, alicesk);
53 ret = crypto_box_easy(c, c, 0, nonce, bobpk, alicesk);
60 crypto_box_open_easy(c, c, crypto_box_MACBYTES, nonce, bobpk, alicesk);
67 ret = crypto_box_open_easy(c, c, crypto_box_MACBYTES, nonce, bobpk, alicesk);
secretbox_easy.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
41 crypto_secretbox_easy(c, m, 131, nonce, firstkey);
47 crypto_secretbox_detached(c, mac, m, 131, nonce, firstkey);
59 crypto_secretbox_easy(c, c + 1, 131, nonce, firstkey);
66 crypto_secretbox_easy(c + 1, c, 131, nonce, firstkey);
73 crypto_secretbox_easy(c, c, 131, nonce, firstkey);
79 assert(crypto_secretbox_easy(c, m, 0, nonce, firstkey) == 0);
83 crypto_secretbox_easy(c, c, 0, nonce, firstkey);
88 if (crypto_secretbox_open_easy(c, c, crypto_secretbox_MACBYTES, nonce,
97 if (crypto_secretbox_open_easy(c, c, crypto_secretbox_MACBYTES, nonce,
    [all...]
secretbox_easy2.c 11 unsigned char *nonce; local in function:main
21 nonce = (unsigned char *) sodium_malloc(crypto_secretbox_NONCEBYTES);
26 randombytes_buf(nonce, crypto_secretbox_NONCEBYTES);
27 crypto_secretbox_easy(c, m, (unsigned long long) mlen, nonce, k);
29 m2, c, (unsigned long long) mlen + crypto_secretbox_MACBYTES, nonce,
36 if (crypto_secretbox_open_easy(m2, c, (unsigned long long) i, nonce,
42 crypto_secretbox_detached(c, mac, m, (unsigned long long) mlen, nonce, k);
44 nonce, k) != 0) {
48 nonce, k) != 0) {
54 crypto_secretbox_easy(c, c, (unsigned long long) mlen, nonce, k)
    [all...]
stream.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
27 crypto_stream(output, sizeof output, nonce, firstkey);
34 crypto_stream_xsalsa20_xor_ic(output, output, 4000, nonce, 0U, firstkey);
38 crypto_stream_xsalsa20_xor_ic(output, output, 4000, nonce, 1U, firstkey);
45 crypto_stream(output, (int) (i & 0xff), nonce, firstkey);
51 crypto_stream_xsalsa20_xor_ic(output, output, 192, nonce,
box_easy.c 17 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
44 ret = crypto_box_easy(c, m, 131, nonce, bobpk, alicesk);
53 ret = crypto_box_easy(c, c, 0, nonce, bobpk, alicesk);
60 crypto_box_open_easy(c, c, crypto_box_MACBYTES, nonce, bobpk, alicesk);
67 ret = crypto_box_open_easy(c, c, crypto_box_MACBYTES, nonce, bobpk, alicesk);
secretbox_easy.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
41 crypto_secretbox_easy(c, m, 131, nonce, firstkey);
47 crypto_secretbox_detached(c, mac, m, 131, nonce, firstkey);
59 crypto_secretbox_easy(c, c + 1, 131, nonce, firstkey);
66 crypto_secretbox_easy(c + 1, c, 131, nonce, firstkey);
73 crypto_secretbox_easy(c, c, 131, nonce, firstkey);
79 assert(crypto_secretbox_easy(c, m, 0, nonce, firstkey) == 0);
83 crypto_secretbox_easy(c, c, 0, nonce, firstkey);
88 if (crypto_secretbox_open_easy(c, c, crypto_secretbox_MACBYTES, nonce,
97 if (crypto_secretbox_open_easy(c, c, crypto_secretbox_MACBYTES, nonce,
    [all...]
secretbox_easy2.c 11 unsigned char *nonce; local in function:main
21 nonce = (unsigned char *) sodium_malloc(crypto_secretbox_NONCEBYTES);
26 randombytes_buf(nonce, crypto_secretbox_NONCEBYTES);
27 crypto_secretbox_easy(c, m, (unsigned long long) mlen, nonce, k);
29 m2, c, (unsigned long long) mlen + crypto_secretbox_MACBYTES, nonce,
36 if (crypto_secretbox_open_easy(m2, c, (unsigned long long) i, nonce,
42 crypto_secretbox_detached(c, mac, m, (unsigned long long) mlen, nonce, k);
44 nonce, k) != 0) {
48 nonce, k) != 0) {
54 crypto_secretbox_easy(c, c, (unsigned long long) mlen, nonce, k)
    [all...]
stream.c 11 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
27 crypto_stream(output, sizeof output, nonce, firstkey);
34 crypto_stream_xsalsa20_xor_ic(output, output, 4000, nonce, 0U, firstkey);
38 crypto_stream_xsalsa20_xor_ic(output, output, 4000, nonce, 1U, firstkey);
45 crypto_stream(output, (int) (i & 0xff), nonce, firstkey);
51 crypto_stream_xsalsa20_xor_ic(output, output, 192, nonce,
box.c 23 static const unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:const unsigned char[24]
55 ret = crypto_box(c, m, 163, nonce, bobpk, alicesk);
64 ret = crypto_box(c, m, 163, nonce, small_order_p, alicesk);
71 crypto_box_afternm(c, m, 163, nonce, k);
box2.c 23 static unsigned char nonce[24] = { 0x69, 0x69, 0x6e, 0xe9, 0x55, 0xb6, variable in typeref:typename:unsigned char[24]
55 if (crypto_box_open(m, c, 163, nonce, alicepk, bobsk) == 0) {
63 ret = crypto_box_open(m, c, 163, nonce, small_order_p, bobsk);
71 if (crypto_box_open_afternm(m, c, 163, nonce, k) == 0) {
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/
crypto_box_seal.c 10 _crypto_box_seal_nonce(unsigned char *nonce,
18 crypto_generichash_final(&st, nonce, crypto_box_NONCEBYTES);
27 unsigned char nonce[crypto_box_NONCEBYTES]; local in function:crypto_box_seal
36 _crypto_box_seal_nonce(nonce, epk, pk);
38 nonce, pk, esk);
41 sodium_memzero(nonce, sizeof nonce);
51 unsigned char nonce[crypto_box_NONCEBYTES]; local in function:crypto_box_seal_open
56 _crypto_box_seal_nonce(nonce, c, pk);
61 nonce, c, sk)
    [all...]
crypto_box_seal.c 10 _crypto_box_seal_nonce(unsigned char *nonce,
18 crypto_generichash_final(&st, nonce, crypto_box_NONCEBYTES);
27 unsigned char nonce[crypto_box_NONCEBYTES]; local in function:crypto_box_seal
36 _crypto_box_seal_nonce(nonce, epk, pk);
38 nonce, pk, esk);
41 sodium_memzero(nonce, sizeof nonce);
51 unsigned char nonce[crypto_box_NONCEBYTES]; local in function:crypto_box_seal_open
56 _crypto_box_seal_nonce(nonce, c, pk);
61 nonce, c, sk)
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_box/curve25519xchacha20poly1305/
box_seal_curve25519xchacha20poly1305.c 10 _crypto_box_curve25519xchacha20poly1305_seal_nonce(unsigned char *nonce,
22 crypto_generichash_final(&st, nonce,
33 unsigned char nonce[crypto_box_curve25519xchacha20poly1305_NONCEBYTES]; local in function:crypto_box_curve25519xchacha20poly1305_seal
42 _crypto_box_curve25519xchacha20poly1305_seal_nonce(nonce, epk, pk);
45 nonce, pk, esk);
48 sodium_memzero(nonce, sizeof nonce);
59 unsigned char nonce[crypto_box_curve25519xchacha20poly1305_NONCEBYTES]; local in function:crypto_box_curve25519xchacha20poly1305_seal_open
64 _crypto_box_curve25519xchacha20poly1305_seal_nonce(nonce, c, pk);
72 nonce, c, sk)
    [all...]
box_seal_curve25519xchacha20poly1305.c 10 _crypto_box_curve25519xchacha20poly1305_seal_nonce(unsigned char *nonce,
22 crypto_generichash_final(&st, nonce,
33 unsigned char nonce[crypto_box_curve25519xchacha20poly1305_NONCEBYTES]; local in function:crypto_box_curve25519xchacha20poly1305_seal
42 _crypto_box_curve25519xchacha20poly1305_seal_nonce(nonce, epk, pk);
45 nonce, pk, esk);
48 sodium_memzero(nonce, sizeof nonce);
59 unsigned char nonce[crypto_box_curve25519xchacha20poly1305_NONCEBYTES]; local in function:crypto_box_curve25519xchacha20poly1305_seal_open
64 _crypto_box_curve25519xchacha20poly1305_seal_nonce(nonce, c, pk);
72 nonce, c, sk)
    [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_sign/ed25519/ref10/
sign.c 71 unsigned char nonce[64]; local in function:_crypto_sign_ed25519_detached
79 _crypto_sign_ed25519_synthetic_r_hv(&hs, nonce, az);
86 crypto_hash_sha512_final(&hs, nonce);
90 sc25519_reduce(nonce);
91 ge25519_scalarmult_base(&R, nonce);
101 sc25519_muladd(sig + 32, hram, az, nonce);
104 sodium_memzero(nonce, sizeof nonce);
  /src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
crypto_secretstream_xchacha20poly1305.h 57 unsigned char nonce[crypto_stream_chacha20_ietf_NONCEBYTES]; member in struct:crypto_secretstream_xchacha20poly1305_state
  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/
randombytes.c 171 static const unsigned char nonce[crypto_stream_chacha20_ietf_NONCEBYTES] = { local in function:randombytes_buf_deterministic
183 nonce, seed);

Completed in 30 milliseconds

1 2 3