NUT-12 DLEQ: 'r' refers to the mint's random nonce, and also to Alice's blinding factor. Rename one of them to avoid confusion #311
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Update: 2025-11-25: instead of the note, this PR now just renames one of the variables, so that we no longer have two different variables with the same name
In NUT-00,
rrefers to the blinding factor which Alice's uses to blind and unblind. This is also used in this NUT-12 when Alice sends her blinding factor to Carol. This is not shared with the mint.But the DLEQ proof here in NUT-12 also reuses
rto refer to the random nonce selected by Bob the mint, and Bob doesn't share this with Alice or Carol.Two different variables with the same name (
r) is confusingThis PR rename's Bob's (the mint)
rtomto ensure that this isn't confused with Alice'sr