| /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 181 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() 300 DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key() argument 304 if (priv_key != NULL) in DH_get0_key() 305 *priv_key = dh->priv_key; in DH_get0_key() [all …]
|
| H A D | compat.h | 35 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 D | openssl_spi.c | 3240 BIGNUM *priv_key = NULL, *pub_key = NULL; in ImportRawDSAKey() local 3254 if ((priv_key = BN_bin2bn(key->value.val, key->value.len, in ImportRawDSAKey() 3265 if (DSA_set0_key(dsa, pub_key, priv_key) == 0) in ImportRawDSAKey() 3267 pub_key = priv_key = 0; in ImportRawDSAKey() 3281 BN_free(priv_key); in ImportRawDSAKey() 3662 char *filename, CK_UTF8CHAR *pin, CK_ULONG pinlen, EVP_PKEY **priv_key, in extract_pem() argument 3675 if (priv_key) in extract_pem() 3676 *priv_key = NULL; in extract_pem() 3707 if (priv_key != NULL) { in extract_pem() 3770 if (priv_key == NULL && pkey != NULL) in extract_pem() [all …]
|
| /illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
| H A D | asn1.c | 756 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 D | key_mgr.c | 38 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 D | impl.h | 1148 pub_count, priv_template, priv_count, pub_key, priv_key, req) ( \ argument 1152 priv_count, pub_key, priv_key, req) : \
|
| /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 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 D | emlxs_dhchap.c | 124 uint32_t dhgp_id, uint8_t *priv_key, uint32_t privkey_len); 5781 uint8_t *priv_key, in emlxs_BIGNUM_get_dhval() argument 5828 bytestring2bignum(&e, (unsigned char *)priv_key, privkey_len); in emlxs_BIGNUM_get_dhval()
|