/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | compat.c | 177 DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key) in DSA_get0_key() argument 179 if (pub_key != NULL) in DSA_get0_key() 180 *pub_key = d->pub_key; in DSA_get0_key() 186 DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key) in DSA_set0_key() argument 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() 300 DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key() argument 302 if (pub_key != NULL) in DH_get0_key() [all …]
|
H A D | compat.h | 34 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 D | openssl_spi.c | 3243 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 D | pkinit_crypto_openssl.c | 443 __DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) in __DH_set0_key() argument 445 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 2324 DH_get0_key(cryptoctx->dh, &pub_key, NULL); in client_create_dh() 2343 print_pubkey(pub_key, "client's pub_key="); in client_create_dh() 2346 DH_check_pub_key(cryptoctx->dh, pub_key, &dh_err); in client_create_dh() 2368 if ((asn_pub_key = BN_to_ASN1_INTEGER(pub_key, NULL)) == NULL) in client_create_dh() [all …]
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_dhchap.h | 247 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 D | key_prot.x | 235 keybuf3 pub_key; member
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpm_specific.c | 498 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 D | key_prot.c | 244 if (!xdr_keybuf3(xdrs, &objp->pub_key)) in xdr_deskeyarg3()
|
H A D | key_call.c | 743 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 D | impl.h | 1140 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 D | emlxs_dhchap.c | 2643 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 D | setkey.c | 1522 xpublic = &arg->pub_key; in pk_get_conv_key3()
|