Ensure H is not identity

This commit is contained in:
Vecna 2024-01-17 18:12:27 -05:00
parent 1dbc14d5f1
commit 3f309c9da3
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ impl BridgeAuth {
pub fn handle_positive_report(&mut self, req: Request) -> Result<(), ProofError> {
let A: &RistrettoPoint = &CMZ_A;
if req.P.is_identity() {
if req.P.is_identity() || req.H.is_identity() {
return Err(ProofError::VerificationFailure);
}