/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/ |
H A D | descbc.c | 44 krb5_const krb5_keyblock *key, 52 if (key->length != MIT_DES_KEYSIZE) 64 ret = k5_ef_mac(context, (krb5_keyblock *)key, 43 k5_descbc_hash(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/raw/ |
H A D | raw_decrypt.c | 41 const krb5_keyblock *key, krb5_keyusage usage, 47 return((*(enc->decrypt))(context, key, ivec, input, output)); 38 krb5_raw_decrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | pkp_hash.c | 58 uint_t key = 0x12345678; /* arbitrary value */ local 62 hash = MOD2((key + len), PKP_HASH_SIZE);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hsearch.c | 75 DBT key, val; local 80 key.data = (u_char *)item.key; 81 key.size = strlen(item.key) + 1; 86 status = (dbp->put)(dbp, &key, &val, R_NOOVERWRITE); 91 status = (dbp->get)(dbp, &key, &val, 0); 97 retval.key = item.key;
|
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtrenew.c | 38 reg Void_t* key; local 72 key = _DTKEY(obj,disc->key,disc->size); 73 e->hash = _DTHSH(dt,key,disc,disc->size);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp5.c | 47 long key; local 53 getmessage (m, S_CHILD_DONE, &key, &status, &err); 54 syslog(LOG_DEBUG, "s_child_done(%d, %d, %d)", key, status, err); 57 if ((Exec_Table[i]->key == key) && (Exec_Table[i]->md == md)) { 62 key, md, ep);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/aes/ |
H A D | aes_s2k.c | 49 krb5_keyblock *key) 85 * Dense key space, no parity bits or anything, so take a shortcut 86 * and use the key contents buffer for the generated bytes. 89 if (key->length != 16 && key->length != 32) 91 out.data = (char *) key->contents; 92 out.length = key->length; 94 err = krb5int_pbkdf2_hmac_sha1 (context, &out, iter_count, key->enctype, 103 * The derive key operation below will not work correctly 104 * if the input and output key pointer 44 krb5int_aes_string_to_key(krb5_context context, const struct krb5_enc_provider *enc, const krb5_data *string, const krb5_data *salt, const krb5_data *params, krb5_keyblock *key) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/ |
H A D | arcfour_str2key.c | 25 const krb5_data *params, krb5_keyblock *key) 34 if (key->length != 16) 60 memcpy(key->contents, md4_context.digest, 16); 22 krb5int_arcfour_string_to_key(krb5_context context, const struct krb5_enc_provider *enc, const krb5_data *string, const krb5_data *salt, const krb5_data *params, krb5_keyblock *key) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/ |
H A D | hash_ef_generic.c | 62 krb5_keyblock *key, 100 inlen, key, 61 k5_ef_mac(krb5_context context, krb5_keyblock *key, krb5_data *ivec, krb5_const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | string_to_key.c | 41 krb5_keyblock *key); 47 krb5_keyblock *key) 50 NULL, key); 57 const krb5_data *params, krb5_keyblock *key) 90 if ((key->contents = (krb5_octet *) malloc(keylength)) == NULL) 93 key->magic = KV5M_KEYBLOCK; 94 key->enctype = enctype; 95 key->length = keylength; 97 key->dk_list = NULL; 98 key 45 krb5_c_string_to_key(krb5_context context, krb5_enctype enctype, const krb5_data *string, const krb5_data *salt, krb5_keyblock *key) argument 54 krb5_c_string_to_key_with_params(krb5_context context, krb5_enctype enctype, const krb5_data *string, const krb5_data *salt, const krb5_data *params, krb5_keyblock *key) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | read_servi.c | 28 * It is a convenience function that reads a key out of a keytab. 41 * principal, vno, and enctype and returns the resulting key in *key 47 krb5_kt_read_service_key(krb5_context context, krb5_pointer keyprocarg, krb5_principal principal, krb5_kvno vno, krb5_enctype enctype, krb5_keyblock **key) argument 77 krb5_copy_keyblock(context, &entry.key, key);
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | mtctxres.c | 20 static pthread_key_t key; variable 35 * Initialize the TSD key. By doing this at library load time, we're 43 pthread_keycreate_ret = pthread_key_create(&key, __res_destroy_ctx); 72 if (pthread_getspecific(key) != 0) { 84 if ((ret = pthread_setspecific(key, mt)) != 0) { 127 if (((mt = pthread_getspecific(key)) != 0) || 129 (mt = pthread_getspecific(key)) != 0)) {
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | bgets.c | 83 static thread_key_t key = THR_ONCE_KEY; local 84 char *stop = _get_stop(&key);
|
H A D | bufsplit.c | 81 static thread_key_t key = THR_ONCE_KEY; local 82 char **bsplitchar = _get_bsplitchar(&key);
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_wlan.c | 32 * and key setting). 68 * Create/update security key for WLAN <essid, bssid>. 72 uint32_t secmode, uint_t keyslot, const char *key) 75 linkname, essid, bssid, secmode, keyslot, key, B_FALSE)); 71 nwam_wlan_set_key(const char *linkname, const char *essid, const char *bssid, uint32_t secmode, uint_t keyslot, const char *key) argument
|
/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | search.h | 31 typedef struct entry { char *key, *data; } ENTRY; member in struct:entry
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | tfind.c | 48 typedef struct node { void *key; struct node *llink, *rlink; } NODE; member in struct:node 61 void *key = (char *)ky; local 66 int r = (*compar)(key, (*rootp)->key); /* T2: */
|
H A D | tsdalloc.c | 69 static thread_key_t key = THR_ONCE_KEY; local 79 if ((error = thr_keycreate_once(&key, _free_tsdbuf)) != 0) { 84 if ((loc = pthread_getspecific(key)) != NULL) { 92 if ((error = thr_setspecific(key, loc)) != 0) {
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | pids.c | 59 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) function 117 sfkeyprintf(sfstdout, format, format, key, NiL);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | udpublickey.c | 38 * YP updater for public key map 54 char key[256]; local 88 if (! fread(key, keylen, 1, stdin)) { 91 key[keylen] = 0; 103 if (strcmp(name, key) != 0) { 108 * Can't change "nobody"s key. 133 fprintf(wf, "%s %s\n", key, data); 154 fprintf(wf, "%s %s\n", key, data);
|
/illumos-gate/usr/src/common/crypto/des/ |
H A D | des_ks.c | 249 * This routine initializes the key schedule. 252 des_ks(uint64_t *ks, uint64_t key) argument 258 c = pc1_table[0][key >> 57] | 259 ((pc1_table[0][(key >> 49) & 127ULL]) << 1) | 260 ((pc1_table[0][(key >> 41) & 127ULL]) << 2) | 261 ((pc1_table[0][(key >> 33) & 127ULL]) << 3) | 262 pc1_table[1][(key >> 25) & 127ULL] | 263 ((pc1_table[1][(key >> 17) & 127ULL]) << 1) | 264 ((pc1_table[1][(key >> 9) & 127ULL]) << 2) | 265 ((pc1_table[1][(key >> [all...] |
/illumos-gate/usr/src/common/net/wanboot/crypt/ |
H A D | aes_test.c | 32 * Encrypts plain text with the defined key and verifies that the result 46 char key[AES_256_KEY_SIZE * 2]; member in struct:test_data 69 unsigned char key[AES_256_KEY_SIZE]; local 88 getxdata(key, td[i].key, td[i].keysize); 89 aes_key(ah, key, td[i].keysize);
|
H A D | hmac_sha1.c | 34 HMACHashKey(uchar_t *hashedKey, const uchar_t *key, size_t klen) argument 39 SHA1Update(&keyContext, key, klen); 44 HMACInit(SHA1_CTX *sha1Context, const uchar_t *key, size_t klen) argument 52 HMACHashKey(hashedKey, key, klen); 56 keyptr = key; 75 HMACFinal(SHA1_CTX *sha1Context, const uchar_t *key, size_t klen, argument 84 HMACHashKey(hashedKey, key, klen); 88 keyptr = key;
|
H A D | hmac_test.c | 46 unsigned char key[80]; member in struct:test_data 64 getxdata(td[0].key, "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b", 71 (void) strcpy((char *)td[1].key, "Jefe"); 77 getxdata(td[2].key, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 85 getxdata(td[3].key, "0102030405060708090a0b0c0d0e0f1011121314151617" 94 getxdata(td[4].key, "0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c", 101 getxdata(td[5].key, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 111 getxdata(td[6].key, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 126 HMACInit(&sha, td[i].key, td[i].keylen); 128 HMACFinal(&sha, td[i].key, t [all...] |
/illumos-gate/usr/src/head/ |
H A D | search.h | 52 typedef struct entry { char *key, *data; } ENTRY; member in struct:entry
|