Home
last modified time | relevance | path

Searched refs:SignedDataSize (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptPkcs7Sign.c56 OUT UINTN *SignedDataSize in Pkcs7Sign() argument
72 SignCert == NULL || SignedData == NULL || SignedDataSize == NULL || InDataSize > INT_MAX) { in Pkcs7Sign()
170 *SignedDataSize = P7DataSize - 19; in Pkcs7Sign()
171 *SignedData = malloc (*SignedDataSize); in Pkcs7Sign()
177 CopyMem (*SignedData, P7Data + 19, *SignedDataSize); in Pkcs7Sign()
DCryptPkcs7Verify.c266 UINTN SignedDataSize; in Pkcs7GetSigners() local
282 Status = WrapPkcs7Data (P7Data, P7Length, &Wrapped, &SignedData, &SignedDataSize); in Pkcs7GetSigners()
297 if (SignedDataSize > INT_MAX) { in Pkcs7GetSigners()
302 Pkcs7 = d2i_PKCS7 (NULL, (const unsigned char **) &Temp, (int) SignedDataSize); in Pkcs7GetSigners()
762 UINTN SignedDataSize; in Pkcs7Verify() local
800 Status = WrapPkcs7Data (P7Data, P7Length, &Wrapped, &SignedData, &SignedDataSize); in Pkcs7Verify()
810 if (SignedDataSize > INT_MAX) { in Pkcs7Verify()
815 Pkcs7 = d2i_PKCS7 (NULL, (const unsigned char **) &Temp, (int) SignedDataSize); in Pkcs7Verify()
927 UINTN SignedDataSize; in Pkcs7GetAttachedContent() local
944 Status = WrapPkcs7Data (P7Data, P7Length, &Wrapped, &SignedData, &SignedDataSize); in Pkcs7GetAttachedContent()
[all …]
DCryptPkcs7SignNull.c53 OUT UINTN *SignedDataSize in Pkcs7Sign() argument
/device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/
DPkcs7VerifyDxe.c377 IN UINTN SignedDataSize, in IsValidTimestamp() argument
430 if (ImageTimestampVerify (SignedData, SignedDataSize, TsaCert, TsaCertSize, &SigningTime)) { in IsValidTimestamp()
475 IN UINTN SignedDataSize, in P7CheckRevocation() argument
542 … if (Pkcs7Verify (SignedData, SignedDataSize, RevokedCert, RevokedCertSize, InData, InDataSize)) { in P7CheckRevocation()
565 …Pkcs7GetSigners (SignedData, SignedDataSize, &CertBuffer, &BufferLength, &TrustedCert, &TrustedCer… in P7CheckRevocation()
588 if (IsValidTimestamp (SignedData, SignedDataSize, TimeStampDb, &RevocationTime)) { in P7CheckRevocation()
639 IN UINTN SignedDataSize, in P7CheckTrust() argument
691 if (Pkcs7Verify (SignedData, SignedDataSize, TrustCert, TrustCertSize, InData, InDataSize)) { in P7CheckTrust()
794 IN UINTN SignedDataSize, in VerifyBuffer() argument
813 if ((SignedData == NULL) || (SignedDataSize == 0) || (AllowedDb == NULL)) { in VerifyBuffer()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/
DCryptPkcs7SignNull.c53 OUT UINTN *SignedDataSize in Pkcs7Sign() argument
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DPkcs7Verify.h127 IN UINTN SignedDataSize,
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/
DBaseCryptLib.h2368 OUT UINTN *SignedDataSize