Home
last modified time | relevance | path

Searched refs:rc2 (Results 1 – 25 of 4415) sorted by relevance

12345678910>>...177

/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Cryptography/
H A DRC2CryptoServiceProviderTest.cs52 ICryptoTransform encryptor = rc2.CreateEncryptor (null, rc2.IV); in CreateEncryptor_KeyNull()
56 ICryptoTransform decryptor = rc2.CreateDecryptor (rc2.Key, rc2.IV); in CreateEncryptor_KeyNull()
70 ICryptoTransform encryptor = rc2.CreateEncryptor (rc2.Key, null); in CreateEncryptor_IvNull()
74 ICryptoTransform decryptor = rc2.CreateDecryptor (rc2.Key, rc2.IV); in CreateEncryptor_IvNull()
84 byte[] originalIV = rc2.IV; in CreateEncryptor_KeyIv()
102 ICryptoTransform encryptor = rc2.CreateEncryptor (rc2.Key, rc2.IV); in CreateDecryptor_KeyNull()
106 ICryptoTransform decryptor = rc2.CreateDecryptor (null, rc2.IV); in CreateDecryptor_KeyNull()
120 ICryptoTransform encryptor = rc2.CreateEncryptor (rc2.Key, rc2.IV); in CreateDecryptor_IvNull()
124 ICryptoTransform decryptor = rc2.CreateDecryptor (rc2.Key, null); in CreateDecryptor_IvNull()
154 return rc2.CreateEncryptor (rc2.Key, iv); in CreateEncryptor_IV()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/tests/
H A DRC2Tests.cs16 using (RC2 rc2 = RC2.Create()) in RC2KeySize()
18 rc2.KeySize = 40; in RC2KeySize()
20 Assert.Equal(40, rc2.KeySize); in RC2KeySize()
22 rc2.KeySize = 1024; in RC2KeySize()
24 Assert.Equal(1024, rc2.KeySize); in RC2KeySize()
34 using (RC2 rc2 = new RC2Minimal()) in RC2EffectiveKeySize_BaseClass()
36 rc2.KeySize = 40; in RC2EffectiveKeySize_BaseClass()
38 rc2.EffectiveKeySize = 40; in RC2EffectiveKeySize_BaseClass()
41 rc2.EffectiveKeySize = 0; in RC2EffectiveKeySize_BaseClass()
56 using (RC2 rc2 = RC2.Create()) in EnsureLegalSizesValuesIsolated()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RC2/
H A DRC2Tests.cs16 using (RC2 rc2 = RC2Factory.Create()) in RC2DefaultCtor()
18 Assert.Equal(128, rc2.KeySize); in RC2DefaultCtor()
19 Assert.Equal(64, rc2.BlockSize); in RC2DefaultCtor()
20 Assert.Equal(CipherMode.CBC, rc2.Mode); in RC2DefaultCtor()
28 using (RC2 rc2 = RC2Factory.Create()) in RC2Blockize()
30 rc2.BlockSize = 64; in RC2Blockize()
31 Assert.Equal(64, rc2.BlockSize); in RC2Blockize()
41 using (RC2 rc2 = RC2Factory.Create()) in RC2EffectiveKeySize()
43 rc2.KeySize = 40; in RC2EffectiveKeySize()
45 rc2.EffectiveKeySize = 40; in RC2EffectiveKeySize()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Csp/tests/
H A DRC2CryptoServiceProviderTests.cs20 Assert.Equal(128, rc2.KeySize); in RC2KeySize()
22 rc2.KeySize = 40; in RC2KeySize()
23 Assert.Equal(40 / 8, rc2.Key.Length); in RC2KeySize()
24 Assert.Equal(40, rc2.KeySize); in RC2KeySize()
26 rc2.KeySize = 128; in RC2KeySize()
28 Assert.Equal(128, rc2.KeySize); in RC2KeySize()
42 Assert.False(rc2.UseSalt); in UseSalt_Success()
43 rc2.UseSalt = true; in UseSalt_Success()
44 Assert.True(rc2.UseSalt); in UseSalt_Success()
54 rc2.UseSalt = rc2.UseSalt; // Ensure we can assign false in UseSalt_Throws_Unix()
[all …]
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/h8300hms/
H A D_exit.c13 short rc2; variable
15 rc2 = 0xdead;
16 asm("mov.w %0,r1" : : "r" (rc2) : "r1");
17 rc2 = 0xbeef;
18 asm("mov.w %0,r2" : : "r" (rc2) : "r2");
19 rc2 = rc << 8;
27 short rc2; variable
29 rc2 = 0xdead;
30 asm("mov.w %0,r1" : : "r" (rc2) : "r1");
31 rc2 = 0xbeef;
[all …]
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/h8300hms/
H A D_exit.c13 short rc2; variable
15 rc2 = 0xdead;
16 asm("mov.w %0,r1" : : "r" (rc2) : "r1");
17 rc2 = 0xbeef;
18 asm("mov.w %0,r2" : : "r" (rc2) : "r2");
19 rc2 = rc << 8;
27 short rc2; variable
29 rc2 = 0xdead;
30 asm("mov.w %0,r1" : : "r" (rc2) : "r1");
31 rc2 = 0xbeef;
[all …]
/dports/devel/staf/src/staf/stafif/unix/
H A DSTAFMutexSem.cpp48 if (rc2 != 0) in STAFMutexSemConstruct()
62 if (rc2 != 0) in STAFMutexSemConstruct()
117 unsigned int rc2 = 0; in STAFMutexSemRequest() local
172 if (osRC) *osRC = rc2; in STAFMutexSemRequest()
216 rc2 = EINTR; in STAFMutexSemRequest()
218 while ((rc2 == EINTR) || in STAFMutexSemRequest()
238 if ((rc2 == ETIMEDOUT) || (rc2 == EAGAIN)) in STAFMutexSemRequest()
242 else if (rc2 != 0) in STAFMutexSemRequest()
245 if (osRC) *osRC = rc2; in STAFMutexSemRequest()
261 unsigned int rc2 = 0; in STAFMutexSemRelease() local
[all …]
H A DSTAFEventSem.cpp83 if (rc2 != 0) in STAFEventSemConstruct()
97 if (rc2 != 0) in STAFEventSemConstruct()
231 unsigned int rc2 = 0; in STAFEventSemPost() local
235 if (osRC) *osRC = rc2; in STAFEventSemPost()
283 unsigned int rc2 = 0; in STAFEventSemReset() local
379 unsigned int rc2 = 0; in STAFEventSemWait() local
428 int rc2 = EINTR; in STAFEventSemWait() local
456 if ((rc2 == ETIMEDOUT) || (rc2 == EAGAIN)) in STAFEventSemWait()
460 else if (rc2 != 0) in STAFEventSemWait()
517 unsigned int rc2 = 0; in STAFEventSemQuery() local
[all …]
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/phpseclib/phpseclib/tests/Unit/Crypt/
H A DRC2Test.php48 $rc2 = new RC2(Base::MODE_ECB);
83 $rc2->setKey(str_repeat('d', 16), 128);
86 $internal = $rc2->encrypt('d');
91 $rc2->setPreferredEngine(Base::ENGINE_MCRYPT);
93 $mcrypt = $rc2->encrypt('d');
101 $openssl = $rc2->encrypt('d');
113 $rc2 = new RC2();
114 $rc2->disablePadding();
115 $rc2->setKeyLength($keyLen);
117 if (!$rc2->isValidEngine($engine)) {
[all …]
/dports/editors/abiword/abiword-3.0.5/src/wp/ap/win/
H A Dap_Win32Resources.rc2234 #include "ap_Win32Res_DlgBreak.rc2"
235 #include "ap_Win32Res_DlgField.rc2"
237 #include "ap_Win32Res_DlgSpell.rc2"
241 #include "ap_Win32Res_DlgGoto.rc2"
243 #include "ap_Win32Res_DlgList.rc2"
244 #include "ap_Win32Res_DlgTabs.rc2"
245 #include "ap_Win32Res_Icons.rc2"
253 #include "ap_Win32Res_DlgNew.rc2"
258 #include "ap_Win32Res_Version.rc2"
264 #include "ap_Win32Res_Manifest.rc2"
[all …]
H A DMakefile.am119 ap_Win32Res_DlgBreak.rc2 \
122 ap_Win32Res_DlgField.rc2 \
124 ap_Win32Res_DlgGoto.rc2 \
130 ap_Win32Res_DlgLatex.rc2 \
131 ap_Win32Res_DlgList.rc2 \
135 ap_Win32Res_DlgNew.rc2 \
140 ap_Win32Res_DlgSpell.rc2 \
144 ap_Win32Res_DlgTabs.rc2 \
150 ap_Win32Res_Icons.rc2 \
155 ap_Win32Resources.rc2 \
[all …]
/dports/security/wolfssl/wolfssl-5.1.0/wolfcrypt/src/
H A Drc2.c90 if (rc2 == NULL) in wc_Rc2SetIV()
116 if (rc2 == NULL || key == NULL) { in wc_Rc2SetKey()
124 rc2->keylen = length; in wc_Rc2SetKey()
125 rc2->bits = bits; in wc_Rc2SetKey()
127 L = (byte*)rc2->key; in wc_Rc2SetKey()
152 return wc_Rc2SetIV(rc2, iv); in wc_Rc2SetKey()
172 key = rc2->key; in wc_Rc2EcbEncrypt()
237 key = rc2->key; in wc_Rc2EcbDecrypt()
298 ret = wc_Rc2EcbEncrypt(rc2, (byte*)rc2->reg, (byte*)rc2->reg, in wc_Rc2CbcEncrypt()
327 ret = wc_Rc2EcbDecrypt(rc2, out, (byte*)rc2->tmp, RC2_BLOCK_SIZE); in wc_Rc2CbcDecrypt()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Drc2.c90 if (rc2 == NULL) in wc_Rc2SetIV()
116 if (rc2 == NULL || key == NULL) { in wc_Rc2SetKey()
124 rc2->keylen = length; in wc_Rc2SetKey()
125 rc2->bits = bits; in wc_Rc2SetKey()
127 L = (byte*)rc2->key; in wc_Rc2SetKey()
152 return wc_Rc2SetIV(rc2, iv); in wc_Rc2SetKey()
172 key = rc2->key; in wc_Rc2EcbEncrypt()
237 key = rc2->key; in wc_Rc2EcbDecrypt()
298 ret = wc_Rc2EcbEncrypt(rc2, (byte*)rc2->reg, (byte*)rc2->reg, in wc_Rc2CbcEncrypt()
327 ret = wc_Rc2EcbDecrypt(rc2, out, (byte*)rc2->tmp, RC2_BLOCK_SIZE); in wc_Rc2CbcDecrypt()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Drc2.c90 if (rc2 == NULL) in wc_Rc2SetIV()
116 if (rc2 == NULL || key == NULL) { in wc_Rc2SetKey()
124 rc2->keylen = length; in wc_Rc2SetKey()
125 rc2->bits = bits; in wc_Rc2SetKey()
127 L = (byte*)rc2->key; in wc_Rc2SetKey()
152 return wc_Rc2SetIV(rc2, iv); in wc_Rc2SetKey()
172 key = rc2->key; in wc_Rc2EcbEncrypt()
237 key = rc2->key; in wc_Rc2EcbDecrypt()
298 ret = wc_Rc2EcbEncrypt(rc2, (byte*)rc2->reg, (byte*)rc2->reg, in wc_Rc2CbcEncrypt()
327 ret = wc_Rc2EcbDecrypt(rc2, out, (byte*)rc2->tmp, RC2_BLOCK_SIZE); in wc_Rc2CbcDecrypt()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Drc2.c90 if (rc2 == NULL) in wc_Rc2SetIV()
116 if (rc2 == NULL || key == NULL) { in wc_Rc2SetKey()
124 rc2->keylen = length; in wc_Rc2SetKey()
125 rc2->bits = bits; in wc_Rc2SetKey()
127 L = (byte*)rc2->key; in wc_Rc2SetKey()
152 return wc_Rc2SetIV(rc2, iv); in wc_Rc2SetKey()
172 key = rc2->key; in wc_Rc2EcbEncrypt()
237 key = rc2->key; in wc_Rc2EcbDecrypt()
298 ret = wc_Rc2EcbEncrypt(rc2, (byte*)rc2->reg, (byte*)rc2->reg, in wc_Rc2CbcEncrypt()
327 ret = wc_Rc2EcbDecrypt(rc2, out, (byte*)rc2->tmp, RC2_BLOCK_SIZE); in wc_Rc2CbcDecrypt()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/wolfcrypt/src/
H A Drc2.c90 if (rc2 == NULL) in wc_Rc2SetIV()
116 if (rc2 == NULL || key == NULL) { in wc_Rc2SetKey()
124 rc2->keylen = length; in wc_Rc2SetKey()
125 rc2->bits = bits; in wc_Rc2SetKey()
127 L = (byte*)rc2->key; in wc_Rc2SetKey()
152 return wc_Rc2SetIV(rc2, iv); in wc_Rc2SetKey()
172 key = rc2->key; in wc_Rc2EcbEncrypt()
237 key = rc2->key; in wc_Rc2EcbDecrypt()
298 ret = wc_Rc2EcbEncrypt(rc2, (byte*)rc2->reg, (byte*)rc2->reg, in wc_Rc2CbcEncrypt()
327 ret = wc_Rc2EcbDecrypt(rc2, out, (byte*)rc2->tmp, RC2_BLOCK_SIZE); in wc_Rc2CbcDecrypt()
[all …]
/dports/databases/db5/db-5.3.28/lang/sql/sqlite/ext/bfile/examples/
H A Dbfile_example_sql.c64 int rc, rc2; in query_bfile() local
104 cleanup_if_error(rc2, cleanup_read); in query_bfile()
108 cleanup_if_error(rc2, cleanup_read); in query_bfile()
111 cleanup_if_error(rc2, cleanup_read); in query_bfile()
114 cleanup_if_error(rc2, cleanup_read); in query_bfile()
116 rc2 = sqlite3_step(pBfileStmt); in query_bfile()
119 if (rc2 == SQLITE_ROW) { in query_bfile()
132 rc2 = sqlite3_reset(pBfileStmt); in query_bfile()
154 rc2 = sqlite3_step(pBfileStmt); in query_bfile()
168 if (!is_error(rc) && is_error(rc2)) in query_bfile()
[all …]
/dports/databases/db5/db-5.3.28/lang/sql/sqlite/ext/bfile/test/
H A Dbfile_test_sql.c208 if (rc2) { in test_BfileOpenReadClose()
215 if (rc2) { in test_BfileOpenReadClose()
221 if (rc2) { in test_BfileOpenReadClose()
227 if (rc2) { in test_BfileOpenReadClose()
240 rc2 = -1; in test_BfileOpenReadClose()
244 } else if (rc2) { in test_BfileOpenReadClose()
260 rc3 = rc2; in test_BfileOpenReadClose()
263 if (rc2) { in test_BfileOpenReadClose()
269 if (rc2) in test_BfileOpenReadClose()
273 if (rc2 && rc2 != SQLITE_ROW && rc2 != SQLITE_DONE) in test_BfileOpenReadClose()
[all …]
/dports/editors/abiword/abiword-3.0.5/src/af/xap/win/
H A DMakefile.am84 xap_Win32Res_Cursors.rc2 \
86 xap_Win32Res_DlgEncoding.rc2 \
87 xap_Win32Res_DlgFont.rc2 \
88 xap_Win32Res_DlgHistory.rc2 \
90 xap_Win32Res_DlgImage.rc2 \
93 xap_Win32Res_DlgLanguage.rc2 \
95 xap_Win32Res_DlgPassword.rc2 \
96 xap_Win32Res_DlgPlugin.rc2 \
97 xap_Win32Res_DlgWindowMore.rc2 \
98 xap_Win32Res_DlgZoom.rc2 \
[all …]
H A Dxap_Win32Resources.rc246 #include "xap_Win32Res_DlgWindowMore.rc2"
47 #include "xap_Win32Res_DlgZoom.rc2"
50 #include "xap_Win32Res_DlgLanguage.rc2"
51 #include "xap_Win32Res_DlgFont.rc2"
52 #include "xap_Win32Res_DlgEncoding.rc2"
53 #include "xap_Win32Res_DlgPlugin.rc2"
54 #include "xap_Win32Res_DlgPassword.rc2"
55 #include "xap_Win32Res_DlgImage.rc2"
56 #include "xap_Win32Res_DlgHTMLOptions.rc2"
58 #include "xap_Win32Res_DlgHistory.rc2"
[all …]
/dports/biology/sra-tools/sra-tools-2.11.0/tools/fasterq-dump/
H A Dcopy_machine.c66 rc_t rc, rc2; in destroy_copy_machine() local
68 rc2 = KQueueSeal ( self -> to_write_q ); in destroy_copy_machine()
70 if ( 0 != rc2 ) in destroy_copy_machine()
80 if ( 0 != rc2 ) in destroy_copy_machine()
88 if ( 0 != rc2 ) in destroy_copy_machine()
130 if ( 0 != rc2 ) in push2q()
232 rc_t rc2; in run_copy_machine() local
235 if ( 0 != rc2 ) in run_copy_machine()
254 if ( 0 != rc2 ) in run_copy_machine()
312 if ( 0 != rc2 ) in copy_machine_writer_thread()
[all …]
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/slurmctld/
H A Dburst_buffer.c222 int i, rc, rc2; in bb_g_load_state() local
229 rc = MAX(rc, rc2); in bb_g_load_state()
276 int i, rc, rc2; in bb_g_state_pack() local
290 rc = MAX(rc, rc2); in bb_g_state_pack()
312 int i, rc, rc2; in bb_g_reconfig() local
366 int i, rc, rc2; in bb_g_job_validate() local
390 int i, rc, rc2; in bb_g_job_validate2() local
632 rc = rc2; in bb_g_job_begin()
658 rc = rc2; in bb_g_job_revoke_alloc()
674 int i, rc, rc2; in bb_g_job_start_stage_out() local
[all …]
/dports/devel/efl/efl-1.25.1/src/tests/elementary/
H A Defl_ui_test_text.c330 Eina_Rect rc1, rc2; in EFL_START_TEST() local
340 ck_assert_int_eq(rc1.y, rc2.y); in EFL_START_TEST()
341 ck_assert_int_ne(rc1.x, rc2.x); in EFL_START_TEST()
352 Eina_Rect rc1, rc2; in EFL_START_TEST() local
367 ck_assert_int_eq(rc1.y, rc2.y); in EFL_START_TEST()
368 ck_assert_int_ne(rc1.x, rc2.x); in EFL_START_TEST()
377 ck_assert_int_eq(rc1.y, rc2.y); in EFL_START_TEST()
378 ck_assert_int_ne(rc1.x, rc2.x); in EFL_START_TEST()
387 ck_assert_int_eq(rc1.y, rc2.y); in EFL_START_TEST()
388 ck_assert_int_eq(rc1.x, rc2.x); in EFL_START_TEST()
[all …]
/dports/biology/sra-tools/sra-tools-2.11.0/tools/vdb-dump/
H A Dvdb-dump.c697 if ( 0 == rc2 ) in vdm_dump_opened_table()
762 rc = ( rc == 0 ) ? rc2 : rc; in vdm_dump_opened_table()
789 rc = ( rc == 0 ) ? rc2 : rc; in vdm_dump_opened_database()
876 rc = ( 0 == rc ) ? rc2 : rc; in vdm_show_tab_spread()
892 rc = ( 0 == rc ) ? rc2 : rc; in vdm_show_db_spread()
950 rc = ( 0 == rc ) ? rc2 : rc; in vdm_dump_tab_schema()
1081 rc = ( 0 == rc ) ? rc2 : rc; in vdm_enum_tabs_of_db()
1101 rc = ( 0 == rc ) ? rc2 : rc; in vdm_enum_sub_dbs_of_db()
1831 rc_t rc2 = 0; in vdm_range_tab_index() local
1837 if ( 0 == rc2 ) in vdm_range_tab_index()
[all …]
H A Dvdb-dump-redir.c66 rc_t rc2 = KDirectoryRelease( dir ); in init_out_redir() local
68 rc = ( 0 == rc ) ? rc2 : rc; in init_out_redir()
83 rc_t rc2 = KFileRelease( output_file ); in init_out_redir() local
84 DISP_RC( rc2, "KFileRelease() failed" ); in init_out_redir()
85 rc = ( 0 == rc ) ? rc2 : rc; in init_out_redir()
115 rc_t rc2 = KFileRelease( output_file ); in init_out_redir() local
116 DISP_RC( rc2, "KFileRelease() failed" ); in init_out_redir()
117 rc = ( 0 == rc ) ? rc2 : rc; in init_out_redir()
130 rc = ( 0 == rc ) ? rc2 : rc; in init_out_redir()
157 DISP_RC( rc2, "KOutHandlerSet() failed" ); in release_out_redir()
[all …]

12345678910>>...177