Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c890 KMF_BIGINT rsaexp; in NSS_CreateKeypair() local
898 &rsaexp, NULL)) == KMF_OK) { in NSS_CreateKeypair()
899 if (rsaexp.len > 0 && in NSS_CreateKeypair()
900 rsaexp.len <= sizeof (publicExponent) && in NSS_CreateKeypair()
901 rsaexp.val != NULL) { in NSS_CreateKeypair()
902 (void) memcpy(&publicExponent, rsaexp.val, in NSS_CreateKeypair()
903 rsaexp.len); in NSS_CreateKeypair()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c1508 boolean_t storekey, KMF_BIGINT *rsaexp, in genrsa_keypair() argument
1530 if (rsaexp != NULL && (rsaexp->len > 0 && rsaexp->val != NULL)) { in genrsa_keypair()
1533 rsaexp->val, rsaexp->len); in genrsa_keypair()
1709 KMF_BIGINT *rsaexp = NULL; in KMFPK11_CreateKeypair() local
1720 rsaexp = kmf_get_attr_ptr(KMF_RSAEXP_ATTR, attlist, numattr); in KMFPK11_CreateKeypair()
1724 rsaexp, &pubKey, &priKey); in KMFPK11_CreateKeypair()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c1520 KMF_BIGINT *rsaexp = NULL; in OpenSSL_CreateKeypair() local
1522 rsaexp = kmf_get_attr_ptr(KMF_RSAEXP_ATTR, attrlist, numattr); in OpenSSL_CreateKeypair()
1523 if (rsaexp != NULL) { in OpenSSL_CreateKeypair()
1524 if (rsaexp->len > 0 && in OpenSSL_CreateKeypair()
1525 rsaexp->len <= sizeof (eValue) && in OpenSSL_CreateKeypair()
1526 rsaexp->val != NULL) { in OpenSSL_CreateKeypair()
1527 eValue = *(uint32_t *)rsaexp->val; in OpenSSL_CreateKeypair()