projects
/
crypto_lab3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Shamir's trick implementation.
[crypto_lab3.git]
/
src
/
RsaCrt.h
diff --git
a/src/RsaCrt.h
b/src/RsaCrt.h
index
adf6c72
..
6e93e6b
100644
(file)
--- a/
src/RsaCrt.h
+++ b/
src/RsaCrt.h
@@
-35,6
+35,9
@@
public:
* @param m the message to sign. No padding is used.
*/
static mpz_class signWithFaultySp(const mpz_class& m, const KeyPriv& kPriv);
+
+private:
+ static mpz_class sign(const mpz_class& m, const KeyPriv& kPriv, bool withError);
};
#endif