Searched refs:dhkey (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/common/crypto/dh/ |
H A D | dh_impl.c | 128 DHkey dhkey; local 151 if ((brv = DH_key_init(&dhkey, bkey->prime_bits)) != BIG_OK) { 157 if ((brv = big_extend(&(dhkey.p), CHARLEN2BIGNUMLEN(prime_bytes))) != 162 bytestring2bignum(&(dhkey.p), bkey->prime, prime_bytes); 165 if ((brv = big_extend(&(dhkey.g), 170 bytestring2bignum(&(dhkey.g), bkey->base, bkey->base_bytes); 173 if (big_cmp_abs(&(dhkey.g), &(dhkey.p)) >= 0) { 185 primebit_len = big_bitlength(&(dhkey.p)); 196 if ((brv = big_extend(&(dhkey 256 DHkey dhkey; local [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.h | 41 struct dhkey { struct 54 /* Bytes to allocate for struct dhkey holding key of specified length (bits) */ 55 #define DHKEYALLOC(keylen) ALIGN4(sizeof (struct dhkey) + KEYLEN(keylen)) 56 /* Bytes used for a struct dhkey (already allocated */ 57 #define DHKEYSIZE(dhkey_ptr) ALIGN4(sizeof (struct dhkey) + \
|
H A D | keyserv_cache.c | 58 struct dhkey secret; 67 struct dhkey public; 135 uid_t, struct dhkey *); 137 static struct dhkey *keybuf3_2_dhkey(keybuf3 *); 800 find_cache_item(struct cachekey_header **ch, uid_t uid, struct dhkey *public) 865 struct dhkey *pk; 866 struct dhkey *sk; 997 struct dhkey *pk = 0; 1046 struct dhkey *pk = 0; 1280 static struct dhkey * [all...] |
Completed in 72 milliseconds