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

  /src/sys/external/isc/libsodium/dist/test/default/
scalarmult2.c 5 static unsigned char bobsk[32] = { 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, variable in typeref:typename:unsigned char[32]
18 crypto_scalarmult_base(bobpk, bobsk);
scalarmult.c 11 static const unsigned char bobsk[crypto_scalarmult_BYTES] = { variable in typeref:typename:const unsigned char[]
41 crypto_scalarmult_base(bobpk, bobsk);
50 ret = crypto_scalarmult(k, bobsk, alicepk);
55 ret = crypto_scalarmult(k, bobsk, small_order_p);
scalarmult6.c 21 unsigned char *bobsk; local in function:main
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);
box2.c 5 static unsigned char bobsk[32] = { 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, variable in typeref:typename:unsigned char[32]
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);
box7.c 7 static unsigned char bobsk[crypto_box_SECRETKEYBYTES]; variable in typeref:typename:unsigned char[]
27 crypto_box_keypair(bobpk, bobsk);
34 bobsk) == 0) {
box8.c 7 static unsigned char bobsk[crypto_box_SECRETKEYBYTES]; variable in typeref:typename:unsigned char[]
27 crypto_box_keypair(bobpk, bobsk);
41 bobsk) == 0) {
box_easy2.c 17 unsigned char *bobsk; local in function:main
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...]

Completed in 14 milliseconds