/dports/mail/libvmime/vmime-0.9.2/tests/security/digest/ |
H A D | md5Test.cpp | 61 algo->update(""); in VMIME_TEST_SUITE_BEGIN() 62 algo->finalize(); in VMIME_TEST_SUITE_BEGIN() 71 algo->update("a"); in testRFC1321_2() 72 algo->finalize(); in testRFC1321_2() 82 algo->finalize(); in testRFC1321_3() 92 algo->finalize(); in testRFC1321_4() 102 algo->finalize(); in testRFC1321_5() 112 algo->finalize(); in testRFC1321_6() 122 algo->finalize(); in testRFC1321_7() 133 algo->finalize(); in testReset() [all …]
|
H A D | sha1Test.cpp | 54 algo->finalize(); in VMIME_TEST_SUITE_BEGIN() 64 algo->finalize(); in testFIPS180_2() 79 algo->finalize(); in testFIPS180_3() 92 algo->finalize(); in testReset() 94 algo->reset(); in testReset() 95 algo->finalize(); in testReset() 105 algo->update(""); in testUpdate() 109 algo->update(""); in testUpdate() 111 algo->update(""); in testUpdate() 112 algo->update(""); in testUpdate() [all …]
|
/dports/games/easyrpg-player/Player-0.7.0/tests/ |
H A D | game_battlealgorithm.cpp | 99 algo.Start(); 130 algo.Start(); 164 algo.Start(); 189 algo.Start(); 201 algo.Start(); 266 algo.Start(); 286 algo.Start(); 309 algo.Start(); 341 algo.Start(); 488 algo.Start(); [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Core/Test/System.Security.Cryptography/ |
H A D | CngAlgorithmTest.cs | 77 Assert.IsTrue (algo.Equals (algo), "Equals(self)"); in Check() 97 Check (algo); in ConstructorCustom() 109 Check (algo); in ECDiffieHellmanP256() 119 Check (algo); in ECDiffieHellmanP384() 129 Check (algo); in ECDiffieHellmanP521() 139 Check (algo); in ECDsaP256() 149 Check (algo); in ECDsaP384() 159 Check (algo); in ECDsaP521() 169 Check (algo); in MD5() 179 Check (algo); in Sha1() [all …]
|
/dports/math/openturns/openturns-1.18/lib/test/ |
H A D | t_NLopt_std.expout | 25 -- Skipped: algo=AUGLAG_EQ 26 -- Skipped: algo=GD_MLSL 27 -- Skipped: algo=GD_MLSL_LDS 126 -- Skipped: algo=GN_ESCH 147 -- Skipped: algo=GN_MLSL 148 -- Skipped: algo=GN_MLSL_LDS 181 -- Skipped: algo=G_MLSL 182 -- Skipped: algo=G_MLSL_LDS 207 -- Skipped: algo=LD_AUGLAG_EQ 413 -- Skipped: algo=LN_COBYLA [all …]
|
/dports/www/py-pyjwt/PyJWT-2.3.0/tests/ |
H A D | test_algorithms.py | 19 algo = Algorithm() 25 algo = Algorithm() 31 algo = Algorithm() 37 algo = Algorithm() 40 algo.from_jwk("value") 43 algo = Algorithm() 46 algo.to_jwk("value") 49 algo = NoneAlgorithm() 261 parsed_key = algo.from_jwk(algo.to_jwk(orig_key)) 275 parsed_key = algo.from_jwk(algo.to_jwk(orig_key)) [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Cryptography/ |
H A D | CfbTest.cs | 60 algo.Key = GetKey (algo); in ProcessKeySizes() 61 algo.IV = new byte [algo.BlockSize / 8]; in ProcessKeySizes() 62 ProcessPadding (algo); in ProcessKeySizes() 76 CFB (algo); in ProcessPadding() 89 …return (algo.BlockSize << 24) + (algo.KeySize << 16) + ((int) algo.Padding << 8) + algo.FeedbackSi… in GetId() 94 int id = GetId (algo); in GetExpectedResult() 96 …: {0}, key size: {1}, padding: {2}, feedback: {3}", algo.BlockSize, algo.KeySize, algo.Padding, al… in GetExpectedResult() 138 using (ICryptoTransform t = algo.CreateEncryptor (algo.Key, algo.IV)) { in Encryptor() 148 using (ICryptoTransform t = algo.CreateDecryptor (algo.Key, algo.IV)) { in Decryptor() 173 CFB (algo, 8); in Cfb_None() [all …]
|
H A D | SymmetricAlgorithmTest.cs | 74 algo.BlockSize = 64; in TestDES_k64b64_ECB_None() 108 algo.BlockSize = 64; in TestDES_k64b64_ECB_Zeros() 148 algo.BlockSize = 64; in TestDES_k64b64_ECB_PKCS7() 181 algo.BlockSize = 64; in TestDES_k64b64_CBC_None() 207 algo.BlockSize = 64; in TestDES_k64b64_CBC_Zeros() 233 algo.BlockSize = 64; in TestDES_k64b64_CBC_PKCS7() 265 algo.BlockSize = 64; in TestDES_k64b64_CFB8_None() 292 algo.BlockSize = 64; in TestDES_k64b64_CFB8_Zeros() 319 algo.BlockSize = 64; in TestDES_k64b64_CFB8_PKCS7() 353 algo.BlockSize = 64; in TestRC2_k40b64_ECB_None() [all …]
|
H A D | TripleDESTest.cs | 41 TripleDES algo = TripleDES.Create (); in DefaultProperties() 60 TripleDES algo = TripleDES.Create (); in Key() 61 algo.GenerateKey (); in Key() 62 algo.GenerateIV (); in Key() 73 algo.Key = null; in KeyNull() 82 algo.Key = wk128; in KeyWeak128bits() 91 algo.Key = wk192; in KeyWeak192bits_AB() 100 algo.Key = wk192; in KeyWeak192bits_BC() 109 algo.Key = wk64; in KeyWrongLength() 118 algo.Key = wk128; in UseOneDesWeakKeyIn128bitsKey() [all …]
|
H A D | SymmetricAlgorithm2Test.cs | 49 byte[] key = algo.Key; in KeySize_SameSize() 50 int ks = algo.KeySize; in KeySize_SameSize() 52 algo.KeySize = ks; in KeySize_SameSize() 63 byte[] iv = algo.IV; in BlockSize_SameSize() 66 algo.BlockSize = bs; in BlockSize_SameSize() 77 algo.BlockSize = 255; in InvalidBlockSize() 85 algo.FeedbackSize = algo.BlockSize + 1; in InvalidFeedbackSize() 93 algo.IV = null; in IV_Null() 109 algo.IV = new byte [algo.BlockSize + 1]; in IV_TooBig() 117 algo.Key = null; in Key_Null() [all …]
|
/dports/security/gnupg1/gnupg-1.4.23/cipher/ |
H A D | pubkey.c | 242 if( pubkey_table[i].algo == algo ) in pubkey_algo_to_string() 286 if( pubkey_table[i].algo == algo ) { in check_pubkey_algo2() 316 if( pubkey_table[i].algo == algo ) in pubkey_get_npkey() 340 if( pubkey_table[i].algo == algo ) in pubkey_get_nskey() 364 if( pubkey_table[i].algo == algo ) in pubkey_get_nsig() 388 if( pubkey_table[i].algo == algo ) in pubkey_get_nenc() 413 if( pubkey_table[i].algo == algo ) in pubkey_nbits() 436 if( pubkey_table[i].algo == algo ) in pubkey_generate() 451 if( pubkey_table[i].algo == algo ) in pubkey_check_secret_key() 481 if( pubkey_table[i].algo == algo ) { in pubkey_encrypt() [all …]
|
/dports/security/R-cran-digest/digest/R/ |
H A D | sha1.R | 52 digest(y, algo = algo) 123 algo = algo, 133 digest(y, algo = algo) 145 algo = algo, 158 digest(y, algo = algo) 171 digest(y, algo = algo) 180 algo = algo 215 algo = algo, 249 algo = algo, 270 algo = algo, [all …]
|
/dports/science/siesta/siesta-4.1.5/Src/ |
H A D | diag_option.F90 | 163 if ( leqi(algo, 'lower') .or. leqi(algo, 'l') ) then 165 else if ( leqi(algo, 'upper') .or. leqi(algo, 'u') ) then 173 algo = ' ' 192 algo = 'QR' 204 algo = fdf_get('Diag.Algorithm', trim(algo)) 209 leqi(algo, 'DandC') .or. leqi(algo, 'vd') ) then 244 else if ( leqi(algo, 'MRRR') .or. leqi(algo, 'RRR') .or. & 249 leqi(algo, 'MRRR-2') .or. leqi(algo, 'RRR-2') .or. & 262 else if ( leqi(algo, 'expert') .or. leqi(algo, 'vx') ) then 277 else if ( leqi(algo, 'noexpert') .or. leqi(algo, 'qr') .or. & [all …]
|
/dports/www/py-pyjwt1/PyJWT-1.7.1/tests/ |
H A D | test_algorithms.py | 23 algo = Algorithm() 26 algo.prepare_key('test') 29 algo = Algorithm() 35 algo = Algorithm() 41 algo = Algorithm() 44 algo.from_jwk('value') 47 algo = Algorithm() 50 algo.to_jwk('value') 53 algo = NoneAlgorithm() 199 parsed_key = algo.from_jwk(algo.to_jwk(orig_key)) [all …]
|
/dports/math/openturns/openturns-1.18/python/test/ |
H A D | t_NLopt_std.expout | 1 algo= AUGLAG minimization= True bounds= True inequality= True equality= True 25 -- Skipped: algo= AUGLAG_EQ 242 -- Skipped: algo= GN_ESCH 435 -- Skipped: algo= LD_AUGLAG_EQ 436 -- Skipped: algo= LD_CCSAQ 461 -- Skipped: algo= LD_MMA 462 -- Skipped: algo= LD_SLSQP 631 -- Skipped: algo= LN_AUGLAG_EQ 656 -- Skipped: algo= LN_COBYLA 681 -- Skipped: algo= LN_NEWUOA [all …]
|
/dports/science/pagmo2/pagmo2-2.18.0/tests/ |
H A D | ipopt.cpp | 77 algorithm algo(ip); in BOOST_AUTO_TEST_CASE() local 78 algo.set_verbosity(1); in BOOST_AUTO_TEST_CASE() 82 algo.evolve(pop); in BOOST_AUTO_TEST_CASE() 88 algorithm algo(ip); in BOOST_AUTO_TEST_CASE() local 89 algo.set_verbosity(1); in BOOST_AUTO_TEST_CASE() 93 algo.evolve(pop); in BOOST_AUTO_TEST_CASE() 103 algorithm algo(ip); in BOOST_AUTO_TEST_CASE() local 104 algo.set_verbosity(1); in BOOST_AUTO_TEST_CASE() 108 algo.evolve(pop); in BOOST_AUTO_TEST_CASE() 242 algorithm algo(ip); in BOOST_AUTO_TEST_CASE() local [all …]
|
/dports/math/polymake/polymake-4.5/apps/polytope/src/ |
H A D | beneath_beyond.cc | 32 beneath_beyond_algo<Scalar> algo; in enumerate_facets() local 34 algo.compute(Points, Linealities); in enumerate_facets() 35 return { algo.getFacets(), algo.getAffineHull() }; in enumerate_facets() 42 beneath_beyond_algo<Scalar> algo; in enumerate_vertices() local 45 convex_hull_result<Scalar> result{ algo.getFacets(), algo.getAffineHull() }; in enumerate_vertices() 58 return { algo.getNonRedundantPoints(), algo.getNonRedundantLinealities() }; in get_non_redundant_points() 68 return { algo.getNonRedundantPoints(), algo.getNonRedundantLinealities() }; in get_non_redundant_inequalities() 77 algo.compute(Points, Lineality); in placing_triangulation() 78 return algo.getTriangulation(); in placing_triangulation() 104 algo.compute(Points, Lins); in beneath_beyond_find_facets() [all …]
|
/dports/security/libgcrypt/libgcrypt-1.9.4/tests/ |
H A D | hashtest.c | 40 int algo; member 188 gcry_md_algo_name (algo), algo, gpg_strerror (err)); in run_selftest() 191 gcry_md_algo_name (algo), algo); in run_selftest() 194 gcry_md_algo_name (algo), algo); in run_selftest() 210 if (testvectors[idx].algo == algo in cmp_digest() 264 gcry_md_algo_name (algo), algo, gpg_strerror (err)); in run_longtest() 301 gcry_md_algo_name (algo), algo, gpg_strerror (err)); in run_longtest() 305 gcry_md_algo_name (algo), algo, gpg_strerror (err)); in run_longtest() 346 int algo = 0; in main() local 409 if (!algo) in main() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/libgcrypt/tests/ |
H A D | hashtest.c | 40 int algo; member 188 gcry_md_algo_name (algo), algo, gpg_strerror (err)); in run_selftest() 191 gcry_md_algo_name (algo), algo); in run_selftest() 194 gcry_md_algo_name (algo), algo); in run_selftest() 210 if (testvectors[idx].algo == algo in cmp_digest() 264 gcry_md_algo_name (algo), algo, gpg_strerror (err)); in run_longtest() 301 gcry_md_algo_name (algo), algo, gpg_strerror (err)); in run_longtest() 305 gcry_md_algo_name (algo), algo, gpg_strerror (err)); in run_longtest() 346 int algo = 0; in main() local 409 if (!algo) in main() [all …]
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/crypto/ |
H A D | hash.c | 61 return SG_OBJ(algo); in hash_allocate() 95 algo->oid = s; in setup_oid() 131 return Sg_VMApply1(SG_USER_HASH(algo)->init, algo); in Sg_VMHashInit() 287 e->hash = algo; in Sg_RegisterHash() 316 return algo->init; in uh_init() 324 return algo->done; in uh_done() 336 return algo->oid; in uh_oid() 340 return algo->state; in uh_state() 348 algo->init = value; in uh_init_set() 362 algo->done = value; in uh_done_set() [all …]
|
/dports/converters/p5-LaTeXML/LaTeXML-0.8.6/lib/LaTeXML/Package/ |
H A D | algorithm2e.sty.ltxml | 94 DefMacro('\lx@algo@par', '\@marker{PREPAR}\lx@algo@endline\lx@algo@startline\@marker{PAR}'); 96 DefMacro('\lx@algo@parx', '\@marker{PREPARx}\lx@algo@endline\lx@algo@startline \@marker{PARx}'); 97 DefMacro('\lx@algo@parb', '\@marker{PREPARb}\lx@algo@endline\lx@algo@startline \@marker{PARb}'); 104 DefMacro('\lx@algo@par', '\lx@algo@newpar{PAR}{\lx@algo@endline\lx@algo@startline}'); 105 #DefMacro('\lx@algo@pars', '\lx@algo@newpar{PARs}{\lx@algo@endline\lx@algo@startline}'); 106 DefMacro('\lx@algo@parx', '\lx@algo@newpar{PARx}{\lx@algo@endline\lx@algo@startline}'); 107 DefMacro('\lx@algo@parb', '\lx@algo@newpar{PARb}{\lx@algo@endline\lx@algo@startline}'); 127 return (@tokens, T_CS('\lx@algo@parx'), T_CS('\lx@algo@parx'), T_CS('\lx@algo@parx')); }); 147 DefMacro('\lx@algo@advlevel', '\lx@algo@push@indentation{\lx@algo@indent}'); 148 DefMacro('\lx@algo@advline', '\lx@algo@push@indentation{\lx@algo@indentline}'); [all …]
|
/dports/www/py-pyjwt1/PyJWT-1.7.1/tests/contrib/ |
H A D | test_algorithms.py | 25 algo = RSAAlgorithm(RSAAlgorithm.SHA256) 28 algo.prepare_key(pem_key.read()) 31 algo = RSAAlgorithm(RSAAlgorithm.SHA256) 37 algo = RSAAlgorithm(RSAAlgorithm.SHA256) 40 algo.prepare_key(None) 43 algo = RSAAlgorithm(RSAAlgorithm.SHA256) 61 algo.sign(jwt_message, jwt_key) 118 algo = ECAlgorithm(ECAlgorithm.SHA256) 121 algo.prepare_key(None) 124 algo = ECAlgorithm(ECAlgorithm.SHA256) [all …]
|
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/block/ |
H A D | block_cipher.cpp | 141 if(algo == "AES-128") in create() 146 if(algo == "AES-192") in create() 151 if(algo == "AES-256") in create() 227 if(algo == "DES") in create() 232 if(algo == "DESX") in create() 237 if(algo == "TripleDES" || algo == "3DES" || algo == "DES-EDE") in create() 251 if(algo == "CAST-128" || algo == "CAST5") in create() 265 if(algo == "IDEA") in create() 286 if(algo == "SEED") in create() 293 if(algo == "SM4") in create() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/block/ |
H A D | block_cipher.cpp | 141 if(algo == "AES-128") in create() 146 if(algo == "AES-192") in create() 151 if(algo == "AES-256") in create() 227 if(algo == "DES") in create() 232 if(algo == "DESX") in create() 237 if(algo == "TripleDES" || algo == "3DES" || algo == "DES-EDE") in create() 251 if(algo == "CAST-128" || algo == "CAST5") in create() 265 if(algo == "IDEA") in create() 286 if(algo == "SEED") in create() 293 if(algo == "SM4") in create() [all …]
|
/dports/security/botan2/Botan-2.18.2/src/lib/block/ |
H A D | block_cipher.cpp | 141 if(algo == "AES-128") in create() 146 if(algo == "AES-192") in create() 151 if(algo == "AES-256") in create() 227 if(algo == "DES") in create() 232 if(algo == "DESX") in create() 237 if(algo == "TripleDES" || algo == "3DES" || algo == "DES-EDE") in create() 251 if(algo == "CAST-128" || algo == "CAST5") in create() 265 if(algo == "IDEA") in create() 286 if(algo == "SEED") in create() 293 if(algo == "SM4") in create() [all …]
|