/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | dragonfly.h | 29 struct crypto_bignum *scalar);
|
H A D | dragonfly.c | 194 struct crypto_bignum *scalar) 203 crypto_bignum_add(_rand, _mask, scalar) == 0 && 204 crypto_bignum_mod(scalar, order, scalar) == 0 && 205 !crypto_bignum_is_zero(scalar) && 206 !crypto_bignum_is_one(scalar)) 213 "dragonfly: Unable to get randomness for own scalar"); 191 dragonfly_generate_scalar(const struct crypto_bignum *order, struct crypto_bignum *_rand, struct crypto_bignum *_mask, struct crypto_bignum *scalar) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LowLevelType.cpp | 39 return LLT::scalar(SizeInBits); 56 return LLT::scalar(Ty.getSizeInBits());
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Value.h | 45 eValueTypeScalar, // raw scalar value 59 eContextTypeRegisterInfo, // RegisterInfo * (can be a scalar or a vector 105 Scalar scalar; local 108 scalar = *(const uint8_t *)bytes; 110 scalar = *(const uint16_t *)bytes; 112 scalar = *(const uint32_t *)bytes; 114 scalar = *(const uint64_t *)bytes; 116 scalar = rhs; 118 return scalar; 123 Value(const Scalar &scalar); [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ec/ |
H A D | ec2_mult.c | 254 * Computes scalar*point and stores the result in r. 265 const BIGNUM *scalar, 279 if ((scalar == NULL) || BN_is_zero(scalar) || (point == NULL) || 319 i = scalar->top - 1; 321 word = scalar->d[i]; 332 word = scalar->d[i]; 373 * scalar*group->generator + scalars[0]*points[0] + ... + scalars[num-1]*points[num-1] 374 * gracefully ignoring NULL scalar values. 377 const BIGNUM *scalar, size_ 263 ec_GF2m_montgomery_point_multiply(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, const EC_POINT *point, BN_CTX *ctx) argument 376 ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument [all...] |
H A D | ec_mult.c | 181 * Determine the modified width-(w+1) Non-Adjacent Form (wNAF) of 'scalar'. 184 * scalar = \sum_j r[j]*2^j 189 static signed char *compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len) argument 198 if (BN_is_zero(scalar)) { 218 if (BN_is_negative(scalar)) { 222 if (scalar->d == NULL || scalar->top == 0) { 227 len = BN_num_bits(scalar); 231 * BN_num_bits(scalar) + 1) */ 236 window_val = scalar 340 ec_mul_consttime(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, const EC_POINT *point, BN_CTX *ctx) argument 552 ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument [all...] |
H A D | ecp_nistp521.c | 244 /* felem_scalar sets out = in * scalar */ 245 static void felem_scalar(felem out, const felem in, limb scalar) argument 247 out[0] = in[0] * scalar; 248 out[1] = in[1] * scalar; 249 out[2] = in[2] * scalar; 250 out[3] = in[3] * scalar; 251 out[4] = in[4] * scalar; 252 out[5] = in[5] * scalar; 253 out[6] = in[6] * scalar; 254 out[7] = in[7] * scalar; 259 felem_scalar64(felem out, limb scalar) argument 273 felem_scalar128(largefelem out, limb scalar) argument 1802 ec_GFp_nistp521_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument [all...] |
H A D | ec_lcl.h | 175 int (*mul) (const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, 317 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, 456 const BIGNUM *scalar, size_t num, 473 const BIGNUM *scalar, size_t num, 477 const BIGNUM *scalar, size_t num, 493 const BIGNUM *scalar, size_t num, 497 const BIGNUM *scalar, size_t num, 513 const BIGNUM *scalar, size_t num, 517 const BIGNUM *scalar, size_t num,
|
H A D | ecp_nistp224.c | 132 * locations when doing simple scalar multiplies against the base point, 371 * expected to be correct in general - e.g., multiplication with a large scalar 490 * Multiply a field element by a scalar: out = out * scalar The scalars we 493 static void felem_scalar(felem out, const limb scalar) argument 495 out[0] *= scalar; 496 out[1] *= scalar; 497 out[2] *= scalar; 498 out[3] *= scalar; 502 * Multiply an unreduced field element by a scalar 505 widefelem_scalar(widefelem out, const widelimb scalar) argument 1401 ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86LegalizerInfo.cpp | 109 const LLT s1 = LLT::scalar(1); 110 const LLT s8 = LLT::scalar(8); 111 const LLT s16 = LLT::scalar(16); 112 const LLT s32 = LLT::scalar(32); 113 const LLT s64 = LLT::scalar(64); 114 const LLT s128 = LLT::scalar(128); 205 const LLT s1 = LLT::scalar(1); 206 const LLT s8 = LLT::scalar(8); 207 const LLT s16 = LLT::scalar(16); 208 const LLT s32 = LLT::scalar(3 [all...] |
H A D | X86InstructionSelector.cpp | 403 if (Ty == LLT::scalar(8)) { 406 } else if (Ty == LLT::scalar(16)) { 409 } else if (Ty == LLT::scalar(32) || Ty == LLT::pointer(0, 32)) { 419 } else if (Ty == LLT::scalar(64) || Ty == LLT::pointer(0, 64)) { 782 assert(!(SrcTy == LLT::scalar(8) && DstTy == LLT::scalar(32)) && 784 assert(!(SrcTy == LLT::scalar(16) && DstTy == LLT::scalar(32)) && 793 {LLT::scalar(8), LLT::scalar(1 [all...] |
/freebsd-11-stable/contrib/wpa/src/eap_common/ |
H A D | eap_pwd_common.c | 422 struct crypto_bignum *scalar; local 429 /* RFC 5931, 2.8.5.2: 1 < scalar < r */ 430 scalar = crypto_bignum_init_set(buf, order_len); 431 if (!scalar || crypto_bignum_is_zero(scalar) || 432 crypto_bignum_is_one(scalar) || 433 crypto_bignum_cmp(scalar, order) >= 0) { 434 wpa_printf(MSG_INFO, "EAP-pwd: received scalar is invalid"); 435 crypto_bignum_deinit(scalar, 0); 436 scalar 443 eap_pwd_get_rand_mask(EAP_PWD_group *group, struct crypto_bignum *_rand, struct crypto_bignum *_mask, struct crypto_bignum *scalar) argument [all...] |
H A D | eap_pwd_common.h | 75 struct crypto_bignum *scalar);
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Expression/ |
H A D | IRMemoryMap.h | 60 void WriteScalarToMemory(lldb::addr_t process_address, Scalar &scalar, 66 void ReadScalarFromMemory(Scalar &scalar, lldb::addr_t process_address,
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-arc/ |
H A D | ABISysV_arc.cpp | 374 void SetInteger(Scalar &scalar, uint64_t raw_value, bool is_signed) { argument 377 scalar = static_cast<typename std::make_signed<T>::type>(raw_value); 379 scalar = static_cast<T>(raw_value); 382 bool SetSizedInteger(Scalar &scalar, uint64_t raw_value, uint8_t size_in_bytes, argument 389 SetInteger<uint64_t>(scalar, raw_value, is_signed); 393 SetInteger<uint32_t>(scalar, raw_value, is_signed); 397 SetInteger<uint16_t>(scalar, raw_value, is_signed); 401 SetInteger<uint8_t>(scalar, raw_value, is_signed); 408 bool SetSizedFloat(Scalar &scalar, uint64_t raw_value, uint8_t size_in_bytes) { argument 414 scalar [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
H A D | NSIndexPath.cpp | 189 Scalar scalar((unsigned long long)value.first); 190 v = Value(scalar); 192 Scalar scalar((unsigned int)value.first); 193 v = Value(scalar);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | LowLevelTypeImpl.h | 41 /// Get a low-level scalar or aggregate "bag of bits". 42 static LLT scalar(unsigned SizeInBits) { function in class:llvm::LLT 43 assert(SizeInBits > 0 && "invalid scalar size"); 78 return scalarOrVector(NumElements, LLT::scalar(ScalarSize)); 100 assert(IsVector && "cannot get number of elements on scalar/aggregate"); 137 : LLT::scalar(NewEltSize); 168 assert(isVector() && "cannot get element type of scalar/aggregate"); 172 return scalar(getScalarSizeInBits()); 203 /// * Non-pointer scalar (isPointer == 0 && isVector == 0):
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/ |
H A D | ValueObjectChild.cpp | 119 // Copy the parent scalar value and the scalar value type 175 // Set this object's scalar value to the address of its value by 206 // try to extract the child value from the parent's scalar value 208 Scalar scalar(m_value.GetScalar()); 210 scalar.ExtractBitfield(m_bitfield_bit_size, 213 scalar.ExtractBitfield(8 * m_byte_size, 8 * m_byte_offset); 214 m_value.GetScalar() = scalar;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULegalizerInfo.cpp | 172 const LLT S1 = LLT::scalar(1); 173 const LLT S8 = LLT::scalar(8); 174 const LLT S16 = LLT::scalar(16); 175 const LLT S32 = LLT::scalar(32); 176 const LLT S64 = LLT::scalar(64); 177 const LLT S96 = LLT::scalar(96); 178 const LLT S128 = LLT::scalar(128); 179 const LLT S256 = LLT::scalar(256); 180 const LLT S1024 = LLT::scalar(1024); 449 {S64, LLT::scalar(3 [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMLegalizerInfo.cpp | 71 const LLT s1 = LLT::scalar(1); 72 const LLT s8 = LLT::scalar(8); 73 const LLT s16 = LLT::scalar(16); 74 const LLT s32 = LLT::scalar(32); 75 const LLT s64 = LLT::scalar(64); 387 Register RetRegs[] = {MRI.createGenericVirtualRegister(LLT::scalar(32)), 423 auto LibcallResult = MRI.createGenericVirtualRegister(LLT::scalar(32)); 448 auto Zero = MRI.createGenericVirtualRegister(LLT::scalar(32));
|
H A D | ARMCallLowering.cpp | 101 LLT s32 = LLT::scalar(32); 158 Register NewRegs[] = {MRI.createGenericVirtualRegister(LLT::scalar(32)), 159 MRI.createGenericVirtualRegister(LLT::scalar(32))}; 321 auto LoadVReg = MRI.createGenericVirtualRegister(LLT::scalar(32)); 358 MRI.createGenericVirtualRegister(LLT::scalar(LocSize)); 382 Register NewRegs[] = {MRI.createGenericVirtualRegister(LLT::scalar(32)), 383 MRI.createGenericVirtualRegister(LLT::scalar(32))};
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64LegalizerInfo.cpp | 36 const LLT s1 = LLT::scalar(1); 37 const LLT s8 = LLT::scalar(8); 38 const LLT s16 = LLT::scalar(16); 39 const LLT s32 = LLT::scalar(32); 40 const LLT s64 = LLT::scalar(64); 41 const LLT s128 = LLT::scalar(128); 42 const LLT s256 = LLT::scalar(256); 43 const LLT s512 = LLT::scalar(512); 350 return false; // Extending to a scalar s128 needs narrowing. 498 // Clamp the big scalar t [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | RegisterValue.cpp | 136 bool RegisterValue::GetScalarValue(Scalar &scalar) const { 145 scalar = *(const uint8_t *)buffer.bytes; 148 scalar = *reinterpret_cast<const uint16_t *>(buffer.bytes); 151 scalar = *reinterpret_cast<const uint32_t *>(buffer.bytes); 154 scalar = *reinterpret_cast<const uint64_t *>(buffer.bytes); 162 scalar = 180 scalar = m_scalar;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRMemoryMap.cpp | 590 Scalar &scalar, size_t size, 595 size = scalar.GetByteSize(); 600 scalar.GetAsMemoryData(buf, size, GetByteOrder(), error); 606 "Couldn't write scalar: failed to get scalar as memory data"); 610 error.SetErrorString("Couldn't write scalar: its size was zero"); 619 Scalar scalar(address); 621 WriteScalarToMemory(process_address, scalar, GetAddressByteSize(), error); 720 void IRMemoryMap::ReadScalarFromMemory(Scalar &scalar, argument 741 "Couldn't read scalar 589 WriteScalarToMemory(lldb::addr_t process_address, Scalar &scalar, size_t size, Status &error) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
H A D | MachONormalizedFileYAML.cpp | 247 static StringRef input(StringRef scalar, void *ctxt, argument 250 if (scalar.getAsInteger(0, alignment)) { 490 static StringRef input(StringRef scalar, void*, VMProtect &value) { argument 492 if (scalar.size() != 3) 494 switch (scalar[0]) { 503 switch (scalar[1]) { 512 switch (scalar[2]) { 700 static StringRef input(StringRef scalar, void*, PackedVersion &result) { argument 702 if (lld::MachOLinkingContext::parsePackedVersion(scalar, value))
|