search for: priv_key

Displaying 10 results from an estimated 10 matches for "priv_key".

2017 Jun 23
5
OpenSSL 1.1 support status : what next?
OpenSC has taken a different approach to OpenSSL-1.1. Rather then writing a shim for OpenSSL-1.1, the OpenSC code has been converted to the OpenSSL-1.1 API and a sc-ossl-compat.h" file consisting of defines and macros was written to support older versions of OpenSSL and Libressl. https://github.com/OpenSC/OpenSC/blob/master/src/libopensc/sc-ossl-compat.h The nice part of this approach is
2017 Jun 24
2
OpenSSL 1.1 support status : what next?
...>engine); > #endif > ?? > OPENSSL_cleanse(ctx, sizeof(*ctx)); > > ?? > return 1; > } > ?---->8----- > > > Other functions are getter and setters such as : > > ?----8<-----? > void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) > { > if (pub_key != NULL) > *pub_key = dh->pub_key; > if (priv_key != NULL) > *priv_key = dh->priv_key; > } > > int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) > { > /* If the field pub_key in dh is NULL, the corresponding input > * parameters MU...
2005 May 19
1
ssh-keygen private keys export - new feature
...buffer_put_int(&b, 0); + buffer_put_bignum_bits(&b, key->dsa->p); + buffer_put_bignum_bits(&b, key->dsa->g); + buffer_put_bignum_bits(&b, key->dsa->q); + buffer_put_bignum_bits(&b, key->dsa->pub_key); + buffer_put_bignum_bits(&b, key->dsa->priv_key); + break; + case KEY_RSA: + buffer_put_bignum_bits(&b, key->rsa->e); + buffer_put_bignum_bits(&b, key->rsa->d); + buffer_put_bignum_bits(&b, key->rsa->n); + buffer_put_bignum_bits(&b, key->rsa->iqmp); + buffer_put_bignum_bits(&b, key->rsa->q)...
2001 Nov 04
4
Slow connection performance with ssh2
...SSH2_MSG_KEXINIT received SSH2_MSG_KEX_DH_GEX_REQUEST sent SSH2_MSG_KEX_DH_GEX_REQUEST received expecting SSH2_MSG_KEX_DH_GEX_GROUP SSH2_MSG_KEX_DH_GEX_GROUP sent ********* 3.330 seconds ********* 3.39 seconds dh_gen_key: priv key bits set: 134/256 dh_gen_key: priv_key bits set: 126/256 bits set: 1573/3191 bits_set: 1582/3191 SSH2_MSG_KEX_DH_GEX_INIT sent expecting SSH2_MSG_KEX_DH_GEX_INIT expecting SSH2_MSG_KEX_DH_GEX_REPLY bits set: 1573/3191 ********* 4.260 seconds ********* 4.730 se...
2012 Jan 28
1
PATCH: Support for encrypted host keys
...itional_parameters(key); +} + +static void +buffer_put_key_dsa(Buffer *buffer, const DSA *key) +{ + buffer_put_bignum(buffer, key->p); + buffer_put_bignum(buffer, key->q); + buffer_put_bignum(buffer, key->g); + buffer_put_bignum(buffer, key->pub_key); + buffer_put_bignum(buffer, key->priv_key); +} + +static void +buffer_get_key_dsa(Buffer *buffer, DSA *key) +{ + buffer_get_bignum(buffer, key->p); + buffer_get_bignum(buffer, key->q); + buffer_get_bignum(buffer, key->g); + buffer_get_bignum(buffer, key->pub_key); + buffer_get_bignum(buffer, key->priv_key); +} + +void +buffe...
2003 Oct 08
4
OS/390 openssh
..._func__ "openssh" +# endif #endif #if defined(KRB5) && !defined(HEIMDAL) diff -bur openssh-3.7.1p2.orig/dh.c openssh-3.7.1p2/dh.c --- openssh-3.7.1p2.orig/dh.c Wed May 14 05:40:07 2003 +++ openssh-3.7.1p2/dh.c Tue Oct 7 08:22:00 2003 @@ -210,7 +210,7 @@ if (!BN_rand(dh->priv_key, 2*need, 0, 0)) fatal("dh_gen_key: BN_rand failed"); if (DH_generate_key(dh) == 0) - fatal("DH_generate_key"); + fatal("dh_gen_key: DH_generate_key failed"); for (i = 0; i <= BN_num_bits(dh->priv_key); i++) if (BN_is_bit_set(dh->priv_key, i))...
2015 Jul 26
2
[PATCH] ssh-agent: Add support to load additional certificates
...; + !BN_is_zero(k->rsa->d) && + !BN_is_zero(k->rsa->q) && + !BN_is_zero(k->rsa->p) && + !BN_is_zero(k->rsa->iqmp)) + return 1; + break; + case KEY_DSA: + case KEY_DSA_CERT_V00: + case KEY_DSA_CERT: + if (k->dsa && k->dsa->priv_key) + return 1; + break; + case KEY_ECDSA: + case KEY_ECDSA_CERT: + if (k->ecdsa && EC_KEY_get0_private_key(k->ecdsa)) + return 1; + break; +#endif /* WITH_OPENSSL */ + case KEY_ED25519: + case KEY_ED25519_CERT: + if (k->ed25519_sk) + return 1; + break; + case KEY_UNSPEC: +...
2022 May 10
5
Dovecot v2.3.19 released
Hi all! We are pleased to release v2.3.19 of Dovecot. The docker images have been upgraded to use bullseye as base image. https://dovecot.org/releases/2.3/dovecot-2.3.19.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.19.tar.gz.sig Binary packages in https://repo.dovecot.org/ Docker images in https://hub.docker.com/r/dovecot/dovecot Regards, Aki Tuomi Open-Xchange oy -- + Added
2022 May 10
5
Dovecot v2.3.19 released
Hi all! We are pleased to release v2.3.19 of Dovecot. The docker images have been upgraded to use bullseye as base image. https://dovecot.org/releases/2.3/dovecot-2.3.19.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.19.tar.gz.sig Binary packages in https://repo.dovecot.org/ Docker images in https://hub.docker.com/r/dovecot/dovecot Regards, Aki Tuomi Open-Xchange oy -- + Added
2012 Sep 17
9
[PATCH] Upgrade vtpmd to berlios version 0.7.4
...(void) - { - int res = 0; -- char *data = "RSA PKCS #1 v1.5 Test-String"; -+ uint8_t *data = (uint8_t*)"RSA PKCS #1 v1.5 Test-String"; - uint8_t buf[256]; -- size_t buf_len, data_len = strlen(data); -+ size_t buf_len, data_len = strlen((char*)data); - rsa_private_key_t priv_key; - rsa_public_key_t pub_key; - -diff -uprN orig/tpm_emulator-0.4/tpm/tpm_ticks.c tpm_emulator/tpm/tpm_ticks.c ---- orig/tpm_emulator-0.4/tpm/tpm_ticks.c 2006-06-23 03:37:07.000000000 -0700 -+++ tpm_emulator/tpm/tpm_ticks.c 2006-07-24 14:35:35.000000000 -0700 -@@ -1,6 +1,7 @@ - /* Software-B...