Searched refs:bobsk (Results 1 - 7 of 7) sorted by relevance
/freebsd-current/sys/contrib/libsodium/test/default/ |
H A D | scalarmult6.c | 21 unsigned char *bobsk; local 27 bobsk = (unsigned char *) sodium_malloc(crypto_scalarmult_SCALARBYTES); 29 assert(k != NULL && bobsk != NULL && alicepk != NULL); 31 memcpy(bobsk, bobsk_, crypto_scalarmult_SCALARBYTES); 34 ret = crypto_scalarmult(k, bobsk, alicepk); 38 sodium_free(bobsk);
|
H A D | scalarmult2.c | 5 static unsigned char bobsk[32] = { 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, variable 18 crypto_scalarmult_base(bobpk, bobsk);
|
H A D | box8.c | 7 static unsigned char bobsk[crypto_box_SECRETKEYBYTES]; variable 27 crypto_box_keypair(bobpk, bobsk); 41 bobsk) == 0) {
|
H A D | box7.c | 7 static unsigned char bobsk[crypto_box_SECRETKEYBYTES]; variable 27 crypto_box_keypair(bobpk, bobsk); 34 bobsk) == 0) {
|
H A D | box_easy2.c | 17 unsigned char *bobsk; local 40 bobsk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); 46 crypto_box_keypair(bobpk, bobsk); 54 nonce, alicepk, bobsk) != 0) { 62 bobsk) == 0) { 75 nonce, alicepk, bobsk) != 0) { 79 ret = crypto_box_beforenm(k1, small_order_p, bobsk); 84 ret = crypto_box_beforenm(k1, alicepk, bobsk); 111 small_order_p, bobsk); 114 alicepk, bobsk); [all...] |
H A D | scalarmult.c | 11 static const unsigned char bobsk[crypto_scalarmult_BYTES] = { variable 41 crypto_scalarmult_base(bobpk, bobsk); 50 ret = crypto_scalarmult(k, bobsk, alicepk); 55 ret = crypto_scalarmult(k, bobsk, small_order_p);
|
H A D | box2.c | 5 static unsigned char bobsk[32] = { 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, variable 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); 67 ret = crypto_box_beforenm(k, small_order_p, bobsk); 69 ret = crypto_box_beforenm(k, alicepk, bobsk);
|
Completed in 776 milliseconds