/dports/security/libsodium/libsodium-1.0.18/test/default/ |
H A D | xchacha20.c | 139 out2 = (unsigned char *) sodium_malloc(0); in tv_stream_xchacha20() 146 out = (unsigned char *) sodium_malloc(64); in tv_stream_xchacha20() 157 out = (unsigned char *) sodium_malloc(192); in tv_stream_xchacha20() 170 hex = (char *) sodium_malloc(192 * 2 + 1); in tv_stream_xchacha20() 224 key = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 226 nonce = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 237 out = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 239 out2 = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 325 out = (unsigned char *) sodium_malloc in tv_box_xchacha20poly1305() 348 out = (unsigned char *) sodium_malloc in tv_box_xchacha20poly1305() [all …]
|
H A D | metamorphic.c | 23 m = (unsigned char *) sodium_malloc(mlen); in mm_generichash() 27 k = (unsigned char *) sodium_malloc(klen); in mm_generichash() 31 h = (unsigned char *) sodium_malloc(hlen); in mm_generichash() 32 h2 = (unsigned char *) sodium_malloc(hlen); in mm_generichash() 69 m = (unsigned char *) sodium_malloc(mlen); in mm_onetimeauth() 70 k = (unsigned char *) sodium_malloc(crypto_onetimeauth_KEYBYTES); in mm_onetimeauth() 71 h = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES); in mm_onetimeauth() 72 h2 = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES); in mm_onetimeauth() 109 m = (unsigned char *) sodium_malloc(mlen); in mm_hmacsha256() 111 h = (unsigned char *) sodium_malloc(crypto_auth_hmacsha256_BYTES); in mm_hmacsha256() [all …]
|
H A D | core_ristretto255.c | 50 s = (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv1() 92 s = (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv2() 93 u = (unsigned char *) sodium_malloc(crypto_core_ristretto255_HASHBYTES); in tv2() 94 hex = (char *) sodium_malloc(crypto_core_ristretto255_BYTES * 2 + 1); in tv2() 119 (unsigned char *) sodium_malloc(crypto_core_ristretto255_SCALARBYTES); in tv3() 121 (unsigned char *) sodium_malloc(crypto_core_ristretto255_SCALARBYTES); in tv3() 123 (unsigned char *) sodium_malloc(crypto_core_ristretto255_HASHBYTES); in tv3() 125 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() 127 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() 129 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() [all …]
|
H A D | box_easy2.c | 34 m = (unsigned char *) sodium_malloc(m_size); in main() 35 m2 = (unsigned char *) sodium_malloc(m2_size); in main() 36 c = (unsigned char *) sodium_malloc(c_size); in main() 37 alicepk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 38 alicesk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); in main() 39 bobpk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 40 bobsk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); in main() 41 mac = (unsigned char *) sodium_malloc(crypto_box_MACBYTES); in main() 42 nonce = (unsigned char *) sodium_malloc(crypto_box_NONCEBYTES); in main() 43 k1 = (unsigned char *) sodium_malloc(crypto_box_BEFORENMBYTES); in main() [all …]
|
H A D | aead_aes256gcm.c | 3101 key = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_KEYBYTES); in tv() 3102 nonce = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_NPUBBYTES); in tv() 3103 mac = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_ABYTES); in tv() 3115 message = (unsigned char *) sodium_malloc(message_len); in tv() 3120 ad = (unsigned char *) sodium_malloc(ad_len); in tv() 3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv() 3135 ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv() 3136 detached_ciphertext = (unsigned char *) sodium_malloc(detached_ciphertext_len); in tv() 3148 hex = (char *) sodium_malloc((size_t) ciphertext_len * 2 + 1); in tv() 3162 hex = (char *) sodium_malloc((size_t) found_ciphertext_len * 2 + 1); in tv() [all …]
|
H A D | kx.c | 22 seed = (unsigned char *) sodium_malloc(crypto_kx_SEEDBYTES); in tv_kx() 26 client_pk = (unsigned char *) sodium_malloc(crypto_kx_PUBLICKEYBYTES); in tv_kx() 27 client_sk = (unsigned char *) sodium_malloc(crypto_kx_SECRETKEYBYTES); in tv_kx() 35 server_pk = (unsigned char *) sodium_malloc(crypto_kx_PUBLICKEYBYTES); in tv_kx() 36 server_sk = (unsigned char *) sodium_malloc(crypto_kx_SECRETKEYBYTES); in tv_kx() 39 client_rx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES); in tv_kx() 40 client_tx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES); in tv_kx() 50 server_rx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES); in tv_kx() 51 server_tx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES); in tv_kx()
|
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/test/default/ |
H A D | xchacha20.c | 139 out2 = (unsigned char *) sodium_malloc(0); in tv_stream_xchacha20() 146 out = (unsigned char *) sodium_malloc(64); in tv_stream_xchacha20() 157 out = (unsigned char *) sodium_malloc(192); in tv_stream_xchacha20() 170 hex = (char *) sodium_malloc(192 * 2 + 1); in tv_stream_xchacha20() 224 key = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 226 nonce = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 237 out = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 239 out2 = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 325 out = (unsigned char *) sodium_malloc in tv_box_xchacha20poly1305() 348 out = (unsigned char *) sodium_malloc in tv_box_xchacha20poly1305() [all …]
|
H A D | metamorphic.c | 23 m = (unsigned char *) sodium_malloc(mlen); in mm_generichash() 27 k = (unsigned char *) sodium_malloc(klen); in mm_generichash() 31 h = (unsigned char *) sodium_malloc(hlen); in mm_generichash() 32 h2 = (unsigned char *) sodium_malloc(hlen); in mm_generichash() 69 m = (unsigned char *) sodium_malloc(mlen); in mm_onetimeauth() 70 k = (unsigned char *) sodium_malloc(crypto_onetimeauth_KEYBYTES); in mm_onetimeauth() 71 h = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES); in mm_onetimeauth() 72 h2 = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES); in mm_onetimeauth() 109 m = (unsigned char *) sodium_malloc(mlen); in mm_hmacsha256() 111 h = (unsigned char *) sodium_malloc(crypto_auth_hmacsha256_BYTES); in mm_hmacsha256() [all …]
|
H A D | core_ristretto255.c | 50 s = (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv1() 92 s = (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv2() 93 u = (unsigned char *) sodium_malloc(crypto_core_ristretto255_HASHBYTES); in tv2() 94 hex = (char *) sodium_malloc(crypto_core_ristretto255_BYTES * 2 + 1); in tv2() 119 (unsigned char *) sodium_malloc(crypto_core_ristretto255_SCALARBYTES); in tv3() 121 (unsigned char *) sodium_malloc(crypto_core_ristretto255_SCALARBYTES); in tv3() 123 (unsigned char *) sodium_malloc(crypto_core_ristretto255_HASHBYTES); in tv3() 125 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() 127 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() 129 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() [all …]
|
H A D | box_easy2.c | 34 m = (unsigned char *) sodium_malloc(m_size); in main() 35 m2 = (unsigned char *) sodium_malloc(m2_size); in main() 36 c = (unsigned char *) sodium_malloc(c_size); in main() 37 alicepk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 38 alicesk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); in main() 39 bobpk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 40 bobsk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); in main() 41 mac = (unsigned char *) sodium_malloc(crypto_box_MACBYTES); in main() 42 nonce = (unsigned char *) sodium_malloc(crypto_box_NONCEBYTES); in main() 43 k1 = (unsigned char *) sodium_malloc(crypto_box_BEFORENMBYTES); in main() [all …]
|
H A D | aead_aes256gcm.c | 3101 key = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_KEYBYTES); in tv() 3102 nonce = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_NPUBBYTES); in tv() 3103 mac = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_ABYTES); in tv() 3115 message = (unsigned char *) sodium_malloc(message_len); in tv() 3120 ad = (unsigned char *) sodium_malloc(ad_len); in tv() 3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv() 3135 ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv() 3136 detached_ciphertext = (unsigned char *) sodium_malloc(detached_ciphertext_len); in tv() 3148 hex = (char *) sodium_malloc((size_t) ciphertext_len * 2 + 1); in tv() 3162 hex = (char *) sodium_malloc((size_t) found_ciphertext_len * 2 + 1); in tv() [all …]
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/ |
H A D | xchacha20.c | 139 out2 = (unsigned char *) sodium_malloc(0); in tv_stream_xchacha20() 146 out = (unsigned char *) sodium_malloc(64); in tv_stream_xchacha20() 157 out = (unsigned char *) sodium_malloc(192); in tv_stream_xchacha20() 170 hex = (char *) sodium_malloc(192 * 2 + 1); in tv_stream_xchacha20() 224 key = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 226 nonce = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 237 out = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 239 out2 = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 325 out = (unsigned char *) sodium_malloc in tv_box_xchacha20poly1305() 348 out = (unsigned char *) sodium_malloc in tv_box_xchacha20poly1305() [all …]
|
H A D | metamorphic.c | 23 m = (unsigned char *) sodium_malloc(mlen); in mm_generichash() 27 k = (unsigned char *) sodium_malloc(klen); in mm_generichash() 31 h = (unsigned char *) sodium_malloc(hlen); in mm_generichash() 32 h2 = (unsigned char *) sodium_malloc(hlen); in mm_generichash() 69 m = (unsigned char *) sodium_malloc(mlen); in mm_onetimeauth() 70 k = (unsigned char *) sodium_malloc(crypto_onetimeauth_KEYBYTES); in mm_onetimeauth() 71 h = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES); in mm_onetimeauth() 72 h2 = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES); in mm_onetimeauth() 109 m = (unsigned char *) sodium_malloc(mlen); in mm_hmacsha256() 111 h = (unsigned char *) sodium_malloc(crypto_auth_hmacsha256_BYTES); in mm_hmacsha256() [all …]
|
H A D | core_ristretto255.c | 51 s = (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv1() 93 s = (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv2() 94 u = (unsigned char *) sodium_malloc(crypto_core_ristretto255_HASHBYTES); in tv2() 95 hex = (char *) sodium_malloc(crypto_core_ristretto255_BYTES * 2 + 1); in tv2() 120 (unsigned char *) sodium_malloc(crypto_core_ristretto255_SCALARBYTES); in tv3() 122 (unsigned char *) sodium_malloc(crypto_core_ristretto255_SCALARBYTES); in tv3() 124 (unsigned char *) sodium_malloc(crypto_core_ristretto255_HASHBYTES); in tv3() 126 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() 128 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() 130 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() [all …]
|
H A D | box_easy2.c | 34 m = (unsigned char *) sodium_malloc(m_size); in main() 35 m2 = (unsigned char *) sodium_malloc(m2_size); in main() 36 c = (unsigned char *) sodium_malloc(c_size); in main() 37 alicepk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 38 alicesk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); in main() 39 bobpk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 40 bobsk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); in main() 41 mac = (unsigned char *) sodium_malloc(crypto_box_MACBYTES); in main() 42 nonce = (unsigned char *) sodium_malloc(crypto_box_NONCEBYTES); in main() 43 k1 = (unsigned char *) sodium_malloc(crypto_box_BEFORENMBYTES); in main() [all …]
|
H A D | box_seal.c | 19 m = (unsigned char *) sodium_malloc(m_len); in tv1() 20 m2 = (unsigned char *) sodium_malloc(m_len); in tv1() 21 c = (unsigned char *) sodium_malloc(c_len); in tv1() 57 m2 = (unsigned char *) sodium_malloc(m_len); in tv2() 58 cm = (unsigned char *) sodium_malloc(cm_len); in tv2() 88 m = (unsigned char *) sodium_malloc(m_len); in tv3() 89 m2 = (unsigned char *) sodium_malloc(m_len); in tv3() 90 c = (unsigned char *) sodium_malloc(c_len); in tv3() 127 m2 = (unsigned char *) sodium_malloc(m_len); in tv4() 128 cm = (unsigned char *) sodium_malloc(cm_len); in tv4()
|
H A D | aead_aes256gcm.c | 3101 key = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_KEYBYTES); in tv() 3102 nonce = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_NPUBBYTES); in tv() 3103 mac = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_ABYTES); in tv() 3115 message = (unsigned char *) sodium_malloc(message_len); in tv() 3120 ad = (unsigned char *) sodium_malloc(ad_len); in tv() 3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv() 3135 ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv() 3136 detached_ciphertext = (unsigned char *) sodium_malloc(detached_ciphertext_len); in tv() 3148 hex = (char *) sodium_malloc((size_t) ciphertext_len * 2 + 1); in tv() 3162 hex = (char *) sodium_malloc((size_t) found_ciphertext_len * 2 + 1); in tv() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/ |
H A D | xchacha20.c | 139 out2 = (unsigned char *) sodium_malloc(0); in tv_stream_xchacha20() 146 out = (unsigned char *) sodium_malloc(64); in tv_stream_xchacha20() 157 out = (unsigned char *) sodium_malloc(192); in tv_stream_xchacha20() 170 hex = (char *) sodium_malloc(192 * 2 + 1); in tv_stream_xchacha20() 224 key = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 226 nonce = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 237 out = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 239 out2 = (unsigned char *) sodium_malloc in tv_secretbox_xchacha20poly1305() 325 out = (unsigned char *) sodium_malloc in tv_box_xchacha20poly1305() 348 out = (unsigned char *) sodium_malloc in tv_box_xchacha20poly1305() [all …]
|
H A D | metamorphic.c | 23 m = (unsigned char *) sodium_malloc(mlen); in mm_generichash() 27 k = (unsigned char *) sodium_malloc(klen); in mm_generichash() 31 h = (unsigned char *) sodium_malloc(hlen); in mm_generichash() 32 h2 = (unsigned char *) sodium_malloc(hlen); in mm_generichash() 69 m = (unsigned char *) sodium_malloc(mlen); in mm_onetimeauth() 70 k = (unsigned char *) sodium_malloc(crypto_onetimeauth_KEYBYTES); in mm_onetimeauth() 71 h = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES); in mm_onetimeauth() 72 h2 = (unsigned char *) sodium_malloc(crypto_onetimeauth_BYTES); in mm_onetimeauth() 109 m = (unsigned char *) sodium_malloc(mlen); in mm_hmacsha256() 111 h = (unsigned char *) sodium_malloc(crypto_auth_hmacsha256_BYTES); in mm_hmacsha256() [all …]
|
H A D | core_ristretto255.c | 51 s = (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv1() 93 s = (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv2() 94 u = (unsigned char *) sodium_malloc(crypto_core_ristretto255_HASHBYTES); in tv2() 95 hex = (char *) sodium_malloc(crypto_core_ristretto255_BYTES * 2 + 1); in tv2() 120 (unsigned char *) sodium_malloc(crypto_core_ristretto255_SCALARBYTES); in tv3() 122 (unsigned char *) sodium_malloc(crypto_core_ristretto255_SCALARBYTES); in tv3() 124 (unsigned char *) sodium_malloc(crypto_core_ristretto255_HASHBYTES); in tv3() 126 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() 128 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() 130 (unsigned char *) sodium_malloc(crypto_core_ristretto255_BYTES); in tv3() [all …]
|
H A D | box_easy2.c | 34 m = (unsigned char *) sodium_malloc(m_size); in main() 35 m2 = (unsigned char *) sodium_malloc(m2_size); in main() 36 c = (unsigned char *) sodium_malloc(c_size); in main() 37 alicepk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 38 alicesk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); in main() 39 bobpk = (unsigned char *) sodium_malloc(crypto_box_PUBLICKEYBYTES); in main() 40 bobsk = (unsigned char *) sodium_malloc(crypto_box_SECRETKEYBYTES); in main() 41 mac = (unsigned char *) sodium_malloc(crypto_box_MACBYTES); in main() 42 nonce = (unsigned char *) sodium_malloc(crypto_box_NONCEBYTES); in main() 43 k1 = (unsigned char *) sodium_malloc(crypto_box_BEFORENMBYTES); in main() [all …]
|
H A D | box_seal.c | 19 m = (unsigned char *) sodium_malloc(m_len); in tv1() 20 m2 = (unsigned char *) sodium_malloc(m_len); in tv1() 21 c = (unsigned char *) sodium_malloc(c_len); in tv1() 57 m2 = (unsigned char *) sodium_malloc(m_len); in tv2() 58 cm = (unsigned char *) sodium_malloc(cm_len); in tv2() 88 m = (unsigned char *) sodium_malloc(m_len); in tv3() 89 m2 = (unsigned char *) sodium_malloc(m_len); in tv3() 90 c = (unsigned char *) sodium_malloc(c_len); in tv3() 127 m2 = (unsigned char *) sodium_malloc(m_len); in tv4() 128 cm = (unsigned char *) sodium_malloc(cm_len); in tv4()
|
H A D | aead_aes256gcm.c | 3101 key = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_KEYBYTES); in tv() 3102 nonce = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_NPUBBYTES); in tv() 3103 mac = (unsigned char *) sodium_malloc(crypto_aead_aes256gcm_ABYTES); in tv() 3115 message = (unsigned char *) sodium_malloc(message_len); in tv() 3120 ad = (unsigned char *) sodium_malloc(ad_len); in tv() 3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv() 3135 ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv() 3136 detached_ciphertext = (unsigned char *) sodium_malloc(detached_ciphertext_len); in tv() 3148 hex = (char *) sodium_malloc((size_t) ciphertext_len * 2 + 1); in tv() 3162 hex = (char *) sodium_malloc((size_t) found_ciphertext_len * 2 + 1); in tv() [all …]
|
H A D | kx.c | 22 seed = (unsigned char *) sodium_malloc(crypto_kx_SEEDBYTES); in tv_kx() 26 client_pk = (unsigned char *) sodium_malloc(crypto_kx_PUBLICKEYBYTES); in tv_kx() 27 client_sk = (unsigned char *) sodium_malloc(crypto_kx_SECRETKEYBYTES); in tv_kx() 35 server_pk = (unsigned char *) sodium_malloc(crypto_kx_PUBLICKEYBYTES); in tv_kx() 36 server_sk = (unsigned char *) sodium_malloc(crypto_kx_SECRETKEYBYTES); in tv_kx() 39 client_rx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES); in tv_kx() 40 client_tx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES); in tv_kx() 50 server_rx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES); in tv_kx() 51 server_tx = (unsigned char *) sodium_malloc(crypto_kx_SESSIONKEYBYTES); in tv_kx()
|
/dports/security/py-pynacl/PyNaCl-1.4.0/docs/vectors/c-source/ |
H A D | sealbox_test_vectors.c | 33 char *skr = sodium_malloc (sklen); 34 char *pub = sodium_malloc (pklen); 35 char *txt = sodium_malloc (ptlen); 36 char *crpt = sodium_malloc (crlen); 37 char *outp = sodium_malloc (ptlen); 67 char *skr = sodium_malloc (sklen); 68 char *pub = sodium_malloc (pklen); 69 char *txt = sodium_malloc (txtlen); 70 char *crpt = sodium_malloc (encrlen); 77 char *hskr = sodium_malloc (sklen * 2 + 1); [all …]
|