X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SecurityPkg%2FLibrary%2FAuthVariableLib%2FAuthVariableLib.c;fp=SecurityPkg%2FLibrary%2FAuthVariableLib%2FAuthVariableLib.c;h=122b3b0bf42228fcd59804068b92b35a5f23f785;hp=e80fadbf059b35af1035e5e63c0c82a0e5bf4f54;hb=d6b926e76e3d639ac37610e97d33ff9e3a6281eb;hpb=6e7e9b95782413b6e32eb7a7f79c0aecc8ec6a18 diff --git a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c index e80fadbf05..122b3b0bf4 100644 --- a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c +++ b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c @@ -96,7 +96,7 @@ VOID **mAuthVarAddressPointer[9]; AUTH_VAR_LIB_CONTEXT_IN *mAuthVarLibContextIn = NULL; /** - Initialization for authenticated varibale services. + Initialization for authenticated variable services. If this initialization returns error status, other APIs will not work and expect to be not called then. @@ -382,7 +382,7 @@ AuthVariableLibInitialize ( @retval EFI_INVALID_PARAMETER Invalid parameter. @retval EFI_WRITE_PROTECTED Variable is write-protected. @retval EFI_OUT_OF_RESOURCES There is not enough resource. - @retval EFI_SECURITY_VIOLATION The variable is with EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACESS + @retval EFI_SECURITY_VIOLATION The variable is with EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS set, but the AuthInfo does NOT pass the validation check carried out by the firmware. @retval EFI_UNSUPPORTED Unsupported to process authenticated variable.