#102 Prevent Algo confusion attack

This commit is contained in:
arunmu-nx 2025-04-22 18:49:16 +05:30
parent 4a970bc302
commit b9528b32eb
7 changed files with 82 additions and 2 deletions

View file

@ -124,6 +124,8 @@ struct VerificationErrorCategory: std::error_category
return "invalid signature";
case VerificationErrc::TypeConversionError:
return "type conversion error";
case VerificationErrc::AlgoConfusionAttack:
return "algo confusion attack possibility";
};
return "unknown verification error";
}