Home
last modified time | relevance | path

Searched refs:rsa (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c176 struct rdma_svc_args *rsa; in svcrdma() local
178 rsa = (struct rdma_svc_args *)malloc(sizeof (struct rdma_svc_args)); in svcrdma()
179 rsa->poolid = (uint32_t)id; in svcrdma()
180 rsa->netid = NULL; in svcrdma()
181 rsa->nfs_versmin = versmin; in svcrdma()
182 rsa->nfs_versmax = versmax; in svcrdma()
183 rsa->delegation = delegation; in svcrdma()
188 if (thr_create(NULL, THR_MIN_STACK * 2, svc_rdma_creator, (void *)rsa, in svcrdma()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_sys.c149 struct rdma_svc_args rsa; in nfssys() local
159 rsa.poolid = STRUCT_FGET(ursa, poolid); in nfssys()
160 rsa.nfs_versmin = STRUCT_FGET(ursa, nfs_versmin); in nfssys()
161 rsa.nfs_versmax = STRUCT_FGET(ursa, nfs_versmax); in nfssys()
162 rsa.delegation = STRUCT_FGET(ursa, delegation); in nfssys()
164 if (copyin(arg, &rsa, sizeof (rsa))) in nfssys()
167 rsa.netid = netstore; in nfssys()
169 error = rdma_start(&rsa); in nfssys()
H A Dnfs_server.c567 rdma_start(struct rdma_svc_args *rsa) in rdma_start() argument
576 if ((rsa->nfs_versmin > rsa->nfs_versmax) || in rdma_start()
577 (rsa->nfs_versmin < NFS_SRV_VERS_MIN) || in rdma_start()
578 (rsa->nfs_versmax > NFS_SRV_VERS_MAX)) { in rdma_start()
579 rsa->nfs_versmin = NFS_SRV_VERSMIN_DEFAULT; in rdma_start()
580 rsa->nfs_versmax = NFS_SRV_VERSMAX_DEFAULT; in rdma_start()
584 ng->nfs_versmin = rsa->nfs_versmin; in rdma_start()
585 ng->nfs_versmax = rsa->nfs_versmax; in rdma_start()
588 __nfs_sc_rdma[0].sc_versmin = NFS_PROT_VERSION(rsa->nfs_versmin); in rdma_start()
589 __nfs_sc_rdma[0].sc_versmax = NFS_PROT_VERSION(rsa->nfs_versmax); in rdma_start()
[all …]
/illumos-gate/usr/src/test/smbclient-tests/cmd/abort_conn/
H A Dabort_conn.c53 tcp_abort_connections(struct sockaddr *rsa) in tcp_abort_connections() argument
62 lsa->sa_family = rsa->sa_family; in tcp_abort_connections()
63 (void) memcpy(&conn.ac_remote, rsa, sizeof (*rsa)); in tcp_abort_connections()
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c785 KMF_RAW_RSA_KEY rsa; in readAltFormatPrivateKey() local
864 (void) memset(&rsa, 0, sizeof (rsa)); in readAltFormatPrivateKey()
866 if ((ret = sslBN2KMFBN(Exp1, &rsa.exp1)) != KMF_OK) in readAltFormatPrivateKey()
868 if ((ret = sslBN2KMFBN(Exp2, &rsa.exp2)) != KMF_OK) in readAltFormatPrivateKey()
870 if ((ret = sslBN2KMFBN(COEF, &rsa.coef)) != KMF_OK) in readAltFormatPrivateKey()
873 rsa.mod.val = (uchar_t *)Mod->bv_val; in readAltFormatPrivateKey()
874 rsa.mod.len = Mod->bv_len; in readAltFormatPrivateKey()
876 rsa.pubexp.val = (uchar_t *)PubExp->bv_val; in readAltFormatPrivateKey()
877 rsa.pubexp.len = PubExp->bv_len; in readAltFormatPrivateKey()
879 rsa.priexp.val = (uchar_t *)PriExp->bv_val; in readAltFormatPrivateKey()
[all …]
H A Dcompat.h64 unsigned char *to, RSA *rsa, int padding));
67 unsigned char *to, RSA *rsa, int padding));
68 int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish) (RSA *rsa));
H A Dcompat.c401 unsigned char *to, RSA *rsa, int padding)) in RSA_meth_set_priv_enc() argument
410 unsigned char *to, RSA *rsa, int padding)) in RSA_meth_set_priv_dec() argument
417 RSA_meth_set_finish(RSA_METHOD *meth, int (*finish) (RSA *rsa)) in RSA_meth_set_finish() argument
444 return (pkey->pkey.rsa); in EVP_PKEY_get0_RSA()
/illumos-gate/usr/src/cmd/ssh/etc/
H A Dsshd83 create_key $SSHDIR/ssh_host_rsa_key rsa
108 create_key $SSHDIR/ssh_host_rsa_key rsa
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c2262 DerEncodeRSAPrivateKey(KMF_DATA *encodedkey, KMF_RAW_RSA_KEY *rsa) in DerEncodeRSAPrivateKey() argument
2275 rsa->mod.val, rsa->mod.len, in DerEncodeRSAPrivateKey()
2276 rsa->pubexp.val, rsa->pubexp.len, in DerEncodeRSAPrivateKey()
2277 rsa->priexp.val, rsa->priexp.len, in DerEncodeRSAPrivateKey()
2278 rsa->prime1.val, rsa->prime1.len, in DerEncodeRSAPrivateKey()
2279 rsa->prime2.val, rsa->prime2.len, in DerEncodeRSAPrivateKey()
2280 rsa->exp1.val, rsa->exp1.len, in DerEncodeRSAPrivateKey()
2281 rsa->exp2.val, rsa->exp2.len, in DerEncodeRSAPrivateKey()
2282 rsa->coef.val, rsa->coef.len) == -1) in DerEncodeRSAPrivateKey()
/illumos-gate/usr/src/uts/intel/rsa/
H A DMakefile42 MODULE = rsa
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c2799 &rkey->rawdata.rsa); in keyObj2RawKey()
3354 rawkey->rawdata.rsa.mod.val, in store_raw_key()
3355 rawkey->rawdata.rsa.mod.len); in store_raw_key()
3358 rawkey->rawdata.rsa.pubexp.val, in store_raw_key()
3359 rawkey->rawdata.rsa.pubexp.len); in store_raw_key()
3361 if (rawkey->rawdata.rsa.priexp.val != NULL) { in store_raw_key()
3363 rawkey->rawdata.rsa.priexp.val, in store_raw_key()
3364 rawkey->rawdata.rsa.priexp.len); in store_raw_key()
3367 if (rawkey->rawdata.rsa.prime1.val != NULL) { in store_raw_key()
3369 rawkey->rawdata.rsa.prime1.val, in store_raw_key()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/
H A DMakefile.com31 RSA_DIR = $(SRC)/common/crypto/rsa
/illumos-gate/usr/src/lib/pkcs11/libsoftcrypto/
H A DMakefile.com77 RSA_DIR = $(SRC)/common/crypto/rsa
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/
H A DMakefile.com100 RSADIR= $(SRC)/common/crypto/rsa
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c2763 RSAbytekey rsa = { 0 }; in token_specific_rsa_verify_recover() local
2784 rsa.modulus = modulus; in token_specific_rsa_verify_recover()
2785 rsa.modulus_bits = CRYPTO_BYTES2BITS(modLen); in token_specific_rsa_verify_recover()
2786 rsa.pubexpo = exp; in token_specific_rsa_verify_recover()
2787 rsa.pubexpo_bytes = sizeof (exp); in token_specific_rsa_verify_recover()
2789 if ((rc = rsa_encrypt(&rsa, pSignature, modLen, plain_data)) != CKR_OK) in token_specific_rsa_verify_recover()
/illumos-gate/usr/src/boot/efi/include/IndustryStandard/
H A DTpm20.h1546 BYTE rsa[MAX_RSA_KEY_BYTES]; member
1566 TPM2B_PUBLIC_KEY_RSA rsa; member
1636 TPM2B_PRIVATE_KEY_RSA rsa; member
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_scan.c3993 const range_seg_gap_t *rsa = x, *rsb = y; in ext_size_compare() local
3995 uint64_t sa = rsa->rs_end - rsa->rs_start; in ext_size_compare()
3999 score_a = rsa->rs_fill + ((((rsa->rs_fill << 7) / sa) * in ext_size_compare()
4000 fill_weight * rsa->rs_fill) >> 7); in ext_size_compare()
4007 if (rsa->rs_start < rsb->rs_start) in ext_size_compare()
4009 if (rsa->rs_start == rsb->rs_start) in ext_size_compare()
/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmftypes.h214 KMF_RAW_RSA_KEY rsa; member
/illumos-gate/usr/src/uts/intel/
H A DMakefile.intel661 CRYPTO_KMODS += rsa
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c4546 const RSA *rsa; in pkinit_find_private_key() local
4548 RSA *rsa; in pkinit_find_private_key() local
4643 rsa = priv->pkey.rsa; in pkinit_find_private_key()
4644 rsan = rsa->n; in pkinit_find_private_key()
4647 rsa = EVP_PKEY_get0_RSA(priv); in pkinit_find_private_key()
4648 RSA_get0_key(rsa, &rsan, NULL, NULL); in pkinit_find_private_key()
4649 n_len = RSA_size(rsa); in pkinit_find_private_key()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1375 free_raw_rsa(&key->rawdata.rsa); in kmf_free_raw_key()
/illumos-gate/exception_lists/
H A Dhdrchk235 usr/src/uts/common/gssapi/mechs/krb5/include/rsa-md4.h
/illumos-gate/usr/src/uts/common/
H A DMakefile.rules88 $(OBJS_DIR)/%.o: $(COMMONBASE)/crypto/rsa/%.c
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-kernel.p5m104 file path=kernel/crypto/$(ARCH64)/rsa group=sys mode=0755
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c2225 &rawkey->rawdata.rsa); in NSS_StoreKey()

12