Searched refs:key (Results 101 - 125 of 2503) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/
H A D990517-1.c11 datum key; local
22 key.dptr = cur + ino[0];
23 key.dsize = off - ino[0];
26 (void) sdbm__putpair ((sdbm_hash(( key ).dptr, ( key ).dsize) & sbit) ? New : pag, key, val);
/netbsd-6-1-5-RELEASE/sys/netipsec/
H A Dkey_var.h88 #define _KEYLEN(key) ((u_int)((key)->sadb_key_bits >> 3))
89 #define _KEYBITS(key) ((u_int)((key)->sadb_key_bits))
90 #define _KEYBUF(key) ((u_int8_t *)((u_int8_t*)(key) + sizeof(struct sadb_key)))
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/
H A Dhmac_link.c55 static isc_result_t hmacmd5_fromdns(dst_key_t *key, isc_buffer_t *data);
58 unsigned char key[ISC_MD5_BLOCK_LENGTH]; member in struct:dst_hmacmd5_key
62 getkeybits(dst_key_t *key, struct dst_private_element *element) { argument
67 key->key_bits = (element->data[0] << 8) + element->data[1];
73 hmacmd5_createctx(dst_key_t *key, dst_context_t *dctx) { argument
75 dst_hmacmd5_key_t *hkey = key->keydata.hmacmd5;
80 isc_hmacmd5_init(hmacmd5ctx, hkey->key, ISC_SHA1_BLOCK_LENGTH);
143 if (memcmp(hkey1->key, hkey2->key, ISC_SHA1_BLOCK_LENGTH) == 0)
150 hmacmd5_generate(dst_key_t *key, in argument
179 hmacmd5_isprivate(const dst_key_t *key) argument
185 hmacmd5_destroy(dst_key_t *key) argument
194 hmacmd5_todns(const dst_key_t *key, isc_buffer_t *data) argument
211 hmacmd5_fromdns(dst_key_t *key, isc_buffer_t *data) argument
245 hmacmd5_tofile(const dst_key_t *key, const char *directory) argument
272 hmacmd5_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument
346 unsigned char key[ISC_SHA1_BLOCK_LENGTH]; member in struct:dst_hmacsha1_key
350 hmacsha1_createctx(dst_key_t *key, dst_context_t *dctx) argument
427 hmacsha1_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument
456 hmacsha1_isprivate(const dst_key_t *key) argument
462 hmacsha1_destroy(dst_key_t *key) argument
471 hmacsha1_todns(const dst_key_t *key, isc_buffer_t *data) argument
488 hmacsha1_fromdns(dst_key_t *key, isc_buffer_t *data) argument
522 hmacsha1_tofile(const dst_key_t *key, const char *directory) argument
549 hmacsha1_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument
623 unsigned char key[ISC_SHA224_BLOCK_LENGTH]; member in struct:dst_hmacsha224_key
627 hmacsha224_createctx(dst_key_t *key, dst_context_t *dctx) argument
704 hmacsha224_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument
735 hmacsha224_isprivate(const dst_key_t *key) argument
741 hmacsha224_destroy(dst_key_t *key) argument
750 hmacsha224_todns(const dst_key_t *key, isc_buffer_t *data) argument
767 hmacsha224_fromdns(dst_key_t *key, isc_buffer_t *data) argument
801 hmacsha224_tofile(const dst_key_t *key, const char *directory) argument
828 hmacsha224_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument
902 unsigned char key[ISC_SHA256_BLOCK_LENGTH]; member in struct:dst_hmacsha256_key
906 hmacsha256_createctx(dst_key_t *key, dst_context_t *dctx) argument
983 hmacsha256_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument
1014 hmacsha256_isprivate(const dst_key_t *key) argument
1020 hmacsha256_destroy(dst_key_t *key) argument
1029 hmacsha256_todns(const dst_key_t *key, isc_buffer_t *data) argument
1046 hmacsha256_fromdns(dst_key_t *key, isc_buffer_t *data) argument
1080 hmacsha256_tofile(const dst_key_t *key, const char *directory) argument
1107 hmacsha256_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument
1181 unsigned char key[ISC_SHA384_BLOCK_LENGTH]; member in struct:dst_hmacsha384_key
1185 hmacsha384_createctx(dst_key_t *key, dst_context_t *dctx) argument
1262 hmacsha384_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument
1293 hmacsha384_isprivate(const dst_key_t *key) argument
1299 hmacsha384_destroy(dst_key_t *key) argument
1308 hmacsha384_todns(const dst_key_t *key, isc_buffer_t *data) argument
1325 hmacsha384_fromdns(dst_key_t *key, isc_buffer_t *data) argument
1359 hmacsha384_tofile(const dst_key_t *key, const char *directory) argument
1386 hmacsha384_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument
1460 unsigned char key[ISC_SHA512_BLOCK_LENGTH]; member in struct:dst_hmacsha512_key
1464 hmacsha512_createctx(dst_key_t *key, dst_context_t *dctx) argument
1541 hmacsha512_generate(dst_key_t *key, int pseudorandom_ok, void (*callback)(int)) argument
1572 hmacsha512_isprivate(const dst_key_t *key) argument
1578 hmacsha512_destroy(dst_key_t *key) argument
1587 hmacsha512_todns(const dst_key_t *key, isc_buffer_t *data) argument
1604 hmacsha512_fromdns(dst_key_t *key, isc_buffer_t *data) argument
1638 hmacsha512_tofile(const dst_key_t *key, const char *directory) argument
1665 hmacsha512_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/lib/
H A Dkeyring.c140 pgp_pubkey_free(&keydata->key.pubkey);
142 pgp_seckey_free(&keydata->key.seckey);
151 \brief Returns the public key in the given keydata.
154 \return Pointer to public key
163 &keydata->key.pubkey :
164 &keydata->key.seckey.pubkey;
170 \brief Check whether this is a secret key or not.
182 \brief Returns the secret key in the given keydata.
194 &data->key.seckey : NULL;
200 \brief Returns the secret key i
224 const pgp_key_t *key; member in struct:__anon295
303 pgp_decrypt_seckey(const pgp_key_t *key, void *passfp) argument
327 pgp_set_seckey(pgp_contents_t *cont, const pgp_key_t *key) argument
339 pgp_get_key_id(const pgp_key_t *key) argument
351 pgp_get_userid_count(const pgp_key_t *key) argument
364 pgp_get_userid(const pgp_key_t *key, unsigned subscript) argument
377 pgp_is_key_supported(const pgp_key_t *key) argument
448 pgp_add_userid(pgp_key_t *key, const uint8_t *userid) argument
491 pgp_add_selfsigned_userid(pgp_key_t *key, uint8_t *userid) argument
568 pgp_key_t *key; local
994 pgp_key_t *key; local
1014 pgp_key_t *key; local
1075 pgp_key_t *key; local
1111 pgp_key_t *key; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/wind/
H A DUnicodeData.py52 key = int(f[0], 0x10)
53 if key in ret:
54 raise Exception('Duplicate key in UnicodeData')
55 ret[key] = f[1:]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/include/idn/
H A Dstrhash.h92 * private copy of the key string.
99 idn__strhash_put(idn__strhash_t hash, const char *key, void *value);
102 * Find an item with the specified key.
109 idn__strhash_get(idn__strhash_t hash, const char *key, void **valuep);
112 * Check if an item with the specified key exists.
119 idn__strhash_exists(idn__strhash_t hash, const char *key);
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/crypto/
H A Dsha256.h20 void hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem,
22 void hmac_sha256(const u8 *key, size_t key_len, const u8 *data,
24 void sha256_prf(const u8 *key, size_t key_len, const char *label,
H A Ddes_i.h23 void des_key_setup(const u8 *key, u32 *ek, u32 *dk);
27 void des3_key_setup(const u8 *key, struct des3_key_s *dkey);
28 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt);
29 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
H A Dmd5.h20 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem,
22 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
25 int hmac_md5_vector_non_fips_allow(const u8 *key, size_t key_len,
28 int hmac_md5_non_fips_allow(const u8 *key, size_t key_len, const u8 *data,
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/tls/
H A Dpkcs1.h18 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
21 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
24 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
H A Drsa.h24 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);
26 struct crypto_rsa_key *key, int use_private);
27 void crypto_rsa_free(struct crypto_rsa_key *key);
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/info/
H A Dindices.h41 extern void info_index_search (WINDOW *window, int count, unsigned char key);
42 extern void info_next_index_match (WINDOW *window, int count, unsigned char key);
43 extern void info_index_apropos (WINDOW *window, int count, unsigned char key);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/gssapi/ntlm/
H A Drelease_cred.c58 if (cred->key.data) {
59 memset(cred->key.data, 0, cred->key.length);
60 free(cred->key.data);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/lib/libwind/
H A Dcombining_table.h10 uint32_t key; member in struct:translation
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dkey-bindings.c1 /* $Id: key-bindings.c,v 1.1.1.2 2011/08/17 18:40:04 jmmv Exp $ */
37 key1 = bd1->key & ~KEYC_PREFIX;
38 key2 = bd2->key & ~KEYC_PREFIX;
42 if (bd1->key & KEYC_PREFIX && !(bd2->key & KEYC_PREFIX))
44 if (bd2->key & KEYC_PREFIX && !(bd1->key & KEYC_PREFIX))
50 key_bindings_lookup(int key) argument
54 bd.key = key;
59 key_bindings_add(int key, int can_repeat, struct cmd_list *cmdlist) argument
74 key_bindings_remove(int key) argument
101 int key; member in struct:__anon2297
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/cpp0x/
H A Dauto17.C8 auto& key = *c; local
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/lookup/
H A Dcrash2.C11 ClassA key; member in struct:ClassB
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A Dpr42691.c9 int add(double* key, double* table) argument
16 if (*entry == *key)
38 double key = 23; local
39 int ret = add (&key, table);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/lookup/
H A Dcrash2.C11 ClassA key; member in struct:ClassB
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Drc2test.c44 const void *key; member in struct:__anon148
127 RC2_KEY key; local
133 RC2_set_key(&key, tests[i].keylen, tests[i].key, tests[i].bitsize);
136 RC2_encryptc(t, t, &key);
141 RC2_decryptc(t, t, &key);
150 RC2_set_key(&key, 16, cbc_key, 0);
152 RC2_cbc_encrypt(cbc_in_data, out, 32, &key, t, 1);
163 RC2_cbc_encrypt(out, out, 32, &key, t, 0);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/include/dst/
H A Ddst.h44 * functions provided to retrieve key attributes. If an application needs
77 /*% A buffer of this size is large enough to hold any key */
82 * of any key
87 #define DST_TYPE_KEY 0x1000000 /* KEY key */
109 * Current format version number of the private key parser.
111 * When parsing a key file with the same major number but a higher minor
112 * number, the key parser will ignore any fields it does not recognize.
114 * fields are added to the private key file (such as new metadata).
119 * When a key is seen with a higher major number, the key parse
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/win32/
H A Dthread.c73 isc_thread_key_getspecific(isc_thread_key_t key) { argument
74 return(TlsGetValue(key));
78 isc_thread_key_setspecific(isc_thread_key_t key, void *value) { argument
79 return (TlsSetValue(key, value) ? 0 : GetLastError());
83 isc_thread_key_create(isc_thread_key_t *key, void (*func)(void *)) { argument
84 *key = TlsAlloc();
86 return ((*key != -1) ? 0 : GetLastError());
90 isc_thread_key_delete(isc_thread_key_t key) { argument
91 return (TlsFree(key) ? 0 : GetLastError());
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/win32/
H A Dthread.c77 isc_thread_key_getspecific(isc_thread_key_t key) { argument
78 return(TlsGetValue(key));
82 isc_thread_key_setspecific(isc_thread_key_t key, void *value) { argument
83 return (TlsSetValue(key, value) ? 0 : GetLastError());
87 isc_thread_key_create(isc_thread_key_t *key, void (*func)(void *)) { argument
88 *key = TlsAlloc();
90 return ((*key != -1) ? 0 : GetLastError());
94 isc_thread_key_delete(isc_thread_key_t key) { argument
95 return (TlsFree(key) ? 0 : GetLastError());
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libobjc/objc/
H A Dhash.h41 * a key/value pair.
49 const void *key; /* Key used to locate the value. Used member in struct:cache_node
51 key computes the same hash
53 void *value; /* Value stored for the key. */
58 * This data type is the function that computes a hash code given a key.
59 * Therefore, the key can be a pointer to anything and the function specific
60 * to the key type.
100 /* Function used to compute a hash code given a key.
121 /* Add the key/value pair to the hash table. If the
124 assert if the key i
165 objc_hash_ptr(cache_ptr cache, const void *key) argument
174 objc_hash_string(cache_ptr cache, const void *key) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/otp/
H A Dotp_parse.c77 compress (OtpKey key, unsigned wn[]) argument
79 key[0] = wn[0] >> 3;
80 key[1] = ((wn[0] & 0x07) << 5) | (wn[1] >> 6);
81 key[2] = ((wn[1] & 0x3F) << 2) | (wn[2] >> 9);
82 key[3] = ((wn[2] >> 1) & 0xFF);
83 key[4] = ((wn[2] & 0x01) << 7) | (wn[3] >> 4);
84 key[5] = ((wn[3] & 0x0F) << 4) | (wn[4] >> 7);
85 key[6] = ((wn[4] & 0x7F) << 1) | (wn[5] >> 10);
86 key[7] = ((wn[5] >> 2) & 0xFF);
142 otp_parse_internal (OtpKey key, cons argument
157 otp_parse_stddict(OtpKey key, const char *str) argument
163 otp_parse_altdict(OtpKey key, const char *str, OtpAlgorithm *alg) argument
169 otp_parse_hex(OtpKey key, const char *s) argument
196 otp_parse(OtpKey key, const char *s, OtpAlgorithm *alg) argument
[all...]

Completed in 365 milliseconds

1234567891011>>