message: fix tabs in SoK
diff: @@ -38,17 +38,15 @@ CBigNum SeedTo1024(uint256 hashSeed) {
  }
  SerialNumberSignatureOfKnowledge::SerialNumberSignatureOfKnowledge(const
  - ZerocoinParams* p, const PrivateCoin& coin, const Commitment& commitmentToCoin,
  - uint256 msghash):params(p),
  + ZerocoinParams* p, const PrivateCoin& coin, const Commitment& commitmentToCoin, uint256 msghash):
  + params(p),
  s_notprime(p->zkp_iterations),
  - sprime(p->zkp_iterations) {
  -
  + sprime(p->zkp_iterations)
  +{
  // Sanity check: verify that the order of the "accumulatedValueCommitmentGroup" is
  - // equal to the modulus of "coinCommitmentGroup". Otherwise we will produce invalid
  - // proofs.
  - if (params->coinCommitmentGroup.modulus != params->serialNumberSoKCommitmentGroup.groupOrder) {
  + // equal to the modulus of "coinCommitmentGroup". Otherwise we will produce invalid proofs.
  + if (params->coinCommitmentGroup.modulus != params->serialNumberSoKCommitmentGroup.groupOrder)
  throw std::runtime_error("Groups are not structured correctly.");
  - }
  CBigNum a = params->coinCommitmentGroup.g;
  CBigNum b = params->coinCommitmentGroup.h;
  @@ -88,9 +86,9 @@ SerialNumberSignatureOfKnowledge::SerialNumberSignatureOfKnowledge(const
  // We can't hash data in parallel either
  // because OPENMP cannot not guarantee loops
  // execute in order.
  - for(uint32_t i=0; i < params->zkp_iterations; i++) {
  + for(uint32_t i=0; i < params->zkp_iterations; i++)
  hasher << c[i];
  - }
  +
  this->hash = hasher.GetHash();
  unsigned char *hashbytes = (unsigned char*) &hash;
  @@ -118,8 +116,8 @@ inline CBigNum SerialNumberSignatureOfKnowledge::challengeCalculation(const CBig
  CBigNum g = params->serialNumberSoKCommitmentGroup.g;
  CBigNum h = params->serialNumberSoKCommitmentGroup.h;
  - CBigNum exponent = (a.pow_mod(a_exp, params->serialNumberSoKCommitmentGroup.groupOrder)
  - * b.pow_mod(b_exp, params->serialNumberSoKCommitmentGroup.groupOrder)) % params->serialNumberSoKCommitmentGroup.groupOrder;
  + CBigNum exponent = (a.pow_mod(a_exp, params->serialNumberSoKCommitmentGroup.groupOrder) *
  + b.pow_mod(b_exp, params->serialNumberSoKCommitmentGroup.groupOrder)) % params->serialNumberSoKCommitmentGroup.groupOrder;
  return (g.pow_mod(exponent, params->serialNumberSoKCommitmentGroup.modulus) * h.pow_mod(h_exp, params->serialNumberSoKCommitmentGroup.modulus)) % params->serialNumberSoKCommitmentGroup.modulus;
  }
  