Fix comment about the hash in use
This commit is contained in:
parent
0ff8fb8922
commit
ab1a84f6c5
|
@ -114,10 +114,10 @@ std::array<unsigned char, 32> subkey_verify_key(
|
|||
const unsigned char* pubkey, const unsigned char* subkey) {
|
||||
|
||||
std::array<unsigned char, 32> subkey_pub;
|
||||
// Need to compute: (c + H("OxenSSSubkey" || c || A)) A and use that instead of A for
|
||||
// Need to compute: (c + H(c || A, key="OxenSSSubkey")) A and use that instead of A for
|
||||
// verification:
|
||||
|
||||
// H("OxenSSSubkey" || c || A):
|
||||
// H(c || A, key="OxenSSSubkey"):
|
||||
crypto_generichash_state h_state;
|
||||
crypto_generichash_init(
|
||||
&h_state,
|
||||
|
|
Loading…
Reference in New Issue