Home
last modified time | relevance | path

Searched refs:small_order_p (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dbox_easy2.c5 static const unsigned char small_order_p[crypto_box_PUBLICKEYBYTES] = { variable
79 ret = crypto_box_beforenm(k1, small_order_p, bobsk); in main()
81 ret = crypto_box_beforenm(k2, small_order_p, alicesk); in main()
111 small_order_p, bobsk); in main()
117 small_order_p, alicesk) != -1) { in main()
H A Dbox2.c17 static const unsigned char small_order_p[crypto_box_PUBLICKEYBYTES] = { variable
63 ret = crypto_box_open(m, c, 163, nonce, small_order_p, bobsk); in main()
67 ret = crypto_box_beforenm(k, small_order_p, bobsk); in main()
H A Dbox.c17 static const unsigned char small_order_p[crypto_box_PUBLICKEYBYTES] = { variable
64 ret = crypto_box(c, m, 163, nonce, small_order_p, alicesk); in main()
79 ret = crypto_box_beforenm(k, small_order_p, alicesk); in main()
H A Dkx.c5 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = { variable
44 small_order_p) == -1); in tv_kx()
55 small_order_p) == -1); in tv_kx()
H A Dscalarmult.c17 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = { variable
55 ret = crypto_scalarmult(k, bobsk, small_order_p); in main()
H A Dxchacha20.c11 static const unsigned char small_order_p[crypto_scalarmult_BYTES] = { variable
336 nonce, small_order_p, sk) == -1); in tv_box_xchacha20poly1305()
350 assert(crypto_box_curve25519xchacha20poly1305_beforenm(pc, small_order_p, sk) == -1); in tv_box_xchacha20poly1305()
370 nonce, small_order_p, sk) == -1); in tv_box_xchacha20poly1305()
374 (m2, out, mac, m_len, nonce, small_order_p, sk) == -1); in tv_box_xchacha20poly1305()