Searched defs:secretkey (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/common/crypto/dh/
H A Ddh_impl.c251 uchar_t *secretkey, uint32_t *secretkey_len, /* derived secret */
272 if (secretkey == NULL) {
379 (void) memcpy(secretkey, (s + s_bytes - *secretkey_len),
250 dh_key_derive(DHbytekey *bkey, uint32_t key_type, uchar_t *secretkey, uint32_t *secretkey_len, int flag) argument
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDH.c201 soft_dh_key_derive(soft_object_t *basekey, soft_object_t *secretkey, argument
226 keylen = OBJ_SEC_VALUE_LEN(secretkey);
240 rv = dh_key_derive(&k, secretkey->key_type, key, &keylen, 0);
246 if ((OBJ_SEC_VALUE(secretkey) = malloc(keylen)) == NULL) {
251 OBJ_SEC_VALUE_LEN(secretkey) = keylen;
252 (void) memcpy(OBJ_SEC_VALUE(secretkey), key, keylen);
H A DsoftEC.c213 soft_ec_key_derive(soft_object_t *basekey, soft_object_t *secretkey, argument
254 switch (secretkey->key_type) {
269 keylen = (uint32_t)OBJ_SEC_VALUE_LEN(secretkey);
271 keylen = OBJ_SEC_VALUE_LEN(secretkey);
315 OBJ_SEC_VALUE_LEN(secretkey) = keylen;
316 OBJ_SEC_VALUE(secretkey) = buf;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal.c269 KEY *secretkey=NULL; local
317 if (secretkey != NULL) {
319 secretkey->keys)) != 0)
376 if (secretkey != NULL) {
378 while (i < secretkey->nkey) {
379 free (secretkey->keys[i]->bv_val);
380 free (secretkey->keys[i]);
383 free (secretkey->keys);
384 free (secretkey);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dkey_call.c86 key_setsecret(const char *secretkey) argument
97 (void) memcpy(netst.st_priv_key, secretkey, HEXKEYBYTES);
121 char *secretkey,
130 return (key_setsecret(secretkey));
132 arg.key.keybuf3_val = secretkey;
120 key_setsecret_g( char *secretkey, keylen_t keylen, algtype_t algtype, des_block userkey) argument
/illumos-gate/usr/src/cmd/keyserv/
H A Dsetkey.c117 keybuf3 *secretkey; member in struct:cacheuid_list
514 freekeybuf3(cp->secretkey);
515 if ((cp->secretkey = cpykeybuf3(&skey->key)) == NULL) {
529 * Store the vers 3 secretkey for this uid
546 * Set the vers 3 secretkey key for this uid
558 * Set the secretkey key for this uid
648 freekeybuf3(cp->secretkey);
852 freekeybuf3(cp->secretkey);
853 if ((cp->secretkey = cpykeybuf3(&net->st_priv_key)) == NULL) {
1117 debug(KEYSERV_DEBUG, ("fetch_netname3 sec %x", cp->secretkey));
[all...]

Completed in 69 milliseconds