/dports/security/p5-CryptX/CryptX-0.075/t/ |
H A D | cipher_multi2_rounds.t | 12 { ciphertext => "313233340404040c", rounds => 1 }, 13 { ciphertext => "202320410404040c", rounds => 2 }, 14 { ciphertext => "2023204154597453", rounds => 3 }, 15 { ciphertext => "d79fe59754597453", rounds => 4 }, 16 { ciphertext => "d79fe59783c691c4", rounds => 5 }, 17 { ciphertext => "3fcd632383c691c4", rounds => 6 }, 18 { ciphertext => "3fcd63231e3e35d5", rounds => 7 }, 19 { ciphertext => "913362211e3e35d5", rounds => 8 }, 20 { ciphertext => "913362218f0d57f4", rounds => 9 }, 21 { ciphertext => "118eb1ed8f0d57f4", rounds => 10 }, [all …]
|
/dports/security/john/john-1.9.0-jumbo-1/src/ |
H A D | luks_insane_tests.h | 3606 strcpy(luks_tests[0].ciphertext, in LUKS_test_fixup() 3653 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() 3700 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() 3747 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() 3794 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() 3841 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() 3888 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() 3935 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() 3982 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() 4029 strcat(luks_tests[0].ciphertext, in LUKS_test_fixup() [all …]
|
H A D | rawSHA1_common_plug.c | 61 char *ciphertext = split_fields[1]; in rawsha1_common_prepare() local 64 return ciphertext; in rawsha1_common_prepare() 66 ciphertext += TAG_LENGTH_OLD; in rawsha1_common_prepare() 70 return ciphertext; in rawsha1_common_prepare() 85 ciphertext += TAG_LENGTH_OLD; in rawsha1_common_valid() 93 ciphertext += TAG_LENGTH; in rawsha1_common_valid() 106 sprintf(out, "%s00000000", ciphertext); in rawsha1_axcrypt_valid() 118 fields[1] = ciphertext; in rawsha1_common_split() 123 ciphertext += TAG_LENGTH; in rawsha1_common_split() 138 sprintf(out, "%s00000000", ciphertext); in rawsha1_axcrypt_split() [all …]
|
H A D | mediawiki_fmt_plug.c | 102 return ciphertext; in Convert() 105 return ciphertext; in Convert() 106 cp = strchr(&ciphertext[3], '$'); in Convert() 110 ciphertext += 3; in Convert() 112 while (*ciphertext && i < sizeof(Conv_Buf) - 3 && *ciphertext != '$') in Convert() 113 Buf[i++] = *ciphertext++; in Convert() 125 if (!strncmp(ciphertext, "$dynamic_9$", 11) && ciphertext[strlen(ciphertext)-1] == '-') { in our_split() 128 cp = strrchr(ciphertext, '$'); in our_split() 150 return ciphertext; in our_split() 158 if (!ciphertext) in mediawiki_valid() [all …]
|
H A D | rawSHA512_common_plug.c | 127 p = ciphertext; in sha512_common_valid() 142 pos = ciphertext; in sha512_common_valid_xsha512() 164 if (len != strlen(ciphertext)) in sha512_common_valid_nsldap() 181 p = ciphertext + TAG_LENGTH; in sha512_common_binary() 203 p = ciphertext + TAG_LENGTH; in sha512_common_binary_BE() 225 p = ciphertext + TAG_LENGTH; in sha512_common_binary_rev() 252 p = ciphertext + 8; in sha512_common_binary_xsha512() 277 p = ciphertext + 8; in sha512_common_binary_xsha512_BE() 300 p = ciphertext + 8; in sha512_common_binary_xsha512_rev() 351 ciphertext += TAG_LENGTH; in sha512_common_split() [all …]
|
H A D | opencl_DES_fmt_plug.c | 115 if (!ciphertext[0] || !ciphertext[1]) return 0; in valid() 122 switch (pos - ciphertext) { in valid() 140 memcpy(out, &ciphertext[2], 2); in split() 141 memcpy(&out[2], &ciphertext[13], 11); in split() 143 memcpy(out, ciphertext, 13); in split() 206 if (ciphertext[13]) return DES_atoi64[ARCH_INDEX(ciphertext[1])] | in raw_get_count() 216 raw_get_binary(ciphertext), in get_binary() 217 raw_get_count(ciphertext)); in get_binary() 222 if (ciphertext[13]) return DES_atoi64[ARCH_INDEX(ciphertext[5])] | in raw_get_salt() 230 static void *get_salt(char *ciphertext) in get_salt() argument [all …]
|
/dports/databases/pecl-mongodb/mongodb-1.9.1/src/libmongocrypt/src/ |
H A D | mongocrypt-ciphertext.c | 23 memset (ciphertext, 0, sizeof (*ciphertext)); in _mongocrypt_ciphertext_init() 52 if (!ciphertext) { in _mongocrypt_ciphertext_parse_unowned() 84 if (ciphertext->blob_subtype != 1 && ciphertext->blob_subtype != 2) { in _mongocrypt_ciphertext_parse_unowned() 91 ciphertext->key_id.len = 16; in _mongocrypt_ciphertext_parse_unowned() 98 memset (&ciphertext->data, 0, sizeof (ciphertext->data)); in _mongocrypt_ciphertext_parse_unowned() 120 if (!ciphertext || !out) { in _mongocrypt_serialize_ciphertext() 130 out->len = 1 + ciphertext->key_id.len + 1 + ciphertext->data.len; in _mongocrypt_serialize_ciphertext() 139 memcpy (out->data + offset, ciphertext->key_id.data, ciphertext->key_id.len); in _mongocrypt_serialize_ciphertext() 145 memcpy (out->data + offset, ciphertext->data.data, ciphertext->data.len); in _mongocrypt_serialize_ciphertext() 176 if (ciphertext->blob_subtype != in _mongocrypt_ciphertext_serialize_associated_data() [all …]
|
/dports/sysutils/restic/restic-0.12.1/internal/crypto/ |
H A D | crypto_test.go | 56 ciphertext = k.Seal(ciphertext[:0], nonce, data, nil) 81 ciphertext = k.Seal(ciphertext, nonce, data, nil) 84 ciphertext, err = k.Open(ciphertext[:0], nonce, ciphertext, nil) 92 ciphertext = k.Seal(ciphertext, nonce, data, nil) 196 ciphertext = encrypt(t, k, data, ciphertext, nonce) 205 ciphertext = encrypt(t, k, data, ciphertext, nonce) 214 ciphertext = encrypt(t, k, data, ciphertext, nonce) 222 ciphertext = append(ciphertext, []byte("foobar")...) 224 ciphertext = encrypt(t, k, data, ciphertext, nonce) 237 ciphertext = encrypt(t, k, data, ciphertext, nonce) [all …]
|
/dports/security/p5-Crypt-Anubis/Crypt-Anubis-1.0.4/t/ |
H A D | decrypt.t | 13 my $ciphertext; 20 $plaintext = $cipher->decrypt($ciphertext); 28 $plaintext = $cipher->decrypt($ciphertext); 36 $plaintext = $cipher->decrypt($ciphertext); 44 $plaintext = $cipher->decrypt($ciphertext); 52 $plaintext = $cipher->decrypt($ciphertext); 60 $plaintext = $cipher->decrypt($ciphertext); 68 $plaintext = $cipher->decrypt($ciphertext); 76 $plaintext = $cipher->decrypt($ciphertext); 84 $plaintext = $cipher->decrypt($ciphertext); [all …]
|
H A D | encrypt.t | 13 my $ciphertext; 21 $answer = unpack "H*", $ciphertext; 29 $answer = unpack "H*", $ciphertext; 37 $answer = unpack "H*", $ciphertext; 45 $answer = unpack "H*", $ciphertext; 53 $answer = unpack "H*", $ciphertext; 61 $answer = unpack "H*", $ciphertext; 69 $answer = unpack "H*", $ciphertext; 77 $answer = unpack "H*", $ciphertext; 85 $answer = unpack "H*", $ciphertext; [all …]
|
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/aes-gcm-0.9.2/tests/ |
H A D | aes128gcm.rs | 24 ciphertext: &hex!(""), 32 ciphertext: &hex!(""), 40 ciphertext: &hex!(""), 48 ciphertext: &hex!(""), 56 ciphertext: &hex!(""), 64 ciphertext: &hex!(""), 72 ciphertext: &hex!(""), 80 ciphertext: &hex!(""), 88 ciphertext: &hex!(""), 96 ciphertext: &hex!(""), [all …]
|
H A D | aes256gcm.rs | 24 ciphertext: b"", 32 ciphertext: b"", 40 ciphertext: b"", 48 ciphertext: b"", 56 ciphertext: b"", 64 ciphertext: b"", 72 ciphertext: b"", 80 ciphertext: b"", 88 ciphertext: b"", 96 ciphertext: b"", [all …]
|
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/aes-gcm-0.8.0/tests/ |
H A D | aes128gcm.rs | 24 ciphertext: &hex!(""), 32 ciphertext: &hex!(""), 40 ciphertext: &hex!(""), 48 ciphertext: &hex!(""), 56 ciphertext: &hex!(""), 64 ciphertext: &hex!(""), 72 ciphertext: &hex!(""), 80 ciphertext: &hex!(""), 88 ciphertext: &hex!(""), 96 ciphertext: &hex!(""), [all …]
|
H A D | aes256gcm.rs | 24 ciphertext: b"", 32 ciphertext: b"", 40 ciphertext: b"", 48 ciphertext: b"", 56 ciphertext: b"", 64 ciphertext: b"", 72 ciphertext: b"", 80 ciphertext: b"", 88 ciphertext: b"", 96 ciphertext: b"", [all …]
|
/dports/finance/prestashop/prestashop/vendor/defuse/php-encryption/src/ |
H A D | Crypto.php | 65 $ciphertext, 87 $ciphertext, 118 $ciphertext = Core::ourSubstr($ciphertext, Core::LEGACY_MAC_BYTE_SIZE); 152 $ciphertext = Core::ourSubstr($ciphertext, Core::LEGACY_BLOCK_BYTE_SIZE); 188 $ciphertext = $ciphertext . $auth; 214 $ciphertext = Encoding::hexToBin($ciphertext); 238 $ciphertext, 248 $ciphertext, 258 $ciphertext, 268 $ciphertext, [all …]
|
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/aes-gcm-siv-0.10.1/tests/ |
H A D | aes256gcmsiv.rs | 18 ciphertext: b"\x07\xf5\xf4\x16\x9b\xbf\x55\xa8\x40\x0c\xd4\x7e\xa6\xfd\x40\x0f" 25 …ciphertext: b"\xc2\xef\x32\x8e\x5c\x71\xc8\x3b\x84\x31\x22\x13\x0f\x73\x64\xb7\x61\xe0\xb9\x74\x27… 32 …ciphertext: b"\x9a\xab\x2a\xeb\x3f\xaa\x0a\x34\xae\xa8\xe2\xb1\x8c\xa5\x0d\xa9\xae\x65\x59\xe4\x8f… 67 …ciphertext: b"\x1d\xe2\x29\x67\x23\x7a\x81\x32\x91\x21\x3f\x26\x7e\x3b\x45\x2f\x02\xd0\x1a\xe3\x3e… 74 …ciphertext: b"\x16\x3d\x6f\x9c\xc1\xb3\x46\xcd\x45\x3a\x2e\x4c\xc1\xa4\xa1\x9a\xe8\x00\x94\x1c\xcd… 109 … ciphertext: b"\x22\xb3\xf4\xcd\x18\x35\xe5\x17\x74\x1d\xfd\xdc\xcf\xa0\x7f\xa4\x66\x1b\x74\xcf" 130 ciphertext: b"\x16\x9f\xbb\x2f\xbf\x38\x9a\x99\x5f\x63\x90\xaf\x22\x22\x8a\x62" 137 ciphertext: b"\x0e\xac\xcb\x93\xda\x9b\xb8\x13\x33\xae\xe0\xc7\x85\xb2\x40\xd3\x19\x71\x9d" 144 …ciphertext: b"\xa2\x54\xda\xd4\xf3\xf9\x6b\x62\xb8\x4d\xc4\x0c\x84\x63\x6a\x5e\xc1\x20\x20\xec\x8c… 151 …ciphertext: b"\x0d\xf9\xe3\x08\x67\x82\x44\xc4\x4b\xc0\xfd\x3d\xc6\x62\x8d\xfe\x55\xeb\xb0\xb9\xfb… [all …]
|
H A D | aes128gcmsiv.rs | 18 ciphertext: b"\xdc\x20\xe2\xd8\x3f\x25\x70\x5b\xb4\x9e\x43\x9e\xca\x56\xde\x25" 25 …ciphertext: b"\xb5\xd8\x39\x33\x0a\xc7\xb7\x86\x57\x87\x82\xff\xf6\x01\x3b\x81\x5b\x28\x7c\x22\x49… 32 …ciphertext: b"\x73\x23\xea\x61\xd0\x59\x32\x26\x00\x47\xd9\x42\xa4\x97\x8d\xb3\x57\x39\x1a\x0b\xc4… 67 …ciphertext: b"\x1e\x6d\xab\xa3\x56\x69\xf4\x27\x3b\x0a\x1a\x25\x60\x96\x9c\xdf\x79\x0d\x99\x75\x9a… 74 …ciphertext: b"\x29\x6c\x78\x89\xfd\x99\xf4\x19\x17\xf4\x46\x20\x08\x29\x9c\x51\x02\x74\x5a\xaa\x3a… 109 … ciphertext: b"\xa8\xfe\x3e\x87\x07\xeb\x1f\x84\xfb\x28\xf8\xcb\x73\xde\x8e\x99\xe2\xf4\x8a\x14" 130 ciphertext: b"\xa4\x19\x4b\x79\x07\x1b\x01\xa8\x7d\x65\xf7\x06\xe3\x94\x95\x78" 137 ciphertext: b"\xaf\x60\xeb\x71\x1b\xd8\x5b\xc1\xe4\xd3\xe0\xa4\x62\xe0\x74\xee\xa4\x28\xa8" 144 …ciphertext: b"\xbb\x93\xa3\xe3\x4d\x3c\xd6\xa9\xc4\x55\x45\xcf\xc1\x1f\x03\xad\x74\x3d\xba\x20\xf9… 151 …ciphertext: b"\x4f\x37\x28\x1f\x7a\xd1\x29\x49\xd0\x1d\x02\xfd\x0c\xd1\x74\xc8\x4f\xc5\xda\xe2\xf6… [all …]
|
/dports/net-im/zkgroup/zkgroup-0.7.4/cargo-crates/aes-gcm-siv-0.10.0/tests/ |
H A D | aes128gcmsiv.rs | 18 ciphertext: b"\xdc\x20\xe2\xd8\x3f\x25\x70\x5b\xb4\x9e\x43\x9e\xca\x56\xde\x25" 25 …ciphertext: b"\xb5\xd8\x39\x33\x0a\xc7\xb7\x86\x57\x87\x82\xff\xf6\x01\x3b\x81\x5b\x28\x7c\x22\x49… 32 …ciphertext: b"\x73\x23\xea\x61\xd0\x59\x32\x26\x00\x47\xd9\x42\xa4\x97\x8d\xb3\x57\x39\x1a\x0b\xc4… 67 …ciphertext: b"\x1e\x6d\xab\xa3\x56\x69\xf4\x27\x3b\x0a\x1a\x25\x60\x96\x9c\xdf\x79\x0d\x99\x75\x9a… 74 …ciphertext: b"\x29\x6c\x78\x89\xfd\x99\xf4\x19\x17\xf4\x46\x20\x08\x29\x9c\x51\x02\x74\x5a\xaa\x3a… 109 … ciphertext: b"\xa8\xfe\x3e\x87\x07\xeb\x1f\x84\xfb\x28\xf8\xcb\x73\xde\x8e\x99\xe2\xf4\x8a\x14" 130 ciphertext: b"\xa4\x19\x4b\x79\x07\x1b\x01\xa8\x7d\x65\xf7\x06\xe3\x94\x95\x78" 137 ciphertext: b"\xaf\x60\xeb\x71\x1b\xd8\x5b\xc1\xe4\xd3\xe0\xa4\x62\xe0\x74\xee\xa4\x28\xa8" 144 …ciphertext: b"\xbb\x93\xa3\xe3\x4d\x3c\xd6\xa9\xc4\x55\x45\xcf\xc1\x1f\x03\xad\x74\x3d\xba\x20\xf9… 151 …ciphertext: b"\x4f\x37\x28\x1f\x7a\xd1\x29\x49\xd0\x1d\x02\xfd\x0c\xd1\x74\xc8\x4f\xc5\xda\xe2\xf6… [all …]
|
H A D | aes256gcmsiv.rs | 18 ciphertext: b"\x07\xf5\xf4\x16\x9b\xbf\x55\xa8\x40\x0c\xd4\x7e\xa6\xfd\x40\x0f" 25 …ciphertext: b"\xc2\xef\x32\x8e\x5c\x71\xc8\x3b\x84\x31\x22\x13\x0f\x73\x64\xb7\x61\xe0\xb9\x74\x27… 32 …ciphertext: b"\x9a\xab\x2a\xeb\x3f\xaa\x0a\x34\xae\xa8\xe2\xb1\x8c\xa5\x0d\xa9\xae\x65\x59\xe4\x8f… 67 …ciphertext: b"\x1d\xe2\x29\x67\x23\x7a\x81\x32\x91\x21\x3f\x26\x7e\x3b\x45\x2f\x02\xd0\x1a\xe3\x3e… 74 …ciphertext: b"\x16\x3d\x6f\x9c\xc1\xb3\x46\xcd\x45\x3a\x2e\x4c\xc1\xa4\xa1\x9a\xe8\x00\x94\x1c\xcd… 109 … ciphertext: b"\x22\xb3\xf4\xcd\x18\x35\xe5\x17\x74\x1d\xfd\xdc\xcf\xa0\x7f\xa4\x66\x1b\x74\xcf" 130 ciphertext: b"\x16\x9f\xbb\x2f\xbf\x38\x9a\x99\x5f\x63\x90\xaf\x22\x22\x8a\x62" 137 ciphertext: b"\x0e\xac\xcb\x93\xda\x9b\xb8\x13\x33\xae\xe0\xc7\x85\xb2\x40\xd3\x19\x71\x9d" 144 …ciphertext: b"\xa2\x54\xda\xd4\xf3\xf9\x6b\x62\xb8\x4d\xc4\x0c\x84\x63\x6a\x5e\xc1\x20\x20\xec\x8c… 151 …ciphertext: b"\x0d\xf9\xe3\x08\x67\x82\x44\xc4\x4b\xc0\xfd\x3d\xc6\x62\x8d\xfe\x55\xeb\xb0\xb9\xfb… [all …]
|
/dports/security/opencryptoki/opencryptoki-3.11.0/testcases/crypto/ |
H A D | des3.h | 32 unsigned char ciphertext[MAX_TEXT_SIZE]; member 72 .ciphertext = {0x42, 0x6a, 0x0a, 0xc2, 0x65, 0x86, 0xbf, 0x6c}, 84 .ciphertext = {0xb7, 0x84, 0xaf, 0xf1, 0x1d, 0x71, 0x5d, 0x60, 0x18, 283 .ciphertext = {0x09, 0x23, 0x68, 0x40, 0x52, 0x96, 0x74, 0x4a}, 494 .ciphertext = {0x22}, 505 .ciphertext = {0x7c, 0x92}, 516 .ciphertext = {0x35, 0x8d, 0x66}, 527 .ciphertext = {0x44, 0xde, 0xee, 0xe3}, 538 .ciphertext = {0x6a, 0x6d, 0xa4, 0x8c, 0x70}, 549 .ciphertext = {0x16, 0x88, 0x1e, 0x43, 0xfc, 0x0c}, [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/os_crypt/ |
H A D | os_crypt_unittest.cc | 48 std::string ciphertext; in TEST_F() local 94 std::string ciphertext; in TEST_F() local 117 std::string ciphertext; in TEST_F() local 123 EXPECT_TRUE(ciphertext.empty() || plaintext != ciphertext); in TEST_F() 130 EXPECT_NE(plaintext, ciphertext); in TEST_F() 137 EXPECT_NE(plaintext, ciphertext); in TEST_F() 144 std::string ciphertext; in TEST_F() local 149 EXPECT_NE(plaintext, ciphertext); in TEST_F() 151 ciphertext[3] = ciphertext[3] + 1; in TEST_F() 223 std::string ciphertext; in TEST_F() local [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/os_crypt/ |
H A D | os_crypt_unittest.cc | 48 std::string ciphertext; in TEST_F() local 94 std::string ciphertext; in TEST_F() local 117 std::string ciphertext; in TEST_F() local 123 EXPECT_TRUE(ciphertext.empty() || plaintext != ciphertext); in TEST_F() 130 EXPECT_NE(plaintext, ciphertext); in TEST_F() 137 EXPECT_NE(plaintext, ciphertext); in TEST_F() 144 std::string ciphertext; in TEST_F() local 149 EXPECT_NE(plaintext, ciphertext); in TEST_F() 151 ciphertext[3] = ciphertext[3] + 1; in TEST_F() 223 std::string ciphertext; in TEST_F() local [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libgo/go/crypto/cipher/ |
H A D | example_test.go | 44 fmt.Printf("%x\n", ciphertext) 94 iv := ciphertext[:aes.BlockSize] 95 ciphertext = ciphertext[aes.BlockSize:] 105 mode.CryptBlocks(ciphertext, ciphertext) 115 fmt.Printf("%s\n", ciphertext) 143 iv := ciphertext[:aes.BlockSize] 155 fmt.Printf("%x\n", ciphertext) 177 ciphertext = ciphertext[aes.BlockSize:] 182 stream.XORKeyStream(ciphertext, ciphertext) 183 fmt.Printf("%s", ciphertext) [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libgo/go/crypto/cipher/ |
H A D | example_test.go | 44 fmt.Printf("%x\n", ciphertext) 94 iv := ciphertext[:aes.BlockSize] 95 ciphertext = ciphertext[aes.BlockSize:] 105 mode.CryptBlocks(ciphertext, ciphertext) 115 fmt.Printf("%s\n", ciphertext) 143 iv := ciphertext[:aes.BlockSize] 155 fmt.Printf("%x\n", ciphertext) 177 ciphertext = ciphertext[aes.BlockSize:] 182 stream.XORKeyStream(ciphertext, ciphertext) 183 fmt.Printf("%s", ciphertext) [all …]
|
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/crypto/cipher/ |
H A D | example_test.go | 44 fmt.Printf("%x\n", ciphertext) 94 iv := ciphertext[:aes.BlockSize] 95 ciphertext = ciphertext[aes.BlockSize:] 105 mode.CryptBlocks(ciphertext, ciphertext) 115 fmt.Printf("%s\n", ciphertext) 143 iv := ciphertext[:aes.BlockSize] 155 fmt.Printf("%x\n", ciphertext) 177 ciphertext = ciphertext[aes.BlockSize:] 182 stream.XORKeyStream(ciphertext, ciphertext) 183 fmt.Printf("%s", ciphertext) [all …]
|