diff options
author | lloyd <[email protected]> | 2010-03-05 16:40:49 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-05 16:40:49 +0000 |
commit | 8df87a70435cae25e30f7045f7799537857e13d4 (patch) | |
tree | ea66d8941cf7c675dcac7e0944139f9b94eb8103 /src/pubkey/rsa/rsa.cpp | |
parent | ce88e2c6918bb012321e1d7599c2a13b9ba9301e (diff) |
Constify sign and verify ops
Diffstat (limited to 'src/pubkey/rsa/rsa.cpp')
-rw-r--r-- | src/pubkey/rsa/rsa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pubkey/rsa/rsa.cpp b/src/pubkey/rsa/rsa.cpp index 76165090e..910fddb95 100644 --- a/src/pubkey/rsa/rsa.cpp +++ b/src/pubkey/rsa/rsa.cpp @@ -130,9 +130,9 @@ RSA_Signature_Operation::RSA_Signature_Operation(const RSA_PrivateKey& rsa) : { } -SecureVector<byte> RSA_Signature_Operation::sign(const byte msg[], - u32bit msg_len, - RandomNumberGenerator&) +SecureVector<byte> +RSA_Signature_Operation::sign(const byte msg[], u32bit msg_len, + RandomNumberGenerator&) const { const u32bit n_bytes = (n_bits + 7) / 8; |