Searched refs:SigSize (Results 1 - 9 of 9) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Application/Cryptest/
H A DRsaVerify.c100 UINTN SigSize; local
361 SigSize = 0;
362 Status = RsaPkcs1Sign (Rsa, HashValue, HashSize, NULL, &SigSize);
363 if (Status || SigSize == 0) {
368 Signature = AllocatePool (SigSize);
369 Status = RsaPkcs1Sign (Rsa, HashValue, HashSize, Signature, &SigSize);
375 if (SigSize != sizeof (RsaPkcs1Signature)) {
380 if (CompareMem (Signature, RsaPkcs1Signature, SigSize) != 0) {
391 Status = RsaPkcs1Verify (Rsa, HashValue, HashSize, Signature, SigSize);
H A DRsaVerify2.c211 UINTN SigSize; local
246 SigSize = 0;
247 Status = RsaPkcs1Sign (RsaPrivKey, MsgHash, SHA1_DIGEST_SIZE, NULL, &SigSize);
248 if (Status || SigSize == 0) {
253 Signature = AllocatePool (SigSize);
254 Status = RsaPkcs1Sign (RsaPrivKey, MsgHash, SHA1_DIGEST_SIZE, Signature, &SigSize);
266 Status = RsaPkcs1Verify (RsaPubKey, MsgHash, SHA1_DIGEST_SIZE, Signature, SigSize);
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptRsa.c563 is returned and SigSize is set to the required buffer size to obtain the signature.
568 If SigSize is large enough but Signature is NULL, then return FALSE.
574 @param[in, out] SigSize On input, the size of Signature buffer in bytes.
579 @retval FALSE SigSize is too small.
589 IN OUT UINTN *SigSize
607 if (*SigSize < Size) {
608 *SigSize = Size;
630 *SigSize = (UINTN)ReturnVal;
647 @param[in] SigSize Size of signature in bytes.
660 IN UINTN SigSize
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/
H A DIpSecCryptIo.c826 UINTN SigSize; local
828 SigSize = 0;
846 if (!RsaPkcs1Sign (RsaContext, InData, InDataSize, Signature, &SigSize)) {
847 Signature = AllocateZeroPool (SigSize);
852 RsaPkcs1Sign (RsaContext, InData, InDataSize, Signature, &SigSize);
855 *OutDataSize = SigSize;
873 @param[in] SigSize Size of signature in bytes.
888 IN UINTN SigSize
917 Status = RsaPkcs1Verify (RsaContext, InData, InDataSize, Singnature, SigSize);
H A DIpSecCryptIo.h768 @param[in] SigSize Size of signature in bytes.
783 IN UINTN SigSize
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dgdiplusimaging.h111 DWORD SigSize; member in class:ImageCodecInfo
179 DWORD SigSize; member in struct:ImageCodecInfo
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dgdiplusimaging.h111 DWORD SigSize; member in class:ImageCodecInfo
179 DWORD SigSize; member in struct:ImageCodecInfo
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/Library/
H A DBaseCryptLib.h1345 is returned and SigSize is set to the required buffer size to obtain the signature.
1350 If SigSize is large enough but Signature is NULL, then return FALSE.
1356 @param[in, out] SigSize On input, the size of Signature buffer in bytes.
1361 @retval FALSE SigSize is too small.
1371 IN OUT UINTN *SigSize
1387 @param[in] SigSize Size of signature in bytes.
1400 IN UINTN SigSize
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/Ikev2/
H A DPayload.c623 UINTN SigSize; local
647 SigSize = 0;
760 &SigSize
763 if (SigSize == 0 || Signature == NULL) {
775 AuthPayload->PayloadSize = sizeof (IKEV2_AUTH) + SigSize;
799 CopyMem (PayloadBuf + 1, Signature, SigSize);

Completed in 69 milliseconds