From c62bf2b147d845c4c0a03d1712be31bd48316b81 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 21 Jan 2019 19:55:05 -0500 Subject: [PATCH] Add call to DoQuickSanityCheck in HMQV and FHMQV before private key operation --- fhmqv.h | 1 + hmqv.h | 1 + 2 files changed, 2 insertions(+) diff --git a/fhmqv.h b/fhmqv.h index 38657ee8..91cbd9b1 100644 --- a/fhmqv.h +++ b/fhmqv.h @@ -135,6 +135,7 @@ public: try { + this->GetMaterial().DoQuickSanityCheck(); const DL_GroupParameters ¶ms = GetAbstractGroupParameters(); if(m_role == RoleServer) diff --git a/hmqv.h b/hmqv.h index 870cbfad..3834a619 100644 --- a/hmqv.h +++ b/hmqv.h @@ -134,6 +134,7 @@ public: try { + this->GetMaterial().DoQuickSanityCheck(); const DL_GroupParameters ¶ms = GetAbstractGroupParameters(); if(m_role == RoleServer)