Searched refs:key1 (Results 1 - 25 of 41) sorted by relevance

12

/freebsd-9.3-release/crypto/openssl/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,key
[all...]
H A Dstr2key.c100 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument
106 memset(key1, 0, 8);
112 (*key2)[i] = (*key1)[i] = (str[i] << 1);
119 (*key1)[i % 8] ^= (str[i] << 1);
127 (*key1)[i % 8] ^= (j << 1);
135 (*key1)[7 - (i % 8)] ^= j;
141 memcpy(key2, key1, 8);
143 DES_set_odd_parity(key1);
146 if (DES_is_weak_key(key1))
147 (*key1)[
[all...]
H A Dread2pwd.c129 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, argument
136 DES_string_to_2keys(buf, key1, key2);
H A Ddes_old.c290 int _ossl_old_des_read_2passwords(_ossl_old_des_cblock *key1, argument
294 return DES_read_2passwords(key1, key2, prompt, verify);
324 void _ossl_old_des_string_to_2keys(char *str, _ossl_old_des_cblock *key1, argument
327 DES_string_to_2keys(str, key1, key2);
H A Ddes.h235 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2);
244 int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2,
/freebsd-9.3-release/crypto/openssl/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,key
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Droaming_client.c62 static u_int64_t key1, key2, oldkey1, oldkey2; variable
74 key1 = oldkey1 = packet_get_int64();
101 key1 = oldkey1;
114 packet_put_int64(key1 ^ get_recv_bytes());
118 oldkey1 = key1;
120 calculate_new_key(&key1, cookie, chall);
H A Dhmac.c168 u_char key1[16] = { local
190 hmac_test(key1, sizeof(key1), data1, strlen(data1), dig1, sizeof(dig1));
/freebsd-9.3-release/lib/libc/iconv/
H A Dcitrus_pivot_factory.c109 char key1[LINE_MAX], key2[LINE_MAX], data[LINE_MAX]; local
121 /* key1 */
128 snprintf(key1, sizeof(key1), "%.*s", (int)(p - line), line);
148 ret = find_src(sh, &se, key1);
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_keycache.c160 uint32_t key0, key1, key2, key3, key4; local
216 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff;
239 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1);
290 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
293 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_keycache.c112 uint32_t key0, key1, key2, key3, key4; local
136 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff;
150 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_keycache.c119 uint32_t key0, key1, key2, key3, key4; local
157 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff;
172 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Ddnssec.c1753 dns_dnsseckey_t *key, *key1, *key2, *next; local
1803 for (key1 = ISC_LIST_HEAD(*newkeys); key1 != NULL; key1 = next) {
1806 next = ISC_LIST_NEXT(key1, link);
1811 int f1 = dst_key_flags(key1->key);
1816 dst_key_alg(key1->key) == dst_key_alg(key2->key) &&
1817 dst_key_pubcompare(key1->key, key2->key,
1820 r1 = dst_key_flags(key1->key) &
1831 ISC_LIST_UNLINK(*newkeys, key1, lin
[all...]
H A Ddst_api.c992 comparekeys(const dst_key_t *key1, const dst_key_t *key2, argument
994 isc_boolean_t (*compare)(const dst_key_t *key1,
998 REQUIRE(VALID_KEY(key1));
1001 if (key1 == key2)
1004 if (key1 == NULL || key2 == NULL)
1007 if (key1->key_alg != key2->key_alg)
1010 if (key1->key_id != key2->key_id) {
1013 if (key1->key_alg == DST_ALG_RSAMD5)
1015 if ((key1->key_flags & DNS_KEYFLAG_REVOKE) ==
1018 if (key1
1035 pub_compare(const dst_key_t *key1, const dst_key_t *key2) argument
1076 dst_key_compare(const dst_key_t *key1, const dst_key_t *key2) argument
1081 dst_key_pubcompare(const dst_key_t *key1, const dst_key_t *key2, isc_boolean_t match_revoked_key) argument
1089 dst_key_paramcompare(const dst_key_t *key1, const dst_key_t *key2) argument
[all...]
H A Ddst_internal.h182 isc_boolean_t (*compare)(const dst_key_t *key1, const dst_key_t *key2);
183 isc_boolean_t (*paramcompare)(const dst_key_t *key1,
H A Dhmac_link.c131 hmacmd5_compare(const dst_key_t *key1, const dst_key_t *key2) { argument
134 hkey1 = key1->keydata.hmacmd5;
409 hmacsha1_compare(const dst_key_t *key1, const dst_key_t *key2) { argument
412 hkey1 = key1->keydata.hmacsha1;
687 hmacsha224_compare(const dst_key_t *key1, const dst_key_t *key2) { argument
690 hkey1 = key1->keydata.hmacsha224;
967 hmacsha256_compare(const dst_key_t *key1, const dst_key_t *key2) { argument
970 hkey1 = key1->keydata.hmacsha256;
1247 hmacsha384_compare(const dst_key_t *key1, const dst_key_t *key2) { argument
1250 hkey1 = key1
1527 hmacsha512_compare(const dst_key_t *key1, const dst_key_t *key2) argument
[all...]
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Ddn_heap.h102 int heap_insert(struct dn_heap *h, uint64_t key1, void *p);
H A Ddn_heap.c143 heap_insert(struct dn_heap *h, uint64_t key1, void *p) argument
147 //log("%s key %llu p %p\n", __FUNCTION__, key1, p);
149 son = key1;
157 h->p[son].key = key1;
/freebsd-9.3-release/sys/mips/cavium/cryptocteon/
H A Dcavium_crypto.c252 uint64_t *key1; local
261 key1 = (uint64_t *) hash_key;
272 CVMX_MT_HSH_DAT((*key1 ^ xor1), 0);
273 key1++;
274 CVMX_MT_HSH_DAT((*key1 ^ xor1), 1);
275 key1++;
276 CVMX_MT_HSH_DAT((*key1 ^ xor1), 2);
277 key1++;
278 CVMX_MT_HSH_DAT((*key1 ^ xor1), 3);
279 key1
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/rsa/
H A Drsa_test.c33 static int key1(RSA *key, unsigned char *c) function
237 clen = key1(key, ctext_ex);
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dst/
H A Ddst.h568 dst_key_compare(const dst_key_t *key1, const dst_key_t *key2);
576 *\li "key1" is a valid key.
585 dst_key_pubcompare(const dst_key_t *key1, const dst_key_t *key2,
597 *\li "key1" is a valid key.
606 dst_key_paramcompare(const dst_key_t *key1, const dst_key_t *key2);
612 *\li "key1" is a valid key.
/freebsd-9.3-release/crypto/openssl/test/
H A Digetest.c120 const unsigned char key1[32]; member in struct:bi_ige_test
132 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f}, /* key1 */
155 0x64, 0x28, 0x0f, 0x23, 0xad, 0x74, 0xac, 0x37}, /* key1 */
241 AES_KEY key1; local
248 AES_set_encrypt_key(v->key1, 8 * v->keysize, &key1);
251 AES_set_decrypt_key(v->key1, 8 * v->keysize, &key1);
255 AES_bi_ige_encrypt(v->in, buf, v->length, &key1, &key2, v->iv,
260 hexdump(stdout, "key 1", v->key1, sizeo
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dhash.c128 hash_remove_cb(void *key1, void *key2, void *arg) argument
131 return (hash->h_cmp(key1, key2));
/freebsd-9.3-release/sys/netinet/
H A Dsctp_auth.c362 * returns: 1 if key1 > key2
363 * -1 if key1 < key2
364 * 0 if key1 = key2
367 sctp_compare_key(sctp_key_t * key1, sctp_key_t * key2) argument
376 key1len = sctp_get_keylen(key1);
390 key_1 = key1->key;
418 sctp_compute_hashkey(sctp_key_t * key1, sctp_key_t * key2, sctp_key_t * shared) argument
424 keylen = sctp_get_keylen(key1) + sctp_get_keylen(key2) +
442 if (sctp_compare_key(key1, key2) <= 0) {
443 /* key is shared + key1
[all...]
/freebsd-9.3-release/contrib/bsnmp/lib/
H A Dsnmpcrypto.c93 uint8_t key1[SNMP_EXTENDED_KEY_SIZ], key2[SNMP_EXTENDED_KEY_SIZ]; local
110 key1[i] = extkey[i] ^ ipad;
114 if (EVP_DigestUpdate(&ctx, key1, SNMP_EXTENDED_KEY_SIZ) != 1 ||

Completed in 214 milliseconds

12