Searched refs:dkey (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10/tcl-105/tcl_ext/thread/thread/generic/
H A DpsGdbm.c156 datum drec, dkey;
158 dkey.dptr = (char*)key;
159 dkey.dsize = strlen(key) + 1;
161 drec = gdbm_fetch(dbf, dkey);
197 datum drec, dkey;
199 dkey = gdbm_firstkey(dbf);
200 if (dkey.dptr == NULL) {
203 drec = gdbm_fetch(dbf, dkey);
210 *keyptrptr = dkey.dptr;
239 datum drec, dkey, dnex
152 datum drec, dkey; local
192 datum drec, dkey; local
233 datum drec, dkey, dnext; local
281 datum drec, dkey; local
321 datum dkey; local
[all...]
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/utils/
H A Ddbconverter-2.c108 datum dkey, nextkey, dvalue; local
117 memset(&dkey, 0, sizeof(datum));
119 dkey = gdbm_firstkey(indb);
121 while (dkey.dptr != NULL) {
122 char *authid = dkey.dptr;
123 char *realm = dkey.dptr+strlen(authid)+1;
126 int len = dkey.dsize - (tmp - ((char *)dkey.dptr));
133 mech[dkey.dsize - (tmp - dkey
159 datum dkey, nextkey, dvalue; local
[all...]
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/sasldb/
H A Ddb_ndbm.c70 datum dkey, dvalue; local
108 dkey.dptr = key;
109 dkey.dsize = key_len;
110 dvalue = dbm_fetch(db, dkey);
151 datum dkey; local
191 dkey.dptr = key;
192 dkey.dsize = key_len;
198 if (dbm_store(db, dkey, dvalue, DBM_REPLACE)) {
204 if (dbm_delete(db, dkey)) {
293 datum dkey; member in struct:ndbm_handle
[all...]
H A Ddb_gdbm.c269 datum dkey; member in struct:gdbm_handle
330 dbh->dkey = gdbm_firstkey(dbh->db);
333 nextkey = gdbm_nextkey(dbh->db, dbh->dkey);
334 dbh->dkey = nextkey;
337 if(dbh->dkey.dptr == NULL)
340 if((unsigned)dbh->dkey.dsize > max_out)
343 memcpy(out, dbh->dkey.dptr, dbh->dkey.dsize);
344 if(out_len) *out_len = dbh->dkey.dsize;
/macosx-10.10/libresolv-57/
H A Ddst_hmac_link.c145 * dkey key to use for verify.
219 dst_buffer_to_hmac_md5(DST_KEY *dkey, const u_char *key, const int keylen) argument
226 if (dkey == NULL || key == NULL || keylen < 0)
254 dkey->dk_key_size = local_keylen;
255 dkey->dk_KEY_struct = (void *) hkey;
274 dst_hmac_md5_key_to_file_format(const DST_KEY *dkey, char *buff, argument
282 if (dkey == NULL || dkey->dk_KEY_struct == NULL)
287 hkey = (HMAC_Key *) dkey->dk_KEY_struct;
332 dst_hmac_md5_key_from_file_format(DST_KEY *dkey, cons argument
[all...]
H A Ddst_api.c786 DST_KEY *dkey = NULL; local
795 dkey = dst_s_get_key_struct(key_name, alg, flags,
798 if (dkey == NULL)
800 if (dkey->dk_func == NULL || dkey->dk_func->from_dns_key == NULL)
803 if (dkey->dk_func->from_dns_key(dkey, key_buf, key_len) < 0) {
805 return (dst_free_key(dkey));
808 dnslen = dst_key_to_dnskey(dkey, dns, sizeof(dns));
809 dkey
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/krb5/
H A Dderived-key-test.c92 krb5_keyblock *dkey; local
99 t->constant_len, &dkey);
102 if (memcmp (dkey->keyvalue.data, t->res, dkey->keyvalue.length) != 0) {
103 const unsigned char *p = dkey->keyvalue.data;
108 for (i = 0; i < dkey->keyvalue.length; ++i)
111 for (i = 0; i < dkey->keyvalue.length; ++i)
116 krb5_free_keyblock(context, dkey);
H A Dcrypto.c363 struct _krb5_key_data *dkey; local
379 ret = get_checksum_key(context, crypto, usage, ct, &dkey);
383 dkey = NULL;
388 return (*ct->checksum)(context, dkey, data, len, usage, result);
449 struct _krb5_key_data *dkey; local
491 ret = get_checksum_key(context, crypto, usage, ct, &dkey);
495 dkey = NULL;
503 ret = (*ct->verify)(context, dkey, data, len, usage, cksum);
516 ret = (*ct->checksum)(context, dkey, data, len, usage, &c);
849 struct _krb5_key_data *dkey; local
1023 struct _krb5_key_data *dkey; local
1261 struct _krb5_key_data *dkey; local
1455 struct _krb5_key_data *dkey; local
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dndbm_wrap.c79 dbm_delete (DBM *db, datum dkey) argument
82 DATUM2DBT(&dkey, &key);
91 dbm_fetch (DBM *db, datum dkey) argument
95 DATUM2DBT(&dkey, &key);
195 dbm_store (DBM *db, datum dkey, datum dvalue, int flags) argument
202 DATUM2DBT(&dkey, &key);
/macosx-10.10/OpenSSL098-52/src/engines/
H A De_capi.c593 DSA *dkey = NULL; local
677 dkey = DSA_new_method(eng);
678 if (!dkey)
680 dkey->p = BN_new();
681 dkey->q = BN_new();
682 dkey->g = BN_new();
683 dkey->pub_key = BN_new();
684 if (!dkey->p || !dkey->q || !dkey
[all...]
/macosx-10.10/OpenSSH-189/osslshim/tests/
H A Dtest_cipher.c329 AES_KEY ekey, dkey; local
335 if (AES_set_decrypt_key(t->key, (t->keysize * 8), &dkey) != 0) {
349 AES_decrypt(d, d, &dkey);
/macosx-10.10/OpenSSL098-52/src/crypto/rc2/
H A Drc2test.c188 idea_cbc_encrypt(out,out,8,&dkey,iv,0);
189 idea_cbc_encrypt(&(out[8]),&(out[8]),strlen(text)+1-8,&dkey,iv,0);
/macosx-10.10/OpenSSL098-52/src/demos/tunala/
H A Dtunala.c71 const char *dcert, const char *dkey, const char *cipher_list,
124 " -dkey <path|NULL> (usually for DSA, default = whatever '-dcert' is)\n"
304 const char *dkey = def_dkey; local
379 } else if(strcmp(*argv, "-dkey") == 0) {
381 return usage("-dkey requires an argument", 0);
384 dkey = NULL;
386 dkey = *argv;
495 cacert, cert, key, dcert, dkey, cipher_list, dh_file,
730 const char *dcert, const char *dkey, const char *cipher_list,
781 /* dcert and dkey */
728 initialise_ssl_ctx(int server_mode, const char *engine_id, const char *CAfile, const char *cert, const char *key, const char *dcert, const char *dkey, const char *cipher_list, const char *dh_file, const char *dh_special, int tmp_rsa, int ctx_options, int out_state, int out_verify, int verify_mode, unsigned int verify_depth) argument
[all...]
/macosx-10.10/OpenSSL098-52/src/test/
H A Drc2test.c188 idea_cbc_encrypt(out,out,8,&dkey,iv,0);
189 idea_cbc_encrypt(&(out[8]),&(out[8]),strlen(text)+1-8,&dkey,iv,0);
/macosx-10.10/cups-408/cups/cups/
H A Ddest.c3117 _cups_dnssd_device_t dkey, /* Search key */ local
3160 dkey.dest.name = name;
3167 if ((device = cupsArrayFind(data->devices, &dkey)) != NULL)
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/
H A Ddtrace.c1736 dtrace_key_t *dkey = &dtuple->dtt_key[0]; local
1777 for (i = 0; i < nkeys; i++, dkey++) {
1778 if (dkey->dttk_size != key[i].dttk_size)
1781 if (dkey->dttk_size != 0) {
1784 (void *)(uintptr_t)dkey->dttk_value,
1785 dkey->dttk_size))
1788 if (dkey->dttk_value != key[i].dttk_value)
2030 dtrace_key_t *dkey = &dvar->dtdv_tuple.dtt_key[i]; local
2037 dkey->dttk_value = kdata;
2040 dkey
[all...]

Completed in 388 milliseconds