Searched refs:value_bits (Results 1 – 8 of 8) sorted by relevance
96 uint32_t value_bits; in soft_dh_genkey_pair() local126 value_bits = (uint32_t)(*((CK_ULONG *)(template.pValue))); in soft_dh_genkey_pair()128 value_bits = *((CK_ULONG *)(template.pValue)); in soft_dh_genkey_pair()152 k.value_bits = value_bits; in soft_dh_genkey_pair()176 CRYPTO_BITS2BYTES(k.value_bits), B_FALSE)) != CKR_OK) { in soft_dh_genkey_pair()193 OBJ_PRI_DH_VAL_BITS(prikey) = k.value_bits; in soft_dh_genkey_pair()234 k.value_bits = CRYPTO_BYTES2BITS(privatevaluelen); in soft_dh_key_derive()
164 CK_ULONG value_bits; member565 ((o)->object_class_u.private_key->key_type_u.dh_pri_key.value_bits)567 ((k)->key_type_u.dh_pri_key.value_bits)
1858 CK_ULONG value_bits = 0; local2133 rv = get_ulong_attr_from_template(&value_bits,2357 value_bits : 0;
187 if (bkey->value_bits == 0) in dh_genkey_pair()188 bkey->value_bits = primebit_len; in dh_genkey_pair()190 if (bkey->value_bits > primebit_len) { in dh_genkey_pair()196 if ((brv = big_extend(&(dhkey.x), BITLEN2BIGNUMLEN(bkey->value_bits))) in dh_genkey_pair()221 if ((brv = big_random(&(dhkey.x), bkey->value_bits, rf)) != BIG_OK) { in dh_genkey_pair()237 CRYPTO_BITS2BYTES(bkey->value_bits)); in dh_genkey_pair()268 bkey->value_bits == 0 || bkey->private_x == NULL || in dh_key_derive()277 value_bytes = CRYPTO_BITS2BYTES(bkey->value_bits); in dh_key_derive()
83 uint32_t value_bits; /* for both x and y */ member
160 CK_ULONG value_bits; member415 ((o)->object_class_u.private_key->key_type_u.dh_pri_key.value_bits)417 ((k)->key_type_u.dh_pri_key.value_bits)
1386 CK_ULONG value_bits = 0; in kernel_build_private_key_object() local1628 get_ulong_attr_from_template(&value_bits, in kernel_build_private_key_object()1763 KEY_PRI_DH_VAL_BITS(pvk) = (isValueBits) ? value_bits : 0; in kernel_build_private_key_object()
577 int value_bits, u32 *value) in xge_hal_mgmt_pcireg_read() argument585 if (offset > sizeof(xge_hal_pci_config_t)-value_bits/8) { in xge_hal_mgmt_pcireg_read()589 if (value_bits == 8) { in xge_hal_mgmt_pcireg_read()591 } else if (value_bits == 16) { in xge_hal_mgmt_pcireg_read()594 } else if (value_bits == 32) { in xge_hal_mgmt_pcireg_read()