Home
last modified time | relevance | path

Searched refs:dmp1 (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dcompat.c78 RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) in RSA_set0_crt_params() argument
84 if ((r->dmp1 == NULL && dmp1 == NULL) || in RSA_set0_crt_params()
89 if (dmp1 != NULL) { in RSA_set0_crt_params()
90 BN_free(r->dmp1); in RSA_set0_crt_params()
91 r->dmp1 = dmp1; in RSA_set0_crt_params()
126 RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, in RSA_get0_crt_params() argument
129 if (dmp1 != NULL) in RSA_get0_crt_params()
130 *dmp1 = r->dmp1; in RSA_get0_crt_params()
H A Dcompat.h24 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
28 void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1,
H A Dopenssl_spi.c3171 BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL; in ImportRawRSAKey() local
3195 (dmp1 = BN_bin2bn(key->exp1.val, key->exp1.len, NULL)) == NULL) in ImportRawRSAKey()
3212 if (RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp) == 0) in ImportRawRSAKey()
3214 dmp1 = dmq1 = iqmp = NULL; in ImportRawRSAKey()
3230 BN_free(dmp1); in ImportRawRSAKey()
4119 const BIGNUM *n, *e, *d, *p, *q, *dmp1, *dmpq, *iqmp; in exportRawRSAKey() local
4123 RSA_get0_crt_params(rsa, &dmp1, &dmpq, &iqmp); in exportRawRSAKey()
4144 if (dmp1 != NULL) in exportRawRSAKey()
4145 if ((rv = sslBN2KMFBN((BIGNUM *)dmp1, &kmfkey->exp1)) != KMF_OK) in exportRawRSAKey()