Searched refs:pubkey (Results 1 - 19 of 19) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dpubkey.c0 /* pubkey.c - pubkey dispatcher
55 gcry_pk_spec_t *pubkey; member in struct:pubkey_table_entry
201 for (i = 0; (! err) && pubkey_table[i].pubkey; i++)
204 if (! pubkey_table[i].pubkey->func) \
205 pubkey_table[i].pubkey->func = dummy_##func;
218 (void *) pubkey_table[i].pubkey,
231 gcry_pk_spec_t *pubkey = (gcry_pk_spec_t *) spec; local
233 const char **aliases = pubkey->aliases;
234 int ret = stricmp (name, pubkey
246 gcry_module_t pubkey; local
258 _gcry_pk_register(gcry_pk_spec_t *pubkey, pk_extra_spec_t *extraspec, unsigned int *algorithm_id, gcry_module_t *module) argument
312 gcry_module_t pubkey; local
339 gcry_module_t pubkey; local
374 gcry_pk_spec_t *pubkey = (gcry_pk_spec_t *) module->spec; local
390 gcry_module_t pubkey; local
411 gcry_pk_spec_t *pubkey; local
445 gcry_module_t pubkey; local
468 gcry_module_t pubkey; local
491 gcry_module_t pubkey; local
514 gcry_module_t pubkey; local
549 gcry_module_t pubkey; local
583 gcry_module_t pubkey; local
611 gcry_pk_spec_t *pubkey; local
661 gcry_pk_spec_t *pubkey; local
708 gcry_pk_spec_t *pubkey; local
752 gcry_pk_spec_t *pubkey; local
982 gcry_pk_spec_t *pubkey; local
1068 gcry_pk_spec_t *pubkey; local
1165 gcry_pk_spec_t *pubkey = NULL; local
1595 gcry_pk_spec_t *pubkey = NULL; local
1740 gcry_pk_spec_t *pubkey = NULL; local
1832 gcry_pk_spec_t *pubkey = NULL; local
2068 gcry_pk_spec_t *pubkey = NULL; local
2332 gcry_pk_spec_t *pubkey; local
2370 gcry_pk_spec_t *pubkey = NULL; local
2535 gcry_module_t pubkey; local
2608 gcry_module_t pubkey; local
2693 gcry_module_t pubkey; local
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDH.h43 CK_RV soft_dh_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey);
H A DsoftDH.c88 soft_dh_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey) argument
101 if ((pubkey->class != CKO_PUBLIC_KEY) ||
102 (pubkey->key_type != CKK_DH)) {
137 rv = soft_get_public_value(pubkey, CKA_PRIME, prime, &prime_len);
142 rv = soft_get_public_value(pubkey, CKA_BASE, base, &base_len);
154 k.rfunc = (IS_TOKEN_OBJECT(pubkey) || IS_TOKEN_OBJECT(prikey)) ?
170 if ((rv = soft_genDHkey_set_attribute(pubkey, CKA_VALUE, public_y,
H A DsoftDSA.h51 CK_RV soft_dsa_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey);
H A DsoftEC.h46 extern CK_RV soft_ec_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey);
H A DsoftRSA.h49 CK_RV soft_rsa_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey);
H A DsoftDSA.c517 * passed in parameters pubkey and prikey.
520 soft_dsa_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey) argument
535 if ((pubkey == NULL) || (prikey == NULL)) {
540 rv = soft_get_public_value(pubkey, CKA_PRIME, prime, &prime_len);
546 rv = soft_get_public_value(pubkey, CKA_SUBPRIME, subprime,
553 rv = soft_get_public_value(pubkey, CKA_BASE, base, &base_len);
566 k.rfunc = (IS_TOKEN_OBJECT(pubkey) || IS_TOKEN_OBJECT(prikey)) ?
582 if ((rv = soft_genDSAkey_set_attribute(pubkey, CKA_VALUE,
H A DsoftEC.c150 soft_ec_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey) argument
161 if ((pubkey->class != CKO_PUBLIC_KEY) ||
162 (pubkey->key_type != CKK_EC))
172 rv = soft_get_public_key_attribute(pubkey, &template);
207 soft_genECkey_set_attribute(pubkey, &bi, CKA_EC_POINT);
H A DsoftRSA.c825 soft_rsa_genkey_pair(soft_object_t *pubkey, soft_object_t *prikey) argument
847 if ((pubkey == NULL) || (prikey == NULL)) {
857 rv = get_ulong_attr_from_object(OBJ_PUB_RSA_MOD_BITS(pubkey),
873 rv = soft_get_public_value(pubkey, CKA_PUBLIC_EXPONENT, pub_expo,
885 k.rfunc = (IS_TOKEN_OBJECT(pubkey) || IS_TOKEN_OBJECT(prikey)) ?
912 if ((rv = soft_genRSAkey_set_attribute(pubkey, CKA_MODULUS,
/osnet-11/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c328 DST_KEY *dg_key = NULL, *pubkey = NULL; local
347 if ((pubkey = dst_s_read_public_key(keyname, in_id, in_alg)) == NULL)
351 return pubkey;
353 if (!(dg_key = dst_s_get_key_struct(keyname, pubkey->dk_alg,
354 pubkey->dk_flags, pubkey->dk_proto,
358 if (dst_s_read_private_key_file(keyname, dg_key, pubkey->dk_id,
359 pubkey->dk_alg) == 0)
362 (void)dst_free_key(pubkey);
/osnet-11/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c1372 RSA *pubkey = EVP_PKEY_get1_RSA(key->keyp); local
1374 if (!(n = i2d_RSA_PUBKEY(pubkey, &keydata->Data))) {
1378 RSA_free(pubkey);
1380 DSA *pubkey = EVP_PKEY_get1_DSA(key->keyp); local
1382 if (!(n = i2d_DSA_PUBKEY(pubkey, &keydata->Data))) {
1386 DSA_free(pubkey);
1481 KMF_KEY_HANDLE *pubkey = NULL, *privkey = NULL; local
1500 pubkey = kmf_get_attr_ptr(KMF_PUBKEY_HANDLE_ATTR, attrlist, numattr);
1501 if (pubkey == NULL)
1508 (void) memset(pubkey,
4914 KMF_KEY_HANDLE *pubkey = NULL, *prikey = NULL; local
[all...]
/osnet-11/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c825 KMF_KEY_HANDLE *pubkey = NULL; local
863 pubkey = kmf_get_attr_ptr(KMF_PUBKEY_HANDLE_ATTR, attrlist, numattr);
865 if (pubkey == NULL || privkey == NULL)
868 (void) memset(pubkey, 0, sizeof (KMF_KEY_HANDLE));
979 pubkey->kstype = KMF_KEYSTORE_NSS;
980 pubkey->keyalg = keytype;
981 pubkey->keyp = (void *)NSSpubkey;
982 pubkey->keyclass = KMF_ASYM_PUB;
983 pubkey->keylabel = PK11_GetPublicKeyNickname(NSSpubkey);
995 pubkey
2148 KMF_KEY_HANDLE *pubkey = NULL, *prikey = NULL; local
[all...]
/osnet-11/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c1660 KMF_KEY_HANDLE *pubkey, *privkey; local
1697 pubkey = kmf_get_attr_ptr(KMF_PUBKEY_HANDLE_ATTR, attlist, numattr);
1698 if (pubkey == NULL)
1705 (void) memset(pubkey, 0, sizeof (KMF_KEY_HANDLE));
1735 pubkey->kstype = KMF_KEYSTORE_PK11TOKEN;
1736 pubkey->keyalg = KMF_RSA;
1737 pubkey->keyclass = KMF_ASYM_PUB;
1738 pubkey->keyp = (void *)pubKey;
1781 pubkey->kstype = KMF_KEYSTORE_PK11TOKEN;
1782 pubkey
2202 KMF_X509_SPKI *pubkey; local
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_sldap.h461 char *pubkey; member in struct:_ns_pubkey
H A Dns_writes.c3158 if (ptr->name == NULL || ptr->pubkey == '\0' || ptr->privkey == '\0') {
3178 rc = __s_add_attr(e, "nisPublickey", ptr->pubkey);
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dcertop.c1031 * The keystore must extract the pubkey data because
1084 KMF_X509_SPKI *pubkey; local
1135 pubkey = &x509cert->certificate.subjectPublicKeyInfo;
1138 alg = &pubkey->algorithm.algorithm;
1159 ret = PKCS_EncryptData(handle, algid, pubkey, plaintext, ciphertext);
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c2385 data.pubkey = tmppubkey;
2416 free(data.pubkey);
/osnet-11/usr/src/grub/grub2/build-bios/po/
H A DMakefile426 ../.././grub-core/lib/libgcrypt/cipher/pubkey.c \
/osnet-11/usr/src/grub/grub2/build-uefi64/po/
H A DMakefile426 ../.././grub-core/lib/libgcrypt/cipher/pubkey.c \

Completed in 100 milliseconds