Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c4117 KMF_RAW_RSA_KEY *kmfkey = &key->rawdata.rsa; in exportRawRSAKey() local
4125 (void) memset(kmfkey, 0, sizeof (KMF_RAW_RSA_KEY)); in exportRawRSAKey()
4126 if ((rv = sslBN2KMFBN((BIGNUM *)n, &kmfkey->mod)) != KMF_OK) in exportRawRSAKey()
4129 if ((rv = sslBN2KMFBN((BIGNUM *)e, &kmfkey->pubexp)) != KMF_OK) in exportRawRSAKey()
4133 if ((rv = sslBN2KMFBN((BIGNUM *)d, &kmfkey->priexp)) != KMF_OK) in exportRawRSAKey()
4137 if ((rv = sslBN2KMFBN((BIGNUM *)p, &kmfkey->prime1)) != KMF_OK) in exportRawRSAKey()
4141 if ((rv = sslBN2KMFBN((BIGNUM *)q, &kmfkey->prime2)) != KMF_OK) in exportRawRSAKey()
4145 if ((rv = sslBN2KMFBN((BIGNUM *)dmp1, &kmfkey->exp1)) != KMF_OK) in exportRawRSAKey()
4149 if ((rv = sslBN2KMFBN((BIGNUM *)dmpq, &kmfkey->exp2)) != KMF_OK) in exportRawRSAKey()
4153 if ((rv = sslBN2KMFBN((BIGNUM *)iqmp, &kmfkey->coef)) != KMF_OK) in exportRawRSAKey()
[all …]