Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c4078 KMF_RAW_RSA_KEY *kmfkey = &key->rawdata.rsa; in exportRawRSAKey() local
4080 (void) memset(kmfkey, 0, sizeof (KMF_RAW_RSA_KEY)); in exportRawRSAKey()
4081 if ((rv = sslBN2KMFBN(rsa->n, &kmfkey->mod)) != KMF_OK) in exportRawRSAKey()
4084 if ((rv = sslBN2KMFBN(rsa->e, &kmfkey->pubexp)) != KMF_OK) in exportRawRSAKey()
4088 if ((rv = sslBN2KMFBN(rsa->d, &kmfkey->priexp)) != KMF_OK) in exportRawRSAKey()
4092 if ((rv = sslBN2KMFBN(rsa->p, &kmfkey->prime1)) != KMF_OK) in exportRawRSAKey()
4096 if ((rv = sslBN2KMFBN(rsa->q, &kmfkey->prime2)) != KMF_OK) in exportRawRSAKey()
4100 if ((rv = sslBN2KMFBN(rsa->dmp1, &kmfkey->exp1)) != KMF_OK) in exportRawRSAKey()
4104 if ((rv = sslBN2KMFBN(rsa->dmq1, &kmfkey->exp2)) != KMF_OK) in exportRawRSAKey()
4108 if ((rv = sslBN2KMFBN(rsa->iqmp, &kmfkey->coef)) != KMF_OK) in exportRawRSAKey()
[all …]