Searched defs:public (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Dgeneric_key.c98 * the public key as PublicKey = root^PrivateKey % modulus. This routine
105 char *public, /* Public key */
110 MINT *pk = mp_itom(0); /* Initial public key */
156 /* The public key is root^sk % modulus */
164 /* Now set xkey to the hex representation of the public key */
166 /* Set leading zeros and store in public */
167 (void) adjust(public, xkey, keylen);
102 __generic_gen_dhkeys(int keylen, char *xmodulus, int proot, char *public, char *secret, char *pass ) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDH.c47 uchar_t *buf, uint32_t buflen, boolean_t public)
57 if (public)
167 * The integer public value y shall be converted to an octet
168 * string PV of length k, the public value.
46 soft_genDHkey_set_attribute(soft_object_t *key, CK_ATTRIBUTE_TYPE type, uchar_t *buf, uint32_t buflen, boolean_t public) argument
H A DsoftDSA.c458 uchar_t *value, uint32_t value_len, boolean_t public)
468 if (public)
475 if (public)
482 if (public)
489 if (public)
516 * Generate a public/private DSA key pair, given attributes
581 /* Update attribute in public key. */
457 soft_genDSAkey_set_attribute(soft_object_t *key, CK_ATTRIBUTE_TYPE type, uchar_t *value, uint32_t value_len, boolean_t public) argument
H A DsoftRSA.c669 * Perform RSA decryption with the signer's RSA public key
751 uchar_t *buf, uint32_t buflen, boolean_t public)
761 if (public)
769 if (public)
909 * Add modulus in public template, and add all eight key fields
1213 * Perform RSA decryption with the signer's RSA public key
750 soft_genRSAkey_set_attribute(soft_object_t *key, CK_ATTRIBUTE_TYPE type, uchar_t *buf, uint32_t buflen, boolean_t public) argument
H A DsoftKeystoreUtil.c52 #define PUB_OBJ_DIR "public" /* directory for public objects */
137 * value will be 0 for public objects. (uchar_t[16])
139 * being tampered this value will be 0 for public objects (uchar_t[16])
387 /* can't create directory for public objects */
691 if (ks_handle->public) {
1931 ks_handle.public = B_TRUE;
1960 ks_handle.public = B_FALSE;
2039 if (!(ks_handle->public)) {
2060 (obj->ks_handle).public
2199 soft_keystore_put_new_obj(uchar_t *buf, size_t len, boolean_t public, boolean_t lock_held, ks_obj_handle_t *keyhandle) argument
[all...]
/osnet-11/usr/src/lib/libnsl/key/
H A Dgen_dhkeys.c109 * public and secret are buffers of size HEXKEYBYTES + 1.
112 __gen_dhkeys(public, secret, pass)
113 char *public;
152 (void) adjust(public, xkey);
270 MINT *public; local
275 public = mp_xtom(xpublic);
278 mp_pow(public, secret, MODULUS_192_0, common);
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Drsa.c27 patent into the public domain on Sep 6th, 2000.
45 gcry_mpi_t n; /* public modulus */
46 gcry_mpi_t e; /* public exponent */
73 /* A sample 1024 bit RSA key used for the selftests (public only). */
75 "(public-key"
89 static void public (gcry_mpi_t output, gcry_mpi_t input, RSA_public_key *skey);
104 /* Put the relevant parameters into a public key structure. */
111 /* Encrypt using the public key. */
112 public (ciphertext, plaintext, &pk);
131 /* Use the RSA public functio
599 public(gcry_mpi_t output, gcry_mpi_t input, RSA_public_key *pkey ) function
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Drsa.c23 patent into the public domain on Sep 6th, 2000.
46 gcry_mpi_t n; /* public modulus */
47 gcry_mpi_t e; /* public exponent */
74 /* A sample 1024 bit RSA key used for the selftests (public only). */
76 "(public-key"
90 static void public (gcry_mpi_t output, gcry_mpi_t input, RSA_public_key *skey);
105 /* Put the relevant parameters into a public key structure. */
112 /* Encrypt using the public key. */
113 public (ciphertext, plaintext, &pk);
132 /* Use the RSA public functio
600 public(gcry_mpi_t output, gcry_mpi_t input, RSA_public_key *pkey ) function
[all...]
H A Dac.c55 "public-key"
113 gcry_ac_key_t public;
1647 key_sexp = gcry_sexp_find_token (genkey_sexp_reply, "public-key", 0);
1653 err = ac_data_extract ("public-key", handle->algorithm_name,
1665 key_pair_new->public = key_public;
1706 key = key_pair->public;
1748 gcry_ac_key_destroy (key_pair->public);
1865 /* Encrypts the plain text MPI value DATA_PLAIN with the key public
2094 in DATA with the secret key belonging to the public key KEY. */
2115 err = ac_data_construct ("public
112 gcry_ac_key_t public; member in struct:gcry_ac_key_pair
[all...]

Completed in 41 milliseconds