Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dcompat.c181 if (priv_key != NULL) in DSA_get0_key()
182 *priv_key = d->priv_key; in DSA_get0_key()
186 DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key) in DSA_set0_key() argument
200 if (priv_key != NULL) { in DSA_set0_key()
201 BN_free(d->priv_key); in DSA_set0_key()
202 d->priv_key = priv_key; in DSA_set0_key()
304 if (priv_key != NULL) in DH_get0_key()
305 *priv_key = dh->priv_key; in DH_get0_key()
323 if (priv_key != NULL) { in DH_set0_key()
324 BN_free(dh->priv_key); in DH_set0_key()
[all …]
H A Dcompat.h35 const BIGNUM **priv_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.c3270 pub_key = priv_key = 0; in ImportRawDSAKey()
3284 BN_free(priv_key); in ImportRawDSAKey()
3678 if (priv_key) in extract_pem()
3679 *priv_key = NULL; in extract_pem()
3710 if (priv_key != NULL) { in extract_pem()
3773 if (priv_key == NULL && pkey != NULL) in extract_pem()
3776 *priv_key = pkey; in extract_pem()
4073 if (priv_key && pkeylist) in extract_pkcs12()
4074 *priv_key = pkeylist; in extract_pkcs12()
4175 const BIGNUM *p, *q, *g, *priv_key; in exportRawDSAKey() local
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c756 CK_BYTE * priv_key, in ber_encode_PrivateKeyInfo() argument
778 priv_key, priv_key_len); in ber_encode_PrivateKeyInfo()
813 priv_key, priv_key_len); in ber_encode_PrivateKeyInfo()
836 CK_BYTE ** priv_key) in ber_decode_PrivateKeyInfo() argument
865 rc = ber_decode_OCTET_STRING(alg + len, priv_key, &buf_len, &field_len); in ber_decode_PrivateKeyInfo()
H A Dkey_mgr.c38 CK_BYTE *priv_key = NULL; in key_mgr_get_private_key_type() local
43 &alg_len, &priv_key); in key_mgr_get_private_key_type()
/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/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c443 __DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) in __DH_set0_key() argument
449 if (priv_key != NULL) { in __DH_set0_key()
450 BN_free(dh->priv_key); in __DH_set0_key()
451 dh->priv_key = priv_key; in __DH_set0_key()
464 *priv = dh->priv_key; in __DH_get0_key()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c124 uint32_t dhgp_id, uint8_t *priv_key, uint32_t privkey_len);
5785 uint8_t *priv_key, in emlxs_BIGNUM_get_dhval() argument
5832 bytestring2bignum(&e, (unsigned char *)priv_key, privkey_len); in emlxs_BIGNUM_get_dhval()