Home
last modified time | relevance | path

Searched refs:tmpkey (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_seed.c37 krb5_keyblock *tmpkey; local
40 code = krb5_copy_keyblock(context, key, &tmpkey);
46 for (i=0; i<tmpkey->length; i++)
47 tmpkey->contents[i] = key->contents[key->length - 1 - i];
49 code = kg_encrypt(context, tmpkey, KG_USAGE_SEAL, NULL, zeros, seed, 16);
51 krb5_free_keyblock(context, tmpkey);
/titanic_44/usr/src/cmd/svr4pkg/pkgadm/
H A Dcerts.c83 EVP_PKEY *tmpkey = NULL; in load_cert_and_key() local
138 tmpkey = in load_cert_and_key()
145 tmpkey = sk_EVP_PKEY_value(keys, 0); in load_cert_and_key()
153 if (key && tmpkey) { in load_cert_and_key()
154 *key = tmpkey; in load_cert_and_key()
155 tmpkey = NULL; in load_cert_and_key()
167 if (tmpkey != NULL) { in load_cert_and_key()
168 sunw_evp_pkey_free(tmpkey); in load_cert_and_key()
/titanic_44/usr/src/common/net/wanboot/
H A Dp12misc.c136 EVP_PKEY *tmpkey; in sunw_split_certs() local
158 tmpkey = sk_EVP_PKEY_value(allkeys, k); in sunw_split_certs()
162 res = X509_check_private_key(tmpcert, tmpkey); in sunw_split_certs()
189 tmpkey = sk_EVP_PKEY_delete(allkeys, k); in sunw_split_certs()
190 sunw_evp_pkey_free(tmpkey); in sunw_split_certs()
201 tmpkey = sk_EVP_PKEY_delete(allkeys, k); in sunw_split_certs()
202 if (sk_EVP_PKEY_push(nomatch, tmpkey) == 0) { in sunw_split_certs()
203 sunw_evp_pkey_free(tmpkey); in sunw_split_certs()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchpw.c362 krb5_keyblock *tmpkey; in krb5int_rd_setpw_rep() local
437 ret = krb5_auth_con_getsendsubkey(context, auth_context, &tmpkey); in krb5int_rd_setpw_rep()
443 krb5_free_keyblock(context, tmpkey); in krb5int_rd_setpw_rep()
457 ret = krb5_auth_con_setrecvsubkey(context, auth_context, tmpkey); in krb5int_rd_setpw_rep()
458 krb5_free_keyblock(context, tmpkey); in krb5int_rd_setpw_rep()
/titanic_44/usr/src/lib/libpkg/common/
H A Dkeystore.c628 EVP_PKEY *tmpkey = NULL; in find_key_cert_pair() local
658 tmpkey = sk_EVP_PKEY_value(ks->pkeys, 0); in find_key_cert_pair()
660 if (sunw_check_keys(tmpcert, tmpkey)) { in find_key_cert_pair()
665 *key = tmpkey; in find_key_cert_pair()
666 tmpkey = NULL; in find_key_cert_pair()
675 &tmpkey, &tmpcert); in find_key_cert_pair()
687 *key = tmpkey; in find_key_cert_pair()
688 tmpkey = NULL; in find_key_cert_pair()
697 if (tmpkey != NULL) in find_key_cert_pair()
698 sunw_evp_pkey_free(tmpkey); in find_key_cert_pair()
H A Dp12lib.c534 EVP_PKEY *tmpkey; in sunw_split_certs() local
556 tmpkey = sk_EVP_PKEY_value(allkeys, k); in sunw_split_certs()
560 res = X509_check_private_key(tmpcert, tmpkey); in sunw_split_certs()
587 tmpkey = sk_EVP_PKEY_delete(allkeys, k); in sunw_split_certs()
588 sunw_evp_pkey_free(tmpkey); in sunw_split_certs()
599 tmpkey = sk_EVP_PKEY_delete(allkeys, k); in sunw_split_certs()
600 if (sk_EVP_PKEY_push(nomatch, tmpkey) == 0) { in sunw_split_certs()
601 sunw_evp_pkey_free(tmpkey); in sunw_split_certs()
/titanic_44/usr/src/lib/libdscfg/common/
H A Dcfg.c396 char tmpkey[CFG_MAX_KEY]; in cfg_get_cstring() local
424 bzero(tmpkey, sizeof (tmpkey)); in cfg_get_cstring()
425 strcpy(tmpkey, key); in cfg_get_cstring()
426 section = strtok(tmpkey, "."); in cfg_get_cstring()
692 char tmpkey[CFG_MAX_KEY]; in cfg_put_cstring() local
714 strcpy(tmpkey, key); in cfg_put_cstring()
715 section = strtok(tmpkey, "."); in cfg_put_cstring()
2373 char tmpkey[CFG_MAX_KEY]; in cfg_update_parser_config() local
2388 bzero(tmpkey, sizeof (tmpkey)); in cfg_update_parser_config()
2389 strcpy(tmpkey, key); in cfg_update_parser_config()
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c2840 uint32_t tmpkey, theKey; in emlxs_get_key() local
2852 tmpkey = mb->un.varWords[30]; in emlxs_get_key()
2866 key850 = (uint16_t)((tmpkey & 0x00FFFF00) >> 8); in emlxs_get_key()