Home
last modified time | relevance | path

Searched refs:CryptoStatus (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/
DFmpAuthenticationLibRsa2048Sha256.c78 BOOLEAN CryptoStatus; in FmpAuthenticatedHandlerRsa2048Sha256() local
106 CryptoStatus = FALSE; in FmpAuthenticatedHandlerRsa2048Sha256()
116 CryptoStatus = Sha256Init (HashContext); in FmpAuthenticatedHandlerRsa2048Sha256()
117 if (!CryptoStatus) { in FmpAuthenticatedHandlerRsa2048Sha256()
122CryptoStatus = Sha256Update (HashContext, &CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2… in FmpAuthenticatedHandlerRsa2048Sha256()
123 if (!CryptoStatus) { in FmpAuthenticatedHandlerRsa2048Sha256()
128 CryptoStatus = Sha256Final (HashContext, Digest); in FmpAuthenticatedHandlerRsa2048Sha256()
129 if (!CryptoStatus) { in FmpAuthenticatedHandlerRsa2048Sha256()
140 CryptoStatus = FALSE; in FmpAuthenticatedHandlerRsa2048Sha256()
143 CryptoStatus = TRUE; in FmpAuthenticatedHandlerRsa2048Sha256()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/
DPeiRsa2048Sha256GuidedSectionExtractLib.c137 BOOLEAN CryptoStatus; in Rsa2048Sha256GuidedSectionHandler() local
233 CryptoStatus = Sha256Init (HashContext); in Rsa2048Sha256GuidedSectionHandler()
234 if (!CryptoStatus) { in Rsa2048Sha256GuidedSectionHandler()
239CryptoStatus = Sha256Update (HashContext, &CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2… in Rsa2048Sha256GuidedSectionHandler()
240 if (!CryptoStatus) { in Rsa2048Sha256GuidedSectionHandler()
245 CryptoStatus = Sha256Final (HashContext, Digest); in Rsa2048Sha256GuidedSectionHandler()
246 if (!CryptoStatus) { in Rsa2048Sha256GuidedSectionHandler()
262 CryptoStatus = FALSE; in Rsa2048Sha256GuidedSectionHandler()
265 CryptoStatus = TRUE; in Rsa2048Sha256GuidedSectionHandler()
271 if (!CryptoStatus) { in Rsa2048Sha256GuidedSectionHandler()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/
DDxeRsa2048Sha256GuidedSectionExtractLib.c140 BOOLEAN CryptoStatus; in Rsa2048Sha256GuidedSectionHandler() local
249 CryptoStatus = Sha256Init (HashContext); in Rsa2048Sha256GuidedSectionHandler()
250 if (!CryptoStatus) { in Rsa2048Sha256GuidedSectionHandler()
255CryptoStatus = Sha256Update (HashContext, &CertBlockRsa2048Sha256->PublicKey, sizeof(CertBlockRsa2… in Rsa2048Sha256GuidedSectionHandler()
256 if (!CryptoStatus) { in Rsa2048Sha256GuidedSectionHandler()
261 CryptoStatus = Sha256Final (HashContext, Digest); in Rsa2048Sha256GuidedSectionHandler()
262 if (!CryptoStatus) { in Rsa2048Sha256GuidedSectionHandler()
278 CryptoStatus = FALSE; in Rsa2048Sha256GuidedSectionHandler()
281 CryptoStatus = TRUE; in Rsa2048Sha256GuidedSectionHandler()
287 if (!CryptoStatus) { in Rsa2048Sha256GuidedSectionHandler()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/
DFmpAuthenticationLibPkcs7.c72 BOOLEAN CryptoStatus; in FmpAuthenticatedHandlerPkcs7() local
100 CryptoStatus = Pkcs7Verify( in FmpAuthenticatedHandlerPkcs7()
109 if (!CryptoStatus) { in FmpAuthenticatedHandlerPkcs7()