| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | aead_chacha20poly1305.c | 14 static const unsigned char firstkey[crypto_aead_chacha20poly1305_KEYBYTES] in tv() local 35 NULL, nonce, firstkey); in tv() 49 NULL, nonce, firstkey); in tv() 59 nonce, firstkey) != 0) { in tv() 86 ad, ADLEN, nonce, firstkey) in tv() 94 NULL, 0U, NULL, nonce, firstkey); in tv() 120 NULL, 0U, nonce, firstkey) != -1) { in tv() 129 nonce, firstkey) != -1) { in tv() 139 NULL, 0U, NULL, nonce, firstkey); in tv() 218 NULL, nonce, firstkey); in tv_ietf() [all …]
|
| H A D | secretbox_easy.c | 41 crypto_secretbox_easy(c, m, 131, nonce, firstkey); in main() 47 crypto_secretbox_detached(c, mac, m, 131, nonce, firstkey); in main() 59 crypto_secretbox_easy(c, c + 1, 131, nonce, firstkey); in main() 66 crypto_secretbox_easy(c + 1, c, 131, nonce, firstkey); in main() 73 crypto_secretbox_easy(c, c, 131, nonce, firstkey); in main() 79 assert(crypto_secretbox_easy(c, m, 0, nonce, firstkey) == 0); in main() 83 crypto_secretbox_easy(c, c, 0, nonce, firstkey); in main() 89 firstkey) != 0) { in main() 98 firstkey) != -1) { in main() 106 crypto_secretbox_easy(c, c + 10, 10, nonce, firstkey); in main() [all …]
|
| H A D | secretbox2.c | 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable 41 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 D | secretbox.c | 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable 41 crypto_secretbox(c, m, 163, nonce, firstkey); in main() 50 crypto_secretbox(c, c, 163, nonce, firstkey); in main() 58 assert(crypto_secretbox(c, c, 31, nonce, firstkey) == -1); in main() 59 assert(crypto_secretbox(c, c, 12, nonce, firstkey) == -1); in main() 60 assert(crypto_secretbox(c, c, 1, nonce, firstkey) == -1); in main() 61 assert(crypto_secretbox(c, c, 0, nonce, firstkey) == -1); in main()
|
| H A D | aead_xchacha20poly1305.c | 14 static const unsigned char firstkey[crypto_aead_xchacha20poly1305_ietf_KEYBYTES] in tv() local 44 NULL, nonce, firstkey); in tv() 59 NULL, nonce, firstkey); in tv() 68 ADLEN, nonce, firstkey) != 0) { in tv() 81 nonce, firstkey) != 0) { in tv() 91 ad, ADLEN, nonce, firstkey) in tv() 98 NULL, 0U, NULL, nonce, firstkey); in tv() 110 NULL, 0U, nonce, firstkey) != 0) { in tv() 123 NULL, 0U, nonce, firstkey) != -1) { in tv() 132 nonce, firstkey) != -1) { in tv() [all …]
|
| H A D | stream.c | 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable 27 crypto_stream(output, sizeof output, nonce, firstkey); in main() 34 crypto_stream_xsalsa20_xor_ic(output, output, 4000, nonce, 0U, firstkey); in main() 38 crypto_stream_xsalsa20_xor_ic(output, output, 4000, nonce, 1U, firstkey); in main() 45 crypto_stream(output, (int) (i & 0xff), nonce, firstkey); in main() 52 (1ULL << 32) - 1ULL, firstkey); in main()
|
| H A D | core1.c | 16 static unsigned char firstkey[32]; variable 23 crypto_core_hsalsa20(firstkey, zero, shared, c); in main() 30 printf("0x%02x", (unsigned int) firstkey[i]); in main()
|
| H A D | stream3.c | 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable 23 crypto_stream(rs, 32, nonce, firstkey); in main()
|
| H A D | stream4.c | 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable 40 crypto_stream_xor(c, m, 163, nonce, firstkey); in main()
|
| H A D | core2.c | 5 static unsigned char firstkey[32] = { 0x1b, 0x27, 0x55, 0x64, 0x73, 0xe9, 0x85, variable 25 crypto_core_hsalsa20(secondkey, nonceprefix, firstkey, c); in main()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | db.c | 1199 if (cmd->firstkey == 0) { in getKeysUsingCommandTable() 1206 keys = zmalloc(sizeof(int)*((last - cmd->firstkey)+1)); in getKeysUsingCommandTable() 1207 for (j = cmd->firstkey; j <= last; j += cmd->keystep) { in getKeysUsingCommandTable()
|
| H A D | redismodule.h | 197 …const char *name, RedisModuleCmdFunc cmdfunc, const char *strflags, int firstkey, int lastkey, int…
|
| H A D | cluster.c | 5454 robj *firstkey = NULL; in getNodeByQuery() local 5507 if (firstkey == NULL) { in getNodeByQuery() 5510 firstkey = thiskey; in getNodeByQuery() 5540 if (!equalStringObjects(firstkey,thiskey)) { in getNodeByQuery()
|
| H A D | server.c | 2601 !(c->cmd->getkeys_proc == NULL && c->cmd->firstkey == 0 && in processCommand() 3030 addReplyLongLong(c, cmd->firstkey); in addReplyCommand() 3072 } else if (cmd->getkeys_proc == NULL && cmd->firstkey == 0) { in commandCommand()
|
| H A D | module.c | 697 …const char *name, RedisModuleCmdFunc cmdfunc, const char *strflags, int firstkey, int lastkey, int… in RM_CreateCommand() argument 729 cp->rediscmd->firstkey = firstkey; in RM_CreateCommand()
|
| H A D | server.h | 1309 int firstkey; /* The first argument that's a key (0 = no keys) */ member
|