Selaa lähdekoodia

add a FIXME; also big perf regr in verify for some reason

master
Michael Hamburg 9 vuotta sitten
vanhempi
commit
4bff4f743a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/public_include/decaf/crypto.hxx

+ 1
- 1
src/public_include/decaf/crypto.hxx Näytä tiedosto

@@ -65,7 +65,7 @@ public:
return typename Group::Point(ser);
}
/** @brief Verify a sig. TODO: nothrow version? */
/** @brief Verify a sig. TODO: nothrow version? FIXME: doesn't check reduction of scalar! */
inline void verify_shake(const SHAKE<SHAKE_BITS> &ctx_, const FixedBlock<SIG_BYTES> &sig) throw(CryptoException) {
SHAKE<SHAKE_BITS> ctx(ctx_);
ctx << ser << sig.slice(0,Group::Point::SER_BYTES);


Ladataan…
Peruuta
Tallenna