HomeSort by: relevance | last modified time | path
    Searched defs:firstkey (Results 1 - 10 of 10) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/test/default/
core1.c 16 static unsigned char firstkey[32]; variable in typeref:typename:unsigned char[32]
23 crypto_core_hsalsa20(firstkey, zero, shared, c);
30 printf("0x%02x", (unsigned int) firstkey[i]);
core2.c 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable in typeref:typename:unsigned char[32]
25 crypto_core_hsalsa20(secondkey, nonceprefix, firstkey, c);
secretbox.c 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable in typeref:typename:unsigned char[32]
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 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable in typeref:typename:unsigned char[32]
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 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable in typeref:typename:unsigned char[32]
23 crypto_stream(rs, 32, nonce, firstkey);
stream4.c 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable in typeref:typename:unsigned char[32]
40 crypto_stream_xor(c, m, 163, nonce, firstkey);
secretbox_easy.c 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable in typeref:typename:unsigned char[32]
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);
89 firstkey) != 0) {
98 firstkey) != -1)
    [all...]
stream.c 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable in typeref:typename:unsigned char[32]
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);
52 (1ULL << 32) - 1ULL, firstkey);
aead_chacha20poly1305.c 14 static const unsigned char firstkey[crypto_aead_chacha20poly1305_KEYBYTES] local in function:tv
35 NULL, nonce, firstkey);
49 NULL, nonce, firstkey);
59 nonce, firstkey) != 0) {
72 nonce, firstkey) == 0);
76 nonce, firstkey) != 0) {
86 ad, ADLEN, nonce, firstkey)
94 NULL, 0U, NULL, nonce, firstkey);
107 NULL, 0U, nonce, firstkey) != 0) {
120 NULL, 0U, nonce, firstkey) != -1)
189 static const unsigned char firstkey[crypto_aead_chacha20poly1305_ietf_KEYBYTES] local in function:tv_ietf
    [all...]
aead_xchacha20poly1305.c 14 static const unsigned char firstkey[crypto_aead_xchacha20poly1305_ietf_KEYBYTES] local in function:tv
44 NULL, nonce, firstkey);
59 NULL, nonce, firstkey);
68 ADLEN, nonce, firstkey) != 0) {
81 nonce, firstkey) != 0) {
91 ad, ADLEN, nonce, firstkey)
98 NULL, 0U, NULL, nonce, firstkey);
110 NULL, 0U, nonce, firstkey) != 0) {
123 NULL, 0U, nonce, firstkey) != -1) {
132 nonce, firstkey) != -1)
    [all...]

Completed in 19 milliseconds