Searched defs:abState (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Runtime/common/crypto/
H A Dpkix-signature-core.cpp66 uint8_t abState[1]; member in struct:RTCRPKIXSIGNATUREINT
68 AssertCompileMemberAlignment(RTCRPKIXSIGNATUREINT, abState, 8);
109 PRTCRPKIXSIGNATUREINT pThis = (PRTCRPKIXSIGNATUREINT)RTMemAllocZ(RT_OFFSETOF(RTCRPKIXSIGNATUREINT, abState[pDesc->cbState]));
118 rc = pDesc->pfnInit(pDesc, pThis->abState, pvOpaque, fSigning, pKey, pParams);
160 pThis->pDesc->pfnDelete(pThis->pDesc, pThis->abState, pThis->fSigning);
162 size_t cbToWipe = RT_OFFSETOF(RTCRPKIXSIGNATUREINT, abState[pThis->pDesc->cbState]);
184 int rc = pThis->pDesc->pfnReset(pThis->pDesc, pThis->abState, pThis->fSigning);
212 rc = pThis->pDesc->pfnVerify(pThis->pDesc, pThis->abState, hDigest, pvSignature, cbSignature);
266 rc = pThis->pDesc->pfnSign(pThis->pDesc, pThis->abState, hDigest, pvSignature, pcbSignature);
H A Ddigest-core.cpp54 /** The offset into abState of the storage space . At
64 uint8_t abState[1]; member in struct:RTCRDIGESTINT
91 PRTCRDIGESTINT pThis = (PRTCRDIGESTINT)RTMemAllocZ(RT_OFFSETOF(RTCRDIGESTINT, abState[offHash + pDesc->cbHash]));
100 rc = pDesc->pfnInit(pThis->abState, pvOpaque, false /*fReInit*/);
123 PRTCRDIGESTINT pThis = (PRTCRDIGESTINT)RTMemAllocZ(RT_OFFSETOF(RTCRDIGESTINT, abState[offHash + hSrc->pDesc->cbHash]));
131 rc = hSrc->pDesc->pfnClone(pThis->abState, hSrc->abState);
133 memcpy(pThis->abState, hSrc->abState, offHash);
134 memcpy(&pThis->abState[offHas
[all...]

Completed in 50 milliseconds