Searched refs:value_bits (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDH.c | 96 uint32_t value_bits; local 126 value_bits = (uint32_t)(*((CK_ULONG *)(template.pValue))); 128 value_bits = *((CK_ULONG *)(template.pValue)); 152 k.value_bits = value_bits; 160 /* If value_bits is 0, it will return as same size as prime */ 176 CRYPTO_BITS2BYTES(k.value_bits), B_FALSE)) != CKR_OK) { 193 OBJ_PRI_DH_VAL_BITS(prikey) = k.value_bits; 234 k.value_bits = CRYPTO_BYTES2BITS(privatevaluelen);
|
H A D | softObject.h | 162 CK_ULONG value_bits; member in struct:dh_pri_key 561 ((o)->object_class_u.private_key->key_type_u.dh_pri_key.value_bits) 563 ((k)->key_type_u.dh_pri_key.value_bits)
|
H A D | softAttributeUtil.c | 1869 CK_ULONG value_bits = 0; local 2144 rv = get_ulong_attr_from_template(&value_bits, 2368 value_bits : 0;
|
/illumos-gate/usr/src/common/crypto/dh/ |
H A D | dh_impl.c | 187 if (bkey->value_bits == 0) 188 bkey->value_bits = primebit_len; 190 if (bkey->value_bits > primebit_len) { 196 if ((brv = big_extend(&(dhkey.x), BITLEN2BIGNUMLEN(bkey->value_bits))) 221 if ((brv = big_random(&(dhkey.x), bkey->value_bits, rf)) != BIG_OK) { 237 CRYPTO_BITS2BYTES(bkey->value_bits)); 268 bkey->value_bits == 0 || bkey->private_x == NULL || 277 value_bytes = CRYPTO_BITS2BYTES(bkey->value_bits);
|
H A D | dh_impl.h | 83 uint32_t value_bits; /* for both x and y */ member in struct:__anon1953
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelObject.h | 160 CK_ULONG value_bits; member in struct:dh_pri_key 415 ((o)->object_class_u.private_key->key_type_u.dh_pri_key.value_bits) 417 ((k)->key_type_u.dh_pri_key.value_bits)
|
H A D | kernelAttributeUtil.c | 1386 CK_ULONG value_bits = 0; local 1628 get_ulong_attr_from_template(&value_bits, 1763 KEY_PRI_DH_VAL_BITS(pvk) = (isValueBits) ? value_bits : 0;
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-mgmt.c | 562 * @value_bits: 8, 16, or 32 (bits) to read. 577 int value_bits, u32 *value) 585 if (offset > sizeof(xge_hal_pci_config_t)-value_bits/8) { 589 if (value_bits == 8) { 591 } else if (value_bits == 16) { 594 } else if (value_bits == 32) { 576 xge_hal_mgmt_pcireg_read(xge_hal_device_h devh, unsigned int offset, int value_bits, u32 *value) argument
|
Completed in 90 milliseconds