7#ifndef SECP256K1_SCALAR_REPR_IMPL_H
8#define SECP256K1_SCALAR_REPR_IMPL_H
29 return secp256k1_scalar_get_bits(
a, offset,
count);
54 for (i = 0; i < 32; i++) {
55 *
r = (*
r * 0x100) + b32[i];
64static void secp256k1_scalar_get_b32(
unsigned char *bin,
const secp256k1_scalar*
a) {
66 bin[28] = *
a >> 24; bin[29] = *
a >> 16; bin[30] = *
a >> 8; bin[31] = *
a;
90 if (flag) secp256k1_scalar_negate(
r,
r);
102 ret = *
r & ((1 << n) - 1);
121 *
r = (*
r & mask0) | (*
a & mask1);
136 secp256k1_scalar_inverse(
r, x);
#define VG_CHECK_VERIFY(x, y)
#define VERIFY_CHECK(cond)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define EXHAUSTIVE_TEST_ORDER
memset(pInfo->slotDescription, ' ', 64)