Searched refs:key (Results 26 - 50 of 892) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktfr_entry.c41 if (entry->key.contents) {
46 krb5_free_keyblock_contents(context, &entry->key);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/NDBM_File/
H A DNDBM_File.xs49 #define ndbm_FETCH(db,key) dbm_fetch(db->dbp,key)
51 ndbm_FETCH(db, key)
53 datum_key key
55 #define ndbm_STORE(db,key,value,flags) dbm_store(db->dbp,key,value,flags)
57 ndbm_STORE(db, key, value, flags = DBM_REPLACE)
59 datum_key key
66 croak("ndbm store returned %d, errno %d, key \"%s\"",
67 RETVAL,errno,key
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/
H A DExpireTest.pm30 my ($cache, $key) = @_;
31 exists $cache->{$key} ? 1 : 0;
35 my ($cache, $key) = @_;
36 $cache->{$key};
40 my ($cache, $key, $val) = @_;
41 $cache->{$key} = $val;
45 my ($key) = @_;
46 delete $cache{$key};
H A DExpireFile.pm27 my ($self, $key, $data) = @_;
29 my $cur_date = pack("N", (stat($key))[9]);
30 $cache->{"C$key"} = $data;
31 $cache->{"T$key"} = $cur_date;
35 my ($self, $key) = @_;
36 $self->{C}{"C$key"};
41 my ($self, $key) = @_;
42 my $cache_date = $self->{C}{"T$key"} || $Zero;
43 my $file_date = pack("N", (stat($key))[9]);#
45 # return $self->{ARGS}{CHECK_DATE}->($key,
[all...]
/osnet-11/usr/src/lib/libldap4/include/
H A Dhsearch.h13 char * key; member in struct:__anon1914
50 int hadd_s(HASH_TABLE **hash_table, char *key, void *data, int size);
51 int hreplace_s(HASH_TABLE **hash_table, char *key, void *data, int size);
52 char *hfind_s(HASH_TABLE *hash_table, char *key);
53 int hdelete_s( HASH_TABLE *hash_table, char * key);
/osnet-11/usr/src/lib/libldap4/sec/
H A Dcram_md5.c17 /* text is the challenge, key is the password, digest is an allocated
19 void hmac_md5(unsigned char *text, int text_len, unsigned char *key, argument
32 (void) MD5Update(&tctx, key, key_len);
34 key = tk;
40 bcopy(key, k_ipad, key_len);
41 bcopy(key, k_opad, key_len);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dstate.c44 krb5_c_init_state (krb5_context context, const krb5_keyblock *key, argument
50 if (krb5_enctypes_list[i].etype == key->enctype)
59 (context, key, keyusage, new_state);
63 krb5_c_free_state (krb5_context context, const krb5_keyblock *key, argument
69 if (krb5_enctypes_list[i].etype == key->enctype)
H A Dmake_checksum_iov.c35 krb5_key key,
49 ret = verify_key(ctp, key);
61 ret = ctp->checksum(ctp, key, usage, data, num_data, &cksum_data);
81 krb5_key key; local
84 ret = krb5_k_create_key(context, keyblock, &key);
87 ret = krb5_k_make_checksum_iov(context, cksumtype, key, usage,
89 krb5_k_free_key(context, key);
33 krb5_k_make_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, krb5_key key, krb5_keyusage usage, krb5_crypto_iov *data, size_t num_data) argument
H A Dprf.c54 krb5_k_prf(krb5_context context, krb5_key key, argument
63 ktp = find_enctype(key->keyblock.enctype);
72 ret = ktp->prf(ktp, key, input, output);
80 krb5_key key; local
83 ret = krb5_k_create_key(context, keyblock, &key);
86 ret = krb5_k_prf(context, key, input, output);
87 krb5_k_free_key(context, key);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgen_subkey.c28 * Routine to automatically generate a subsession key based on an input key.
45 const krb5_keyblock *key,
59 seed = key2data(*key);
85 krb5_generate_subkey(krb5_context context, const krb5_keyblock *key, krb5_keyblock **subkey) argument
87 return krb5_generate_subkey_extended(context, key, key->enctype, subkey);
44 krb5_generate_subkey_extended(krb5_context context, const krb5_keyblock *key, krb5_enctype enctype, krb5_keyblock **subkey) argument
H A Denc_helper.c37 const krb5_keyblock *key, krb5_keyusage usage,
43 if ((ret = krb5_c_encrypt_length(context, key->enctype, plain->length,
50 ret = krb5_c_encrypt(context, key, usage, 0, plain, cipher);
36 krb5_encrypt_helper(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *plain, krb5_enc_data *cipher) argument
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Dttl_utils.c57 * Entry key
65 has_entry_expired(map_ctrl *map, datum *key) argument
76 /* Get expiry time entry for key */
77 ttl = dbm_fetch(map->ttl, *key);
81 * If we failed to get a map expiry key, which must always be
85 if ((key->dsize == strlen(MAP_EXPIRY_KEY)) &&
86 (0 == strncmp(key->dptr, MAP_EXPIRY_KEY, key->dsize))) {
111 * Need to malloc some memory before can syslog the key name
116 "Invalid TTL key i
161 datum key; local
186 update_entry_ttl(map_ctrl *map, datum *key, TTL_TYPE type) argument
236 datum key; local
[all...]
/osnet-11/usr/src/lib/libsasl/lib/
H A Dconfig.c74 char *key; member in struct:configlist
95 char *p, *key; local
122 key = p;
171 result = _sasl_strdup(key,
173 [gctx->nconfiglist].key),
178 result = _sasl_strdup(key,
179 &(configlist[nconfiglist].key),
190 [gctx->nconfiglist].key);
239 if ((((struct configlist *)gctx->configlist))[i].key)
240 sasl_FREE(((struct configlist *)gctx->configlist)[i].key);
249 sasl_config_getstring(_sasl_global_context_t *gctx, const char *key, const char *def) argument
263 sasl_config_getstring(const char *key,const char *def) argument
277 sasl_config_getint(_sasl_global_context_t *gctx, const char *key,int def) argument
294 sasl_config_getswitch(_sasl_global_context_t *gctx,const char *key,int def) argument
[all...]
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_search.c55 struct node { char *key; struct node *llink, *rlink; }; member in struct:node
75 /* Find or insert key into search tree */
77 char *key = (char *)ky; local
79 NODE *q; /* New node if key not found */
84 int r = (*compar)(key, (*rootp)->key); /* T2: */
94 q->key = key; /* Initialize new node */
102 void *key = (char *)ky; local
107 int r = (*compar)(key, (*root
[all...]
/osnet-11/usr/src/cmd/sendmail/db/dbm/
H A Ddbm.c102 __db_dbm_fetch(key)
103 datum key;
112 return (dbm_fetch(__cur_db, key));
129 __db_dbm_nextkey(key)
130 datum key;
134 COMPQUIET(key.dsize, 0);
145 __db_dbm_delete(key)
146 datum key;
152 return (dbm_delete(__cur_db, key));
156 __db_dbm_store(key, da
293 datum key; local
328 datum key; local
[all...]
/osnet-11/usr/src/lib/libsasl/include/
H A Dhmac-md5.h34 * digest may be same as text or key
37 const unsigned char *key, int key_len,
40 /* create context from key
43 const unsigned char *key, int key_len);
45 /* precalculate intermediate state from key
48 const unsigned char *key, int key_len);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/old/
H A Ddes_stringtokey.c44 krb5_keyblock *key)
56 return(mit_des_string_to_key_int(context, key, string, salt));
59 return mit_afs_string_to_key(context, key, string, salt);
40 krb5int_des_string_to_key(krb5_context context, const struct krb5_enc_provider *enc, const krb5_data *string, const krb5_data *salt, const krb5_data *parm, krb5_keyblock *key) argument
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dchdir.t49 my($key) = @_;
52 if( $key eq 'SYS$LOGIN' && !$IsVMS && !$IsMacOS ) {
53 ok( !chdir(), "chdir() on $^O ignores only \$ENV{$key} set" );
58 ok( chdir(), "chdir() w/ only \$ENV{$key} set" );
59 is( abs_path, $ENV{$key}, ' abs_path() agrees' );
69 ok( chdir(undef), "chdir(undef) w/ only \$ENV{$key} set" );
70 is( abs_path, $ENV{$key}, ' abs_path() agrees' );
81 ok( chdir(''), "chdir('') w/ only \$ENV{$key} set" );
82 is( abs_path, $ENV{$key}, ' abs_path() agrees' );
120 foreach my $key (
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Dhash.h45 bool hdelete (HASH *tb, char *key);
46 STR * hfetch ( HASH *tb, char *key );
53 bool hstore ( HASH *tb, char *key, STR *val );
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Ddotsh.pl36 local($tmp,$key,$shell,$command,$args,$vars) = '';
69 foreach $key (keys(%ENV)) {
70 $tmp .= "\$$key = \$ENV{'$key'};" if $key =~ /^[A-Za-z]\w*$/;
/osnet-11/usr/src/lib/libc/port/gen/
H A Dlsearch.c58 char *key = (char *)ky; local
64 if ((*compar)(key, base) == 0)
67 res = memcpy(base, key, width); /* base now == next */
/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dtsol_getrhent.c43 keyp = args->key.hostaddr.addr;
97 if (argp->key.hostaddr.addr == NULL ||
98 (argp->key.hostaddr.type != AF_INET &&
99 argp->key.hostaddr.type != AF_INET6))
101 if (strchr(argp->key.hostaddr.addr, ':') != NULL) {
103 if (argp->key.hostaddr.type == AF_INET)
105 escape_colon(argp->key.hostaddr.addr, addr6);
106 /* save the key in original format */
107 addr = argp->key.hostaddr.addr;
108 /* Replace the key wit
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
H A Dpair.c38 * | key | data | key |
65 putpair(char *pag, datum key, datum val) argument
73 * enter the key first
75 off -= key.dsize;
76 (void) memcpy(pag + off, key.dptr, key.dsize);
91 getpair(char *pag, datum key) argument
101 if ((i = seepair(pag, n, key.dptr, key
110 exipair(char *pag, datum key) argument
122 duppair(char *pag, datum key) argument
132 datum key; local
149 delpair(char *pag, datum key) argument
221 seepair(char *pag, register int n, register char *key, register int siz) argument
239 datum key; local
[all...]
/osnet-11/usr/src/lib/libuvfs/common/
H A Dstash.c35 libuvfs_stash_node_alloc(libuvfs_fid_t *fid, uint32_t key, void *value) argument
46 rc->st_key = key;
59 libuvfs_stash_get_impl(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint32_t key, argument
64 nkey.st_key = key;
76 libuvfs_stash_fid_get(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint32_t key, argument
82 exist = libuvfs_stash_get_impl(fs, fid, key, NULL);
93 libuvfs_stash_fs_get(libuvfs_fs_t *fs, uint32_t key, int *found) argument
99 return (libuvfs_stash_fid_get(fs, &fid, key, found));
103 libuvfs_stash_fid_store(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint32_t key, argument
111 node = libuvfs_stash_get_impl(fs, fid, key,
133 libuvfs_stash_fid_remove(libuvfs_fs_t *fs, libuvfs_fid_t *fid, uint32_t key) argument
139 libuvfs_stash_fs_store(libuvfs_fs_t *fs, uint32_t key, int overwrite, void *value) argument
150 libuvfs_stash_fs_remove(libuvfs_fs_t *fs, uint32_t key) argument
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Ddbm.c90 kdb2_fetch(key)
91 datum key;
101 return (kdb2_dbm_fetch(__cur_db, key));
119 kdb2_nextkey(key)
120 datum key;
134 kdb2_delete(key)
135 datum key;
141 return (kdb2_dbm_delete(__cur_db, key));
145 kdb2_store(key, dat)
146 datum key, da
[all...]

Completed in 46 milliseconds

1234567891011>>