Home
last modified time | relevance | path

Searched refs:pub_key (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dcompat.c179 if (pub_key != NULL) in DSA_get0_key()
180 *pub_key = d->pub_key; in DSA_get0_key()
193 if (d->pub_key == NULL && pub_key == NULL) in DSA_set0_key()
196 if (pub_key != NULL) { in DSA_set0_key()
197 BN_free(d->pub_key); in DSA_set0_key()
198 d->pub_key = pub_key; in DSA_set0_key()
302 if (pub_key != NULL) in DH_get0_key()
303 *pub_key = dh->pub_key; in DH_get0_key()
316 if (dh->pub_key == NULL && pub_key == NULL) in DH_set0_key()
319 if (pub_key != NULL) { in DH_set0_key()
[all …]
H A Dcompat.h34 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
36 int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
48 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);
49 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
H A Dopenssl_spi.c3243 BIGNUM *priv_key = NULL, *pub_key = NULL; in ImportRawDSAKey() local
3261 if (key->pubvalue.val != NULL && (pub_key = in ImportRawDSAKey()
3268 if (DSA_set0_key(dsa, pub_key, priv_key) == 0) in ImportRawDSAKey()
3270 pub_key = priv_key = 0; in ImportRawDSAKey()
3285 BN_free(pub_key); in ImportRawDSAKey()
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c445 if (pub_key != NULL) { in __DH_set0_key()
446 BN_free(dh->pub_key); in __DH_set0_key()
447 dh->pub_key = pub_key; in __DH_set0_key()
462 *pub = dh->pub_key; in __DH_get0_key()
2294 const BIGNUM *pub_key; in client_create_dh() local
2451 if (pub_key != NULL) in client_process_dh()
2452 ASN1_INTEGER_free(pub_key); in client_process_dh()
2462 if (pub_key != NULL) in client_process_dh()
2463 ASN1_INTEGER_free(pub_key); in client_process_dh()
2551 BIGNUM *pub_key; in server_process_dh() local
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.h247 uint8_t pub_key[512]; /* max is 512 bytes value of */ member
379 uint8_t pub_key[512]; /* max is 512 bytes */ member
/illumos-gate/usr/src/uts/common/rpc/
H A Dkey_prot.x235 keybuf3 pub_key; member
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c498 TCPA_PUBKEY pub_key; in set_public_modulus() local
511 result = Trspi_UnloadBlob_PUBKEY(&offset, blob, &pub_key); in set_public_modulus()
520 free(pub_key.pubKey.key); in set_public_modulus()
521 pub_key.pubKey.keyLength = size_n; in set_public_modulus()
522 pub_key.pubKey.key = n; in set_public_modulus()
525 Trspi_LoadBlob_PUBKEY(&offset, pub_blob, &pub_key); in set_public_modulus()
528 free(pub_key.algorithmParms.parms); in set_public_modulus()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dkey_prot.c244 if (!xdr_keybuf3(xdrs, &objp->pub_key)) in xdr_deskeyarg3()
H A Dkey_call.c743 arg.pub_key.keybuf3_len = pkeylen/4 + 1; in key_get_conv_g()
744 arg.pub_key.keybuf3_val = (char *)pkey; in key_get_conv_g()
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dimpl.h1140 pub_count, priv_template, priv_count, pub_key, priv_key, req) ( \ argument
1144 priv_count, pub_key, priv_key, req) : \
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c2643 bcopy((void *) node_dhc->pub_key, (void *)pCmd, in emlxs_issue_dhchap_reply()
2646 bcopy((void *) node_dhc->nlp_auth_misc.pub_key, in emlxs_issue_dhchap_reply()
5732 bignum2bytestring(node_dhc->pub_key, &result1, in emlxs_BIGNUM_get_pubkey()
5737 bignum2bytestring(node_dhc->nlp_auth_misc.pub_key, &result1, in emlxs_BIGNUM_get_pubkey()
5744 bignum2bytestring(node_dhc->nlp_auth_misc.pub_key, &result1, in emlxs_BIGNUM_get_pubkey()
/illumos-gate/usr/src/cmd/keyserv/
H A Dsetkey.c1522 xpublic = &arg->pub_key; in pk_get_conv_key3()