Home
last modified time | relevance | path

Searched refs:expected_ciphertext (Results 1 – 25 of 73) sorted by relevance

123

/dports/www/firefox/firefox-99.0/third_party/libsrtp/src/crypto/test/
H A Daes_calc.c78 const char *expected_ciphertext = NULL; in main() local
101 expected_ciphertext = argv[3]; in main()
102 if (strlen(expected_ciphertext) != 16 * 2) { in main()
164 if (expected_ciphertext && strcmp(ciphertext, expected_ciphertext) != 0) { in main()
167 ciphertext, expected_ciphertext); in main()
/dports/net/libsrtp2/libsrtp-2.4.2/crypto/test/
H A Daes_calc.c78 const char *expected_ciphertext = NULL; in main() local
101 expected_ciphertext = argv[3]; in main()
102 if (strlen(expected_ciphertext) != 16 * 2) { in main()
164 if (expected_ciphertext && strcmp(ciphertext, expected_ciphertext) != 0) { in main()
167 ciphertext, expected_ciphertext); in main()
/dports/www/libdatachannel/libdatachannel-0.16.1/deps/libsrtp/crypto/test/
H A Daes_calc.c78 const char *expected_ciphertext = NULL; in main() local
101 expected_ciphertext = argv[3]; in main()
102 if (strlen(expected_ciphertext) != 16 * 2) { in main()
164 if (expected_ciphertext && strcmp(ciphertext, expected_ciphertext) != 0) { in main()
167 ciphertext, expected_ciphertext); in main()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/
H A Daead_aes256gcm.c3086 unsigned char *expected_ciphertext; in tv() local
3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv()
3128 sodium_hex2bin(expected_ciphertext, message_len, in tv()
3132 sodium_hex2bin(expected_ciphertext + message_len, crypto_aead_aes256gcm_ABYTES, in tv()
3143 if (memcmp(detached_ciphertext, expected_ciphertext, in tv()
3145 memcmp(mac, expected_ciphertext + message_len, in tv()
3160 if (memcmp(ciphertext, expected_ciphertext, ciphertext_len) != 0) { in tv()
3215 sodium_free(expected_ciphertext); in tv()
/dports/security/libsodium/libsodium-1.0.18/test/default/
H A Daead_aes256gcm.c3086 unsigned char *expected_ciphertext; in tv() local
3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv()
3128 sodium_hex2bin(expected_ciphertext, message_len, in tv()
3132 sodium_hex2bin(expected_ciphertext + message_len, crypto_aead_aes256gcm_ABYTES, in tv()
3143 if (memcmp(detached_ciphertext, expected_ciphertext, in tv()
3145 memcmp(mac, expected_ciphertext + message_len, in tv()
3160 if (memcmp(ciphertext, expected_ciphertext, ciphertext_len) != 0) { in tv()
3215 sodium_free(expected_ciphertext); in tv()
/dports/security/py-pynacl/PyNaCl-1.4.0/src/libsodium/test/default/
H A Daead_aes256gcm.c3086 unsigned char *expected_ciphertext; in tv() local
3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv()
3128 sodium_hex2bin(expected_ciphertext, message_len, in tv()
3132 sodium_hex2bin(expected_ciphertext + message_len, crypto_aead_aes256gcm_ABYTES, in tv()
3143 if (memcmp(detached_ciphertext, expected_ciphertext, in tv()
3145 memcmp(mac, expected_ciphertext + message_len, in tv()
3160 if (memcmp(ciphertext, expected_ciphertext, ciphertext_len) != 0) { in tv()
3215 sodium_free(expected_ciphertext); in tv()
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libsodium-sys-0.2.7/libsodium/test/default/
H A Daead_aes256gcm.c3086 unsigned char *expected_ciphertext; in tv() local
3126 expected_ciphertext = (unsigned char *) sodium_malloc(ciphertext_len); in tv()
3128 sodium_hex2bin(expected_ciphertext, message_len, in tv()
3132 sodium_hex2bin(expected_ciphertext + message_len, crypto_aead_aes256gcm_ABYTES, in tv()
3143 if (memcmp(detached_ciphertext, expected_ciphertext, in tv()
3145 memcmp(mac, expected_ciphertext + message_len, in tv()
3160 if (memcmp(ciphertext, expected_ciphertext, ciphertext_len) != 0) { in tv()
3215 sodium_free(expected_ciphertext); in tv()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/gtests/pk11_gtest/
H A Dpk11_aeskeywrap_unittest.cc23 unsigned char* expected_ciphertext, in WrapUnwrap() argument
64 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
71 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
83 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
H A Dpk11_aeskeywrapkwp_unittest.cc25 unsigned char* expected_ciphertext, in WrapUnwrap() argument
65 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
72 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
84 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
/dports/security/ca_root_nss/nss-3.71/nss/gtests/pk11_gtest/
H A Dpk11_aeskeywrapkwp_unittest.cc25 unsigned char* expected_ciphertext, in WrapUnwrap() argument
65 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
72 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
84 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
H A Dpk11_aeskeywrap_unittest.cc23 unsigned char* expected_ciphertext, in WrapUnwrap() argument
64 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
71 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
83 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
/dports/www/firefox/firefox-99.0/security/nss/gtests/pk11_gtest/
H A Dpk11_aeskeywrap_unittest.cc23 unsigned char* expected_ciphertext, in WrapUnwrap() argument
64 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
71 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
83 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
H A Dpk11_aeskeywrapkwp_unittest.cc25 unsigned char* expected_ciphertext, in WrapUnwrap() argument
65 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
72 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
84 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
/dports/security/nss/nss-3.76.1/nss/gtests/pk11_gtest/
H A Dpk11_aeskeywrap_unittest.cc23 unsigned char* expected_ciphertext, in WrapUnwrap() argument
64 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
71 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
83 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
H A Dpk11_aeskeywrapkwp_unittest.cc25 unsigned char* expected_ciphertext, in WrapUnwrap() argument
65 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
72 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
84 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/gtests/pk11_gtest/
H A Dpk11_aeskeywrapkwp_unittest.cc25 unsigned char* expected_ciphertext, in WrapUnwrap() argument
65 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
72 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
84 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
H A Dpk11_aeskeywrap_unittest.cc23 unsigned char* expected_ciphertext, in WrapUnwrap() argument
64 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
71 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
83 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/gtests/pk11_gtest/
H A Dpk11_aeskeywrapkwp_unittest.cc25 unsigned char* expected_ciphertext, in WrapUnwrap() argument
65 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
72 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
84 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
H A Dpk11_aeskeywrap_unittest.cc23 unsigned char* expected_ciphertext, in WrapUnwrap() argument
64 EXPECT_TRUE(!memcmp(expected_ciphertext, wrapped_key.data(), in WrapUnwrap()
71 !memcmp(wrapped_key.data(), expected_ciphertext, in WrapUnwrap()
83 unwrapped_key.size(), expected_ciphertext, in WrapUnwrap()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/rc_crypto/src/aead/
H A Daes_gcm.rs127 let mut expected_ciphertext = hex::decode(&CIPHERTEXT_HEX).unwrap(); in test_encrypt() localVariable
128 expected_ciphertext.extend(&expected_tag); in test_encrypt()
129 assert_eq!(&expected_ciphertext, &ciphertext_bytes); in test_encrypt()
/dports/www/firefox/firefox-99.0/third_party/rust/neqo-crypto/tests/
H A Daead.rs53 let expected_ciphertext: &[u8] = &[ in aead_encrypt_decrypt() localVariable
63 assert_eq!(ciphertext, expected_ciphertext); in aead_encrypt_decrypt()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/neqo-crypto/tests/
H A Daead.rs53 let expected_ciphertext: &[u8] = &[ in aead_encrypt_decrypt() localVariable
63 assert_eq!(ciphertext, expected_ciphertext); in aead_encrypt_decrypt()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/neqo-crypto/tests/
H A Daead.rs53 let expected_ciphertext: &[u8] = &[ in aead_encrypt_decrypt() localVariable
63 assert_eq!(ciphertext, expected_ciphertext); in aead_encrypt_decrypt()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/neqo-crypto/tests/
H A Daead.rs53 let expected_ciphertext: &[u8] = &[ in aead_encrypt_decrypt() localVariable
63 assert_eq!(ciphertext, expected_ciphertext); in aead_encrypt_decrypt()
/dports/devel/libvirt/libvirt-7.10.0/tests/
H A Dvircryptotest.c110 uint8_t expected_ciphertext[16] = {0x48, 0x8e, 0x9, 0xb9, in mymain() local
154 secretdata, 7, expected_ciphertext, 16); in mymain()

123