Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c4080 KMF_RAW_RSA_KEY *kmfkey = &key->rawdata.rsa; in exportRawRSAKey() local
4082 (void) memset(kmfkey, 0, sizeof (KMF_RAW_RSA_KEY)); in exportRawRSAKey()
4083 if ((rv = sslBN2KMFBN(rsa->n, &kmfkey->mod)) != KMF_OK) in exportRawRSAKey()
4086 if ((rv = sslBN2KMFBN(rsa->e, &kmfkey->pubexp)) != KMF_OK) in exportRawRSAKey()
4090 if ((rv = sslBN2KMFBN(rsa->d, &kmfkey->priexp)) != KMF_OK) in exportRawRSAKey()
4094 if ((rv = sslBN2KMFBN(rsa->p, &kmfkey->prime1)) != KMF_OK) in exportRawRSAKey()
4098 if ((rv = sslBN2KMFBN(rsa->q, &kmfkey->prime2)) != KMF_OK) in exportRawRSAKey()
4102 if ((rv = sslBN2KMFBN(rsa->dmp1, &kmfkey->exp1)) != KMF_OK) in exportRawRSAKey()
4106 if ((rv = sslBN2KMFBN(rsa->dmq1, &kmfkey->exp2)) != KMF_OK) in exportRawRSAKey()
4110 if ((rv = sslBN2KMFBN(rsa->iqmp, &kmfkey->coef)) != KMF_OK) in exportRawRSAKey()
[all …]