Home | History | Annotate | Download | only in DxeSecurityManagementLib

Lines Matching refs:FileBuffer

223   VOID          *FileBuffer;

241 FileBuffer = NULL;
253 if (FileBuffer == NULL) {
259 FileBuffer = GetFileBufferByFilePath (FALSE, FilePath, &FileSize, &AuthenticationStatus);
260 if (FileBuffer == NULL) {
264 FileBuffer = GetFileBufferByFilePath (TRUE, FilePath, &FileSize, &AuthenticationStatus);
266 if ((FileBuffer != NULL) && (!EFI_ERROR (Status))) {
277 FileBuffer,
285 if (FileBuffer != NULL) {
286 FreePool (FileBuffer);
448 @param[in] FileBuffer A pointer to the buffer with the UEFI file image
453 FileBuffer did authenticate, and the platform policy dictates
456 and non-NULL FileBuffer did authenticate, and the platform
458 FileBuffer.
459 @retval EFI_SUCCESS FileBuffer is NULL and current user has permission to start
461 @retval EFI_SECURITY_VIOLATION The file specified by File or FileBuffer did not
464 @retval EFI_SECURITY_VIOLATION FileBuffer FileBuffer is NULL and the user has no
467 @retval EFI_SECURITY_VIOLATION FileBuffer is not NULL and the user has no permission to load
473 @retval EFI_INVALID_PARAMETER File and FileBuffer are both NULL.
481 IN VOID *FileBuffer,
490 // Invalid case if File and FileBuffer are both NULL.
492 if (File == NULL && FileBuffer == NULL) {
508 // If FileBuffer is not NULL, the input is Image, which will be handled by EFI_AUTH_IMAGE_OPERATION_MASK operation.
509 // If FileBuffer is NULL, the input is not Image, which will be handled by EFI_AUTH_NONE_IMAGE_OPERATION_MASK operation.
512 if ((FileBuffer != NULL && (mSecurity2Table[Index].Security2Operation & EFI_AUTH_IMAGE_OPERATION_MASK) != 0) ||
513 (FileBuffer == NULL && (mSecurity2Table[Index].Security2Operation & EFI_AUTH_NONE_IMAGE_OPERATION_MASK) != 0)) {
521 FileBuffer,