rsa_e
const BIGNUM *rsa_e(struct sshkey *k);
ASSERT_PTR_NE(rsa_e(kr), NULL);
ASSERT_PTR_NE(rsa_e(k1), NULL);
BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
if ((rsa_e = BN_new()) == NULL)
if (!BN_set_word(rsa_e, e)) {
BN_clear_free(rsa_e);
if (!RSA_set0_key(rsa, rsa_n, rsa_e, rsa_d))
rsa_n = rsa_e = rsa_d = NULL; /* transferred */
rsa_e = BN_bin2bn(key_attr[2].pValue, key_attr[2].ulValueLen, NULL);
if (rsa_n == NULL || rsa_e == NULL) {
if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL))
rsa_n = rsa_e = NULL; /* transferred */
BIGNUM *rsa_n, *rsa_e;
(r = sshbuf_put_bignum2(b, rsa_e)) != 0)
const BIGNUM *rsa_n, *rsa_e;
RSA_get0_key(rsa_from, &rsa_n, &rsa_e, NULL);
(rsa_e_dup = BN_dup(rsa_e)) == NULL) {
BIGNUM *rsa_n = NULL, *rsa_e = NULL;
if (sshbuf_get_bignum2(b, &rsa_e) != 0 ||
if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) {
rsa_n = rsa_e = NULL; /* transferred */
BN_clear_free(rsa_e);
BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
(r = sshbuf_get_bignum2(b, &rsa_e)) != 0)
if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) {
rsa_n = rsa_e = NULL; /* transferred */
BN_clear_free(rsa_e);
const BIGNUM *rsa_n, *rsa_e;
RSA_get0_key(rsa, &rsa_n, &rsa_e, NULL);
if ((r = sshbuf_put_bignum2(b, rsa_e)) != 0 ||
const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q;
RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d);
const BIGNUM *rsa_n, *rsa_e;
(rsa_e = RSA_get0_e(rsa)) == NULL) {
if (!BN_is_word(rsa_e, 65537)) {