Searched refs:key2 (Results 1 - 25 of 154) sorted by relevance

1234567

/macosx-10.10.1/OpenSSL098-52/src/crypto/des/
H A Ddes3s.cpp39 des_key_schedule key1,key2,key3; local
48 des_encrypt3(&data[0],key1,key2,key3);
50 des_encrypt3(&data[0],key1,key2,key3);
51 des_encrypt3(&data[0],key1,key2,key3);
52 des_encrypt3(&data[0],key1,key2,key3);
55 des_encrypt3(&data[0],key1,key2,key3);
56 des_encrypt3(&data[0],key1,key2,key3);
57 des_encrypt3(&data[0],key1,key2,key3);
58 des_encrypt3(&data[0],key1,key2,key3);
60 des_encrypt3(&data[0],key1,key2,key
[all...]
H A Dstr2key.c102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument
109 memset(key2,0,8);
116 (*key2)[i]=(*key1)[i]=(str[i]<<1);
124 (*key2)[i%8]^=(str[i]<<1);
138 (*key2)[i%8]^=(j<<1);
148 (*key2)[7-(i%8)]^=j;
151 if (length <= 8) memcpy(key2,key1,8);
154 DES_set_odd_parity(key2);
164 if(DES_is_weak_key(key2))
165 (*key2)[
[all...]
H A Dread2pwd.c129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, argument
136 DES_string_to_2keys(buf,key1,key2);
/macosx-10.10.1/OpenSSL098-52/src/times/x86/
H A Ddes3s.cpp39 des_key_schedule key1,key2,key3; local
48 des_encrypt3(&data[0],key1,key2,key3);
50 des_encrypt3(&data[0],key1,key2,key3);
51 des_encrypt3(&data[0],key1,key2,key3);
52 des_encrypt3(&data[0],key1,key2,key3);
55 des_encrypt3(&data[0],key1,key2,key3);
56 des_encrypt3(&data[0],key1,key2,key3);
57 des_encrypt3(&data[0],key1,key2,key3);
58 des_encrypt3(&data[0],key1,key2,key3);
60 des_encrypt3(&data[0],key1,key2,key
[all...]
/macosx-10.10.1/CPANInternal-159.1/Readonly-1.03/t/
H A Ddeeph.t22 eval {Readonly::Hash %h1 => (key1 => \$m1, key2 => {x => 5, z => [1, 2, 3]})};
24 eval {Readonly::Hash1 %h2 => (key1 => \$m1, key2 => {x => 5, z => [1, 2, 3]})};
41 eval {$h1{key2}{z}[1] = 42};
43 is $h1{key2}{z}[1] => 2, 'h1 unchanged';
45 eval {$h2{key2}{z}[2] = 42};
47 is $h2{key2}{z}[2], 42, 'h2 mod successful';
H A Dreadonly.t29 eval q{Readonly \my %roh => (key1 => "value", key2 => "value2")};
32 eval q{Readonly \my %roh => (key1 => "value", "key2")};
35 eval q{Readonly \my %roh2 => (key1 => "value", key2 => "value2"); $roh2{key1}="value"};
38 eval q{Readonly \my %roh => {key1 => "value", key2 => "value2"}};
41 eval q{Readonly \my %roh2 => {key1 => "value", key2 => "value2"}; $roh2{key1}="value"};
61 eval q{Readonly my %roh => (key1 => "value", key2 => "value2")};
64 eval q{Readonly my %roh => (key1 => "value", "key2")};
67 eval q{Readonly my %roh2 => (key1 => "value", key2 => "value2"); $roh2{key1}="value"};
70 eval q{Readonly my %roh => {key1 => "value", key2 => "value2"}};
73 eval q{Readonly my %roh2 => {key1 => "value", key2
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/PyObjCTest/
H A Dtest_assocations.py20 key2 = "key11"[:-1]
21 self.assertIsNot(key1, key2)
24 self.assertEqual(objc.getAssociatedObject(o, key2), None)
29 self.assertEqual(objc.getAssociatedObject(o, key2), None)
48 key2 = "key11"[:-1]
49 self.assertIsNot(key1, key2)
52 self.assertEqual(objc.getAssociatedObject(o, key2), None)
55 objc.setAssociatedObject(o, key2, "bar")
58 self.assertEqual(objc.getAssociatedObject(o, key2), "bar")
63 self.assertEqual(objc.getAssociatedObject(o, key2), Non
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/otp/
H A Dotp_verify.c44 OtpKey key1, key2; local
50 memcpy (key2, key1, sizeof(key1));
51 ctx->alg->next (key2);
52 if (memcmp (ctx->key, key2, sizeof(key2)) == 0) {
H A Dotptest.c46 OtpKey key2; local
54 if (otp_parse (key2, buf, alg)) {
58 if (memcmp (key1, key2, OTPKEYSIZE) != 0) {
59 printf ("key1 != key2, ");
/macosx-10.10.1/xnu-2782.1.97/libsyscall/mach/servers/
H A Dkey_defs.h66 #define KEY_EQUAL(key1, key2) \
67 ((key1.key_longs[0] == key2.key_longs[0]) \
68 && (key1.key_longs[1] == key2.key_longs[1]) \
69 && (key1.key_longs[2] == key2.key_longs[2]) \
70 && (key1.key_longs[3] == key2.key_longs[3]))
/macosx-10.10.1/bind9-45.101/bind9/bin/tests/system/gost/ns1/
H A Dsign.sh29 key2=`$KEYGEN -q -r $RANDFILE -a ECCGOST -n zone -f KSK $zone`
30 $DSFROMKEY -a gost $key2.key > dsset-gost
32 cat $infile $key1.key $key2.key > $zonefile
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Duelement.h72 * @param key2 The string for comparison
73 * @return true if key1 and key2 are equal, return false otherwise.
76 uhash_compareUnicodeString(const UElement key1, const UElement key2);
83 * @param key2 The string for comparison
84 * @return true if key1 and key2 are equal, return false otherwise.
87 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
/macosx-10.10.1/bind9-45.101/bind9/bin/tests/system/dns64/ns1/
H A Dsign.sh29 key2=`$KEYGEN -q -r $RANDFILE -fk $zone`
31 cat $infile $key1.key $key2.key > $zonefile
/macosx-10.10.1/curl-83.1.2/curl/packages/vms/
H A Dconfig_h.com208 $ key2 = f$element(1," ",line_in)
210 $ if key2 .nes. " " .and. key2 .nes. "" then goto rtldef_loop1
230 $ key2 = f$element(1," ",line_in)
232 $ if key2 .nes. " " .and. key2 .nes. "" then goto stardef_loop1
277 $ key2 = f$element(1," ",xline)
278 $ key2a = f$element(0,"_",key2)
279 $ key2b = f$element(1,"_",key2)
280 $ key2_len = f$length(key2)
[all...]
/macosx-10.10.1/CPANInternal-159.1/File-ExtAttr-1.09/t/
H A D31nsmultiple.t49 my $key2 = $key.'2';
74 is (setfattr($_, "$key2", $val, { namespace => 'user' }), 1);
77 is (getfattr($_, "$key2", { namespace => 'user' }), $val);
91 ok (delfattr($_, "$key2", { namespace => 'user' }));
96 is (getfattr($_, "$key2", { namespace => 'user' }), undef);
131 is (setfattr($fh, "$key2", $val, { namespace => 'user' }), 1);
134 is (getfattr($fh, "$key2", { namespace => 'user' }), $val);
148 ok (delfattr($fh, "$key2", { namespace => 'user' }));
153 is (getfattr($fh, "$key2", { namespace => 'user' }), undef);
H A D17createreplace.t72 my $key2 = $key.'2';
76 eval { setfattr($fh, $key2, $val, { create => 1, replace => 1 }); };
80 is (getfattr($fh, $key2), undef);
H A D80memleakget.t47 my $key2 = $key.'2';
63 is(getfattr($_, $key2), undef);
86 is(getfattr($fh, $key2), undef);
/macosx-10.10.1/ruby-106/ruby/test/openssl/
H A Dtest_pkey_dsa.rb10 key2 = OpenSSL::PKey::DSA.new(key.to_der)
11 assert(key2.private?)
173 key2 = OpenSSL::PKey.read(der)
174 assert(key2.private?)
175 assert_equal(der, key2.to_der)
182 key2 = OpenSSL::PKey.read(pem)
183 assert(key2.private?)
184 assert_equal(pem, key2.to_pem)
191 key2 = OpenSSL::PKey.read(der)
192 assert(!key2
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tclx/tclx/tests/
H A Dbsearch.test49 set key2 [format "KeyX:%04d" $cnt]
57 bsearch $testFH $key2 {} BsearchTestCmp
66 list [bsearch $testFH $key2 rec BsearchTestCmp] $rec
/macosx-10.10.1/BerkeleyDB-21/db/test/
H A Drpc006.tcl53 set key2 "key2"
60 set res [catch {$db put -txn $txn2 $key2 $data2} ret]
66 set res [catch {$db put -txn $txn2 $key2 $data2} ret]
/macosx-10.10.1/xnu-2782.1.97/libkern/crypto/
H A Dcorecrypto_aesxts.c44 const uint8_t *key2, int tweaklen __unused, // both keys are the same size for xts
64 enc->init(enc, xts->enc, keylen, key1, key2);
65 dec->init(dec, xts->dec, keylen, key1, key2);
41 xts_start(uint32_t cipher __unused, const uint8_t *IV __unused, const uint8_t *key1, int keylen, const uint8_t *key2, int tweaklen __unused, uint32_t num_rounds __unused, uint32_t options __unused, symmetric_xts *xts) argument
/macosx-10.10.1/xnu-2782.1.97/libkern/kxld/
H A Dkxld_dict.h58 typedef u_int (*kxld_dict_cmp)(const void *key1, const void *key2);
150 u_int kxld_dict_string_cmp(const void *key1, const void *key2)
152 u_int kxld_dict_uint32_cmp(const void *key1, const void *key2)
154 u_int kxld_dict_kxldaddr_cmp(const void *key1, const void *key2)
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/pbeTest/
H A DpbeTest.c397 * encrypt ptext with key2, iv2
412 CSSM_KEY_PTR key2,
446 key2,
479 decrypt ctext with key2;
483 CSSM_KEY_PTR key2; local
530 key2 = cspDeriveKey(targs->cspHand,
542 if(key2 == NULL) {
562 key2,
592 cspFreeKey(targs->cspHand, key2);
609 cspFreeKey(targs->cspHand, key2);
403 testCommon(CSSM_CSP_HANDLE cspHand, const char *testName, CSSM_ALGORITHMS encrAlg, CSSM_ENCRYPT_MODE encrMode, CSSM_PADDING encrPad, uint32 effectiveKeySizeInBits, CSSM_DATA_PTR ptext, CSSM_KEY_PTR key1, CSSM_DATA_PTR iv1, CSSM_KEY_PTR key2, CSSM_DATA_PTR iv2, CSSM_BOOL quiet) argument
625 CSSM_KEY_PTR key2; local
711 CSSM_KEY_PTR key2; local
805 CSSM_KEY_PTR key2; local
[all...]
/macosx-10.10.1/objc4-646/runtime/
H A Dmaptable.mm65 static INLINE int isEqual(NXMapTable *table, const void *key1, const void *key2) {
66 return (key1 == key2) ? 1 : (table->prototype->isEqual)(table, key1, key2);
402 static int _mapPtrIsEqual(NXMapTable *table, const void *key1, const void *key2) {
403 return key1 == key2;
406 static int _mapStrIsEqual(NXMapTable *table, const void *key1, const void *key2) {
407 if (key1 == key2) return YES;
408 if (! key1) return ! strlen ((char *) key2);
409 if (! key2) return ! strlen ((char *) key1);
410 if (((char *) key1)[0] != ((char *) key2)[
[all...]
/macosx-10.10.1/xnu-2782.1.97/libkern/libkern/crypto/
H A Daesxts.h59 const uint8_t *key2, int tweaklen, // both keys are the same size for xts

Completed in 230 milliseconds

1234567