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()
4174 KMF_RAW_DSA_KEY *kmfkey = &key->rawdata.dsa; in exportRawDSAKey() local
4180 (void) memset(kmfkey, 0, sizeof (KMF_RAW_DSA_KEY)); in exportRawDSAKey()
4181 if ((rv = sslBN2KMFBN((BIGNUM *)p, &kmfkey->prime)) != KMF_OK) in exportRawDSAKey()
[all …]