提交 3885af3f 编写于 作者: K Kevin Heifner

Add const

上级 3f08d6b0
......@@ -78,12 +78,12 @@ void ripemd160( char* data, uint32_t length, checksum160* hash );
* returns the number of bytes read into pub
* `digest` should be checksum<256>
*/
int recover_key( checksum256* digest, const char* sig, size_t siglen, char* pub, size_t publen );
int recover_key( const checksum256* digest, const char* sig, size_t siglen, char* pub, size_t publen );
/**
* Tests a given public key with the generated key from digest and the signature
* `digest` should be checksum<256>
*/
void assert_recover_key( checksum256* digest, const char* sig, size_t siglen, const char* pub, size_t publen );
void assert_recover_key( const checksum256* digest, const char* sig, size_t siglen, const char* pub, size_t publen );
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册