Home
last modified time | relevance | path

Searched refs:encrypted2 (Results 1 – 25 of 108) sorted by relevance

12345

/dports/security/seal/SEAL-3.7.2/dotnet/tests/
H A DEvaluatorTests.cs88 Ciphertext encrypted2 = new Ciphertext(); in AddTest()
96 encryptor.Encrypt(plain2, encrypted2); in AddTest()
113 encryptor.Encrypt(plain2, encrypted2); in AddTest()
114 evaluator.AddInplace(encrypted1, encrypted2); in AddTest()
223 Ciphertext encrypted2 = new Ciphertext(); in SubTest()
230 encryptor.Encrypt(plain2, encrypted2); in SubTest()
243 encryptor.Encrypt(plain2, encrypted2); in SubTest()
244 evaluator.SubInplace(encrypted1, encrypted2); in SubTest()
318 Ciphertext encrypted2 = new Ciphertext(); in MultiplyTest()
1060 decryptor.Decrypt(encrypted2, plain2); in RelinearizeTest()
[all …]
/dports/security/seal/SEAL-3.7.2/native/tests/seal/
H A Devaluator.cpp106 Ciphertext encrypted2; in TEST() local
241 Ciphertext encrypted2; in TEST() local
301 Ciphertext encrypted2; in TEST() local
741 Ciphertext encrypted2; in TEST() local
815 Ciphertext encrypted2; in TEST() local
1198 Ciphertext encrypted2; in TEST() local
1282 Ciphertext encrypted2; in TEST() local
1367 Ciphertext encrypted2; in TEST() local
1601 Ciphertext encrypted2; in TEST() local
1659 Ciphertext encrypted2; in TEST() local
[all …]
/dports/security/seal/SEAL-3.7.2/native/src/seal/
H A Devaluator.h118 void add_inplace(Ciphertext &encrypted1, const Ciphertext &encrypted2) const;
134 if (&encrypted2 == &destination) in add()
141 add_inplace(destination, encrypted2); in add()
171 void sub_inplace(Ciphertext &encrypted1, const Ciphertext &encrypted2) const;
187 if (&encrypted2 == &destination) in sub()
195 sub_inplace(destination, encrypted2); in sub()
215 Ciphertext &encrypted1, const Ciphertext &encrypted2,
235 const Ciphertext &encrypted1, const Ciphertext &encrypted2, Ciphertext &destination,
238 if (&encrypted2 == &destination)
245 multiply_inplace(destination, encrypted2, std::move(pool));
[all …]
H A Devaluator.cpp91 if (!is_metadata_valid_for(encrypted2, context_) || !is_buffer_valid(encrypted2)) in add_inplace()
103 if (!are_same_scale(encrypted1, encrypted2)) in add_inplace()
115 size_t encrypted2_size = encrypted2.size(); in add_inplace()
175 if (!is_metadata_valid_for(encrypted2, context_) || !is_buffer_valid(encrypted2)) in sub_inplace()
187 if (!are_same_scale(encrypted1, encrypted2)) in sub_inplace()
198 size_t encrypted2_size = encrypted2.size(); in sub_inplace()
236 if (!is_metadata_valid_for(encrypted2, context_) || !is_buffer_valid(encrypted2)) in multiply_inplace()
249 bfv_multiply(encrypted1, encrypted2, pool); in multiply_inplace()
253 ckks_multiply(encrypted1, encrypted2, pool); in multiply_inplace()
281 size_t encrypted2_size = encrypted2.size(); in bfv_multiply()
[all …]
/dports/security/seal/SEAL-3.7.2/dotnet/src/
H A DEvaluator.cs137 public void AddInplace(Ciphertext encrypted1, Ciphertext encrypted2) in AddInplace() argument
139 Add(encrypted1, encrypted2, destination: encrypted1); in AddInplace()
161 if (null == encrypted2) in Add()
162 throw new ArgumentNullException(nameof(encrypted2)); in Add()
205 public void SubInplace(Ciphertext encrypted1, Ciphertext encrypted2) in SubInplace() argument
207 Sub(encrypted1, encrypted2, destination: encrypted1); in SubInplace()
229 if (null == encrypted2) in Sub()
230 throw new ArgumentNullException(nameof(encrypted2)); in Sub()
282 public void Multiply(Ciphertext encrypted1, Ciphertext encrypted2, in Multiply() argument
287 if (null == encrypted2) in Multiply()
[all …]
/dports/security/seal/SEAL-3.7.2/dotnet/examples/
H A D7_Performance.cs195 encryptor.Encrypt(plain2, encrypted2); in BFVPerformanceTest()
199 evaluator.AddInplace(encrypted2, encrypted2); in BFVPerformanceTest()
200 evaluator.AddInplace(encrypted1, encrypted2); in BFVPerformanceTest()
211 evaluator.MultiplyInplace(encrypted1, encrypted2); in BFVPerformanceTest()
221 evaluator.MultiplyPlainInplace(encrypted2, plain); in BFVPerformanceTest()
230 evaluator.SquareInplace(encrypted2); in BFVPerformanceTest()
517 encryptor.Encrypt(plain2, encrypted2); in CKKSPerformanceTest()
519 evaluator.AddInplace(encrypted1, encrypted2); in CKKSPerformanceTest()
520 evaluator.AddInplace(encrypted2, encrypted2); in CKKSPerformanceTest()
521 evaluator.AddInplace(encrypted1, encrypted2); in CKKSPerformanceTest()
[all …]
/dports/security/hashcat/hashcat-6.2.5/tools/test_modules/
H A Dm09500.pm79 my $encrypted2 = unpack ("H*", $cipher2->encrypt ($data2_buf));
81 $encrypted2 = substr ($encrypted2, 0, 64);
83 …sprintf ("\$office\$*%d*%d*%d*%d*%s*%s*%s", 2010, $iter, 128, 16, $salt, $encrypted1, $encrypted2);
H A Dm09600.pm79 my $encrypted2 = unpack ("H*", $cipher2->encrypt ($data2_buf));
81 $encrypted2 = substr ($encrypted2, 0, 64);
83 …sprintf ("\$office\$*%d*%d*%d*%d*%s*%s*%s", 2013, $iter, 256, 16, $salt, $encrypted1, $encrypted2);
H A Dm09400.pm76 my $encrypted2 = unpack ("H*", $m->encrypt ($data2_buf, $key));
79 $encrypted2 = substr ($encrypted2, 0, 40);
81 … ("\$office\$*%d*%d*%d*%d*%s*%s*%s", 2007, 20, $aes_key_size, 16, $salt, $encrypted1, $encrypted2);
/dports/security/softhsm2/softhsm-2.6.1/src/lib/data_mgr/test/
H A DSecureDataMgrTests.cpp133 ByteString encrypted2; in testSecureDataManager() local
135 CPPUNIT_ASSERT(s2.encrypt(plaintext, encrypted2)); in testSecureDataManager()
136 CPPUNIT_ASSERT(encrypted != encrypted2); in testSecureDataManager()
178 CPPUNIT_ASSERT(s2.encrypt(plaintext, encrypted2)); in testSecureDataManager()
179 CPPUNIT_ASSERT(encrypted != encrypted2); in testSecureDataManager()
/dports/devel/upp/upp/bazaar/ProtectTest/
H A DProtectTest.cpp61 void encrypted2(int x) in encrypted2() function
90 encrypted2(5);
91 encrypted2(10);
/dports/security/seal/SEAL-3.7.2/native/examples/
H A D7_performance.cpp170 Ciphertext encrypted2(context); in bfv_performance_test() local
172 encryptor.encrypt(plain2, encrypted2); in bfv_performance_test()
175 evaluator.add_inplace(encrypted2, encrypted2); in bfv_performance_test()
176 evaluator.add_inplace(encrypted1, encrypted2); in bfv_performance_test()
188 evaluator.multiply_inplace(encrypted1, encrypted2); in bfv_performance_test()
209 evaluator.square_inplace(encrypted2); in bfv_performance_test()
481 Ciphertext encrypted2(context); in ckks_performance_test() local
483 encryptor.encrypt(plain2, encrypted2); in ckks_performance_test()
486 evaluator.add_inplace(encrypted2, encrypted2); in ckks_performance_test()
487 evaluator.add_inplace(encrypted1, encrypted2); in ckks_performance_test()
[all …]
/dports/java/bouncycastle15/crypto-169/prov/src/test/java/org/bouncycastle/jce/provider/test/
H A DDoFinalTest.java78 byte[] encrypted2 = cipher.doFinal(lCode.getBytes()); in checkCipher()
80 if (encrypted.length != encrypted2.length) in checkCipher()
82 …": Failed " + cipherName + " - expected length " + encrypted.length + " got " + encrypted2.length); in checkCipher()
85 if (!equalArray(encrypted, 0, encrypted2, encrypted.length)) in checkCipher()
/dports/security/zeronet/ZeroNet-0.7.1/plugins/CryptMessage/Test/
H A DTestCrypt.py107 key2, iv2, encrypted2 = ui_websocket.ws.getResult()
109 assert [key, iv, encrypted] != [key2, iv2, encrypted2]
112 …ket.actionAesDecrypt(0, [[iv, encrypted], [iv, encrypted], [iv, "baad"], [iv2, encrypted2]], [key])
116 …tionAesDecrypt(0, [[iv, encrypted], [iv, encrypted], [iv, "baad"], [iv2, encrypted2]], [key, key2])
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/sun/security/mscapi/
H A DPublicKeyInterop.java65 byte[] encrypted2 = rsa2.doFinal(plain); in main()
68 System.out.println(hde.encode(encrypted2) + "\n"); in main()
81 decrypted = rsa3.doFinal(encrypted2); in main()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/sun/security/mscapi/
H A DPublicKeyInterop.java65 byte[] encrypted2 = rsa2.doFinal(plain); in main()
68 System.out.println(hde.encode(encrypted2) + "\n"); in main()
81 decrypted = rsa3.doFinal(encrypted2); in main()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/sun/security/mscapi/
H A DPublicKeyInterop.java99 byte[] encrypted2 = rsa2.doFinal(plain); in run()
102 System.out.println(hde.encode(encrypted2) + "\n"); in run()
115 decrypted = rsa3.doFinal(encrypted2); in run()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/sun/security/mscapi/
H A DPublicKeyInterop.java90 byte[] encrypted2 = rsa2.doFinal(plain); in run()
93 System.out.println(hde.encode(encrypted2) + "\n"); in run()
106 decrypted = rsa3.doFinal(encrypted2); in run()
/dports/security/seal/SEAL-3.7.2/native/src/seal/c/
H A Devaluator.h22 SEAL_C_FUNC Evaluator_Add(void *thisptr, void *encrypted1, void *encrypted2, void *destination);
28 SEAL_C_FUNC Evaluator_Sub(void *thisptr, void *encrypted1, void *encrypted2, void *destination);
32 SEAL_C_FUNC Evaluator_Multiply(void *thisptr, void *encrypted1, void *encrypted2, void *destination…
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/sun/security/mscapi/
H A DPublicKeyInterop.java90 byte[] encrypted2 = rsa2.doFinal(plain); in run()
93 System.out.println(hde.encode(encrypted2) + "\n"); in run()
106 decrypted = rsa3.doFinal(encrypted2); in run()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/sun/security/mscapi/
H A DPublicKeyInterop.java99 byte[] encrypted2 = rsa2.doFinal(plain); in run()
102 System.out.println(hde.encode(encrypted2) + "\n"); in run()
115 decrypted = rsa3.doFinal(encrypted2); in run()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/sun/security/mscapi/
H A DPublicKeyInterop.java99 byte[] encrypted2 = rsa2.doFinal(plain); in run()
102 System.out.println(hp.toString(encrypted2) + "\n"); in run()
115 decrypted = rsa3.doFinal(encrypted2); in run()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/sun/security/mscapi/
H A DPublicKeyInterop.java99 byte[] encrypted2 = rsa2.doFinal(plain); in run()
102 System.out.println(hp.toString(encrypted2) + "\n"); in run()
115 decrypted = rsa3.doFinal(encrypted2); in run()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/sun/security/mscapi/
H A DPublicKeyInterop.java90 byte[] encrypted2 = rsa2.doFinal(plain); in run()
93 System.out.println(hde.encode(encrypted2) + "\n"); in run()
106 decrypted = rsa3.doFinal(encrypted2); in run()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/sun/security/mscapi/
H A DPublicKeyInterop.java99 byte[] encrypted2 = rsa2.doFinal(plain); in run()
102 System.out.println(hp.toString(encrypted2) + "\n"); in run()
115 decrypted = rsa3.doFinal(encrypted2); in run()

12345