Searched refs:priv_key (Results 1 – 10 of 10) sorted by relevance
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | dh.c | 205 if (dh->priv_key != NULL) in dh_gen_key() 206 BN_clear_free(dh->priv_key); in dh_gen_key() 207 if ((dh->priv_key = BN_new()) == NULL) in dh_gen_key() 210 if (!BN_rand(dh->priv_key, 2*need, 0, 0)) in dh_gen_key() 214 for (i = 0; i <= BN_num_bits(dh->priv_key); i++) in dh_gen_key() 215 if (BN_is_bit_set(dh->priv_key, i)) in dh_gen_key() 218 bits_set, BN_num_bits(dh->priv_key)); in dh_gen_key()
|
H A D | authfd.c | 488 buffer_put_bignum2(b, key->dsa->priv_key); in ssh_encode_identity_ssh2()
|
H A D | key.c | 116 if ((k->dsa->priv_key = BN_new()) == NULL) in key_new_private()
|
/titanic_44/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()
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 3207 if ((dsa->priv_key = BN_bin2bn(key->value.val, key->value.len, in ImportRawDSAKey() 3208 dsa->priv_key)) == NULL) in ImportRawDSAKey() 3606 CK_ULONG pinlen, EVP_PKEY **priv_key, KMF_DATA **certs, in extract_pem() argument 3620 if (priv_key) in extract_pem() 3621 *priv_key = NULL; in extract_pem() 3653 if (priv_key != NULL) { in extract_pem() 3716 if (priv_key == NULL && pkey != NULL) in extract_pem() 3718 else if (priv_key != NULL && pkey != NULL) in extract_pem() 3719 *priv_key = pkey; in extract_pem() 3992 STACK_OF(EVP_PKEY) **priv_key, STACK_OF(X509) **certs, in extract_pkcs12() [all …]
|
/titanic_44/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) : \
|
/titanic_44/usr/src/cmd/ssh/ssh-keygen/ |
H A D | ssh-keygen.c | 260 buffer_get_bignum_bits(&b, key->dsa->priv_key); in do_convert_private_ssh2_from_blob()
|
/titanic_44/usr/src/cmd/ssh/ssh-agent/ |
H A D | ssh-agent.c | 478 buffer_get_bignum2(&e->request, k->dsa->priv_key); in process_add_identity()
|
/titanic_44/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); 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()
|