Grammatical and disclaimer changes (does not follow internal C coding stds.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10269 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -3,14 +3,14 @@
|
||||
security measurement by managing the different security measurement services.
|
||||
The library instances can be implemented according to the different security policy.
|
||||
|
||||
Copyright (c) 2009, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#define EFI_AUTH_OPERATION_MEASURE_IMAGE 0x04
|
||||
|
||||
///
|
||||
/// Image buffer is required by security handler.
|
||||
/// Image buffer is required by the security handler.
|
||||
///
|
||||
#define EFI_AUTH_OPERATION_IMAGE_REQUIRED 0x80000000
|
||||
|
||||
@ -47,24 +47,24 @@
|
||||
then EFI_ACCESS_DENIED is returned.
|
||||
|
||||
If the file specified by File with an authentication status specified by
|
||||
AuthenticationStatus is not safe for the DXE Core to use right now, but it
|
||||
AuthenticationStatus is not safe for the DXE Core to use at the time, but it
|
||||
might be possible to use it at a future time, then EFI_SECURITY_VIOLATION is
|
||||
returned.
|
||||
|
||||
FileBuffer will be NULL and FileSize will be 0 if the handler being called
|
||||
has did not set EFI_AUTH_OPERATION_IMAGE_REQUIRED when it was registered.
|
||||
did not set EFI_AUTH_OPERATION_IMAGE_REQUIRED when it was registered.
|
||||
|
||||
@param[in] AuthenticationStatus
|
||||
This is the authentication status returned from the security
|
||||
The authentication status returned from the security
|
||||
measurement services for the input file.
|
||||
@param[in] File This is a pointer to the device path of the file that is
|
||||
@param[in] File The pointer to the device path of the file that is
|
||||
being dispatched. This will optionally be used for logging.
|
||||
@param[in] FileBuffer File buffer matches the input file device path.
|
||||
@param[in] FileSize Size of File buffer matches the input file device path.
|
||||
@param[in] FileBuffer The file buffer matches the input file device path.
|
||||
@param[in] FileSize The size of File buffer matches the input file device path.
|
||||
|
||||
@retval EFI_SUCCESS The file specified by File did authenticate, and the
|
||||
platform policy dictates that the DXE Core may use File.
|
||||
@retval EFI_INVALID_PARAMETER File is NULL.
|
||||
@retval EFI_INVALID_PARAMETER The file is NULL.
|
||||
@retval EFI_SECURITY_VIOLATION The file specified by File did not authenticate, and
|
||||
the platform policy dictates that File should be placed
|
||||
in the untrusted state. A file may be promoted from
|
||||
@ -85,16 +85,16 @@ EFI_STATUS
|
||||
);
|
||||
|
||||
/**
|
||||
Register security measurement handler with its operation type. The different
|
||||
handler with the same operation can all be registered.
|
||||
Register security measurement handler with its operation type. Different
|
||||
handlers with the same operation can all be registered.
|
||||
|
||||
If SecurityHandler is NULL, then ASSERT().
|
||||
If no enough resources available to register new handler, then ASSERT().
|
||||
If AuthenticationOperation is not recongnized, then ASSERT().
|
||||
If the previous register handler can't be executed before the later register handler, then ASSERT().
|
||||
|
||||
@param[in] SecurityHandler Security measurement service handler to be registered.
|
||||
@param[in] AuthenticationOperation Operation type is specified for the registered handler.
|
||||
@param[in] SecurityHandler The security measurement service handler to be registered.
|
||||
@param[in] AuthenticationOperation Theoperation type is specified for the registered handler.
|
||||
|
||||
@retval EFI_SUCCESS The handlers were registered successfully.
|
||||
**/
|
||||
@ -121,7 +121,7 @@ RegisterSecurityHandler (
|
||||
@param[in] FilePath This is a pointer to the device path of the file that is
|
||||
being dispatched. This will optionally be used for logging.
|
||||
|
||||
@retval EFI_SUCCESS The file specified by File did authenticate when more
|
||||
@retval EFI_SUCCESS The file specified by File authenticated when more
|
||||
than one security handler services were registered,
|
||||
or the file did not authenticate when no security
|
||||
handler service was registered. And the platform policy
|
||||
|
Reference in New Issue
Block a user