This commit is contained in:
Hideki Miyazaki
2025-06-07 12:46:22 +09:00
parent 1f8efc3c14
commit 0404447bd8

View File

@@ -3852,8 +3852,8 @@ int tsip_VerifyRsaPkcsCb(
if (ret == 0) {
sigData.pdata = (uint8_t*)sig;
sigData.data_length = sigSz;
/* Since TSIP driver handls ANS.1 internally
* expcted data is raw hash
/* Since TSITP driver handles ASN.1 internally,
* the expected data is raw hash.
*/
hashData.pdata = (uint8_t*)ssl->buffers.digest.buffer;
hashData.data_type = 1; /* hash value */