/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
D | HashVerify.c | 94 Print (L" UEFI-OpenSSL Hash Engine Testing:\n"); in ValidateCryptDigest() 97 Print (L"- MD4: "); in ValidateCryptDigest() 106 Print (L"Init... "); in ValidateCryptDigest() 109 Print (L"[Fail]"); in ValidateCryptDigest() 113 Print (L"Update... "); in ValidateCryptDigest() 116 Print (L"[Fail]"); in ValidateCryptDigest() 120 Print (L"Finalize... "); in ValidateCryptDigest() 123 Print (L"[Fail]"); in ValidateCryptDigest() 129 Print (L"Check Value... "); in ValidateCryptDigest() 131 Print (L"[Fail]"); in ValidateCryptDigest() [all …]
|
D | HmacVerify.c | 90 Print (L" \nUEFI-OpenSSL HMAC Engine Testing:\n"); in ValidateCryptHmac() 92 Print (L"- HMAC-MD5: "); in ValidateCryptHmac() 101 Print (L"Init... "); in ValidateCryptHmac() 104 Print (L"[Fail]"); in ValidateCryptHmac() 108 Print (L"Update... "); in ValidateCryptHmac() 111 Print (L"[Fail]"); in ValidateCryptHmac() 115 Print (L"Finalize... "); in ValidateCryptHmac() 118 Print (L"[Fail]"); in ValidateCryptHmac() 124 Print (L"Check Value... "); in ValidateCryptHmac() 126 Print (L"[Fail]"); in ValidateCryptHmac() [all …]
|
D | BlockCipherVerify.c | 152 Print (L"\nUEFI-OpenSSL Block Cipher Engine Testing: "); in ValidateCryptBlockCipher() 157 Print (L"\n- TDES Validation: "); in ValidateCryptBlockCipher() 160 Print (L"ECB... "); in ValidateCryptBlockCipher() 170 Print (L"[Fail]"); in ValidateCryptBlockCipher() 176 Print (L"[Fail]"); in ValidateCryptBlockCipher() 182 Print (L"[Fail]"); in ValidateCryptBlockCipher() 187 Print (L"[Fail]"); in ValidateCryptBlockCipher() 192 Print (L"[Fail]"); in ValidateCryptBlockCipher() 196 Print (L"EDE2 ECB... "); in ValidateCryptBlockCipher() 206 Print (L"[Fail]"); in ValidateCryptBlockCipher() [all …]
|
D | RsaVerify.c | 105 Print (L"\nUEFI-OpenSSL RSA Engine Testing: "); in ValidateCryptRsa() 111 Print (L"\n- Generate RSA Context ... "); in ValidateCryptRsa() 113 Print (L"[Fail]"); in ValidateCryptRsa() 120 Print (L"Set/Get RSA Key Components ... "); in ValidateCryptRsa() 127 Print (L"[Fail]"); in ValidateCryptRsa() 134 Print (L"[Fail]"); in ValidateCryptRsa() 141 Print (L"[Fail]"); in ValidateCryptRsa() 146 Print (L"[Fail]"); in ValidateCryptRsa() 157 Print (L"[Fail]"); in ValidateCryptRsa() 164 Print (L"[Fail]"); in ValidateCryptRsa() [all …]
|
D | RsaVerify2.c | 215 Print (L"\nUEFI-OpenSSL RSA Key Retrieving Testing: "); in ValidateCryptRsa2() 220 Print (L"\n- Retrieve RSA Private Key for PEM ..."); in ValidateCryptRsa2() 223 Print (L"[Fail]"); in ValidateCryptRsa2() 226 Print (L"[Pass]"); in ValidateCryptRsa2() 232 Print (L"\n- Retrieve RSA Public Key from X509 ... "); in ValidateCryptRsa2() 236 Print (L"[Fail]"); in ValidateCryptRsa2() 239 Print (L"[Pass]"); in ValidateCryptRsa2() 245 Print (L"\n- PKCS#1 Signature ... "); in ValidateCryptRsa2() 249 Print (L"[Fail]"); in ValidateCryptRsa2() 256 Print (L"[Fail]"); in ValidateCryptRsa2() [all …]
|
D | DhVerify.c | 42 Print (L"\nUEFI-OpenSSL DH Engine Testing:\n"); in ValidateCryptDh() 55 Print (L"- Context1 ... "); in ValidateCryptDh() 58 Print (L"[Fail]"); in ValidateCryptDh() 62 Print (L"Context2 ... "); in ValidateCryptDh() 65 Print (L"[Fail]"); in ValidateCryptDh() 69 Print (L"Parameter1 ... "); in ValidateCryptDh() 72 Print (L"[Fail]"); in ValidateCryptDh() 76 Print (L"Parameter2 ... "); in ValidateCryptDh() 79 Print (L"[Fail]"); in ValidateCryptDh() 83 Print (L"Generate key1 ... "); in ValidateCryptDh() [all …]
|
D | AuthenticodeVerify.c | 966 Print (L"\n- PE/COFF Authenticode (Digested by SHA-1) Verification ... "); in VerifyAuthenticode() 993 Print (L"[Pass]"); in VerifyAuthenticode() 995 Print (L"[Fail]"); in VerifyAuthenticode() 998 Print (L"[Invalid Hash]"); in VerifyAuthenticode() 1002 Print (L"\n- PE/COFF Authenticode (Digested by SHA-256) Verification ... "); in VerifyAuthenticode() 1014 Print (L"[Pass]"); in VerifyAuthenticode() 1016 Print (L"[Fail]"); in VerifyAuthenticode() 1019 Print (L"[Invalid Hash]"); in VerifyAuthenticode() 1039 Print (L"\nUEFI-OpenSSL Authenticode Testing: "); in ValidateAuthenticode() 1043 Print (L"\n"); in ValidateAuthenticode()
|
D | Pkcs5Pbkdf2Verify.c | 46 Print (L"\nUEFI-OpenSSL PKCS#5 PBKDF2 Testing: "); in ValidateCryptPkcs5Pbkdf2() 47 Print (L"\n- PKCS#5 PBKDF2 Verification: "); in ValidateCryptPkcs5Pbkdf2() 51 Print (L"[Fail]"); in ValidateCryptPkcs5Pbkdf2() 58 Print (L"Deriving Key... "); in ValidateCryptPkcs5Pbkdf2() 71 Print (L"[Fail]"); in ValidateCryptPkcs5Pbkdf2() 79 Print (L"Check Derived Key... "); in ValidateCryptPkcs5Pbkdf2() 81 Print (L"[Fail]"); in ValidateCryptPkcs5Pbkdf2() 86 Print (L"[Pass]\n"); in ValidateCryptPkcs5Pbkdf2()
|
D | TSVerify.c | 318 Print (L"\n- Verify RFC3161 TimeStamp CounterSignature in PE/COFF Authenticode ... "); in VerifyTSCounterSignature() 330 Print (L"[Pass]\n"); in VerifyTSCounterSignature() 331 Print (L" --> The PE/COFF was signed at <%t>", &SigningTime); in VerifyTSCounterSignature() 333 Print (L"[Fail]"); in VerifyTSCounterSignature() 353 Print (L"\nUEFI-OpenSSL RFC3161 Timestamp Signature Testing: "); in ValidateTSCounterSignature() 357 Print (L"\n"); in ValidateTSCounterSignature()
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/DebugAgentDxe/ |
D | DebugAgentDxe.c | 63 … Print (L"If the Debug Port is serial port, please make sure this serial port isn't connected by"); in DebugAgentDxeInitialize() 64 Print (L" ISA Serial driver\r\n"); in DebugAgentDxeInitialize() 65 Print (L"You could do the following steps to disconnect the serial port:\r\n"); in DebugAgentDxeInitialize() 66 Print (L"1: Shell> drivers\r\n"); in DebugAgentDxeInitialize() 67 Print (L" ...\r\n"); in DebugAgentDxeInitialize() 68 Print (L" V VERSION E G G #D #C DRIVER NAME IMAGE NAME\r\n"); in DebugAgentDxeInitialize() 69 … Print (L" == ======== = = = == == =================================== ===================\r\n"); in DebugAgentDxeInitialize() 70 Print (L" 8F 0000000A B - - 1 14 PCI Bus Driver PciBusDxe\r\n"); in DebugAgentDxeInitialize() 71 Print (L" 91 00000010 ? - - - - ATA Bus Driver AtaBusDxe\r\n"); in DebugAgentDxeInitialize() 72 Print (L" ...\r\n"); in DebugAgentDxeInitialize() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Application/RngTest/ |
D | RngTest.c | 56 Print (L"UEFI RNG Protocol Testing :\n"); in UefiMain() 57 Print (L"----------------------------\n"); in UefiMain() 62 Print (L" -- Locate UEFI RNG Protocol : "); in UefiMain() 65 Print (L"[Fail - Status = %r]\n", Status); in UefiMain() 68 Print (L"[Pass]\n"); in UefiMain() 75 Print (L" -- Call RNG->GetInfo() interface : "); in UefiMain() 79 Print (L"[Fail - Status = %r]\n", Status); in UefiMain() 85 Print (L"\n >> Supported RNG Algorithm (Count = %d) : ", RngAlgCount); in UefiMain() 89 Print (L"\n %d) ", Index); in UefiMain() 90 Print (L"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", PtrRngAlg->Data1, in UefiMain() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/CapsuleApp/ |
D | CapsuleDump.c | 76 Print(L"[UxCapusule]\n"); in DumpUxCapsule() 77 Print(L"CapsuleHeader:\n"); in DumpUxCapsule() 78 Print(L" CapsuleGuid - %g\n", &DisplayCapsule->CapsuleHeader.CapsuleGuid); in DumpUxCapsule() 79 Print(L" HeaderSize - 0x%x\n", DisplayCapsule->CapsuleHeader.HeaderSize); in DumpUxCapsule() 80 Print(L" Flags - 0x%x\n", DisplayCapsule->CapsuleHeader.Flags); in DumpUxCapsule() 81 Print(L" CapsuleImageSize - 0x%x\n", DisplayCapsule->CapsuleHeader.CapsuleImageSize); in DumpUxCapsule() 82 Print(L"ImagePayload:\n"); in DumpUxCapsule() 83 Print(L" Version - 0x%x\n", DisplayCapsule->ImagePayload.Version); in DumpUxCapsule() 84 Print(L" Checksum - 0x%x\n", DisplayCapsule->ImagePayload.Checksum); in DumpUxCapsule() 85 Print(L" ImageType - 0x%x\n", DisplayCapsule->ImagePayload.ImageType); in DumpUxCapsule() [all …]
|
D | CapsuleApp.c | 198 Print(L"CapsuleApp: NO GOP is found.\n"); in CreateBmpFmp() 201 Print(L"Current GOP: Mode - %d, ", Gop->Mode->Mode); in CreateBmpFmp() 202 Print(L"HorizontalResolution - %d, ", Gop->Mode->Info->HorizontalResolution); in CreateBmpFmp() 203 Print(L"VerticalResolution - %d\n", Gop->Mode->Info->VerticalResolution); in CreateBmpFmp() 208 Print(L"CapsuleApp: Invalid Parameter.\n"); in CreateBmpFmp() 213 Print(L"CapsuleApp: NO output capsule name.\n"); in CreateBmpFmp() 225 Print(L"CapsuleApp: BMP image (%s) is not found.\n", BmpName); in CreateBmpFmp() 232 Print(L"CapsuleApp: Capsule Buffer size (0x%x) too big.\n", FullCapsuleBufferSize); in CreateBmpFmp() 256 Print(L"CapsuleApp: Write %s %r\n", OutputCapsuleName, Status); in CreateBmpFmp() 354 Print(L"CapsuleApp: Invalid Parameter.\n"); in CreateNestedFmp() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
D | Dump.c | 73 Print (L"\""); in DumpAsciiString() 75 Print (L"%c", (CHAR16) Str[Index]); in DumpAsciiString() 77 Print (L"\""); in DumpAsciiString() 95 Print (L"%02x ", Data[Index]); in DumpBuf() 110 Print ( in DumpAddressInfo() 118 Print (L"/%d", (UINTN) AddressInfo->PrefixLength); in DumpAddressInfo() 123 Print ( in DumpAddressInfo() 135 Print (L"/%d", AddressInfo->PrefixLength); in DumpAddressInfo() 151 Print ( in DumpIpAddress() 161 Print ( in DumpIpAddress() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/ |
D | EbcDebuggerConfig.c | 31 Print ( in PrintUsage() 58 Print (L"Not supported!\n"); in EdbShowInfo() 85 Print (L"BOC on\n"); in EdbConfigBreak() 87 Print (L"BOC off\n"); in EdbConfigBreak() 94 Print (L"Invalid parameter\n"); in EdbConfigBreak() 99 Print (L"BOCX on\n"); in EdbConfigBreak() 101 Print (L"BOCX off\n"); in EdbConfigBreak() 108 Print (L"Invalid parameter\n"); in EdbConfigBreak() 113 Print (L"BOR on\n"); in EdbConfigBreak() 115 Print (L"BOR off\n"); in EdbConfigBreak() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Applications/SpiTool/ |
D | SpiFlashCmd.c | 105 Print (L"\nBasic SPI command\n" in SfUsage() 147 Print (L"sf: Cannot open file\n"); in OpenAndPrepareFile() 154 Print (L"sf: Cannot set file position to first byte\n"); in OpenAndPrepareFile() 185 Print (L"sf: Detected supported SPI flash with ID=%3x\n", RefId); in FlashProbe() 188 Print (L"sf: Cannot initialize flash device\n"); in FlashProbe() 194 Print (L"sf: Unsupported SPI flash detected with ID=%2x\n", RefId); in FlashProbe() 198 Print (L"sf: No SPI flash detected"); in FlashProbe() 228 Print (L"sf: Cannot locate SpiFlash protocol\n"); in ShellCommandRunSpiFlash() 238 Print (L"sf: Cannot locate SpiMaster protocol\n"); in ShellCommandRunSpiFlash() 245 Print (L"sf: Cannot initialize Shell\n"); in ShellCommandRunSpiFlash() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetSockOpt/ |
D | SetSockOpt.c | 95 Print ( L"LengthInBytes: %d\r\n", LengthInBytes ); in DisplayOption() 96 Print ( L"%a: ", pOption->pOptionName ); in DisplayOption() 99 Print ( L" --> " ); in DisplayOption() 108 Print ( L"%a:", pOption->pOptionName ); in DisplayOption() 111 Print ( L" %02x", *Value.u8 ); in DisplayOption() 118 Print ( L"%d", *Value.i32 ); in DisplayOption() 122 Print ( L"\r\nERROR - Invalid length, errno: %d\r\n", errno ); in DisplayOption() 130 Print ( L"%a", pString ); in DisplayOption() 133 Print ( L"%08x (unknown type)", *Value.i32 ); in DisplayOption() 138 Print ( L"\r\nERROR - Invalid length, errno: %d\r\n", errno ); in DisplayOption() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByName/ |
D | GetHostByName.c | 52 Print ( L"%a <host name>\r\n", Argv[0]); in main() 58 Print ( L"ERROR - host not found, h_errno: %d\r\n", h_errno ); in main() 62 Print ( L"%d.%d.%d.%d, Type %d, %a\r\n", in main() 73 Print ( L"%d.%d.%d.%d\r\n", in main() 83 Print ( L"No aliases\r\n" ); in main() 86 Print ( L"Aliases: " ); in main() 91 Print ( L"%a", *ppName ); in main() 98 Print ( L", " ); in main() 101 Print ( L"\r\n" ); in main()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Application/Cpuid/ |
D | Cpuid.c | 24 Print (L"%5a%42a: %x\n", #Variable, #FieldName, Variable.Bits.FieldName); 30 Print (L"%5a%42a: %x\n", #Variable, #Description, Variable); 186 Print (L"CPUID_SIGNATURE (Leaf %08x)\n", CPUID_SIGNATURE); in CpuidSignature() 187 Print (L" EAX:%08x EBX:%08x ECX:%08x EDX:%08x\n", Eax, Ebx, Ecx, Edx); in CpuidSignature() 193 Print (L" Signature = %a\n", Signature); in CpuidSignature() 220 Print (L"CPUID_VERSION_INFO (Leaf %08x)\n", CPUID_VERSION_INFO); in CpuidVersionInfo() 221 …Print (L" EAX:%08x EBX:%08x ECX:%08x EDX:%08x\n", Eax.Uint32, Ebx.Uint32, Ecx.Uint32, Edx.Uint… in CpuidVersionInfo() 233 …Print (L" Family = %x Model = %x Stepping = %x\n", DisplayFamily, DisplayModel, Eax.Bits.Steppi… in CpuidVersionInfo() 353 Print (L"CPUID_CACHE_INFO (Leaf %08x)\n", CPUID_CACHE_INFO); in CpuidCacheInfo() 354 …Print (L" EAX:%08x EBX:%08x ECX:%08x EDX:%08x\n", Eax.Uint32, Ebx.Uint32, Ecx.Uint32, Edx.Uint… in CpuidCacheInfo() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/MemoryProfileInfo/ |
D | MemoryProfileInfo.c | 403 Print (L" MEMORY_PROFILE_ALLOC_INFO (0x%x)\n", AllocIndex); in DumpMemoryProfileAllocInfo() 404 Print (L" Signature - 0x%08x\n", AllocInfo->Header.Signature); in DumpMemoryProfileAllocInfo() 405 Print (L" Length - 0x%04x\n", AllocInfo->Header.Length); in DumpMemoryProfileAllocInfo() 406 Print (L" Revision - 0x%04x\n", AllocInfo->Header.Revision); in DumpMemoryProfileAllocInfo() 407 …Print (L" CallerAddress - 0x%016lx (Offset: 0x%08x)\n", AllocInfo->CallerAddress, (UINTN) (Al… in DumpMemoryProfileAllocInfo() 408 Print (L" SequenceId - 0x%08x\n", AllocInfo->SequenceId); in DumpMemoryProfileAllocInfo() 409 …Print (L" Action - 0x%08x (%a)\n", AllocInfo->Action, ProfileActionToStr (AllocInfo->A… in DumpMemoryProfileAllocInfo() 410 …Print (L" MemoryType - 0x%08x (%a)\n", AllocInfo->MemoryType, ProfileMemoryTypeToStr (Allo… in DumpMemoryProfileAllocInfo() 411 Print (L" Buffer - 0x%016lx\n", AllocInfo->Buffer); in DumpMemoryProfileAllocInfo() 412 Print (L" Size - 0x%016lx\n", AllocInfo->Size); in DumpMemoryProfileAllocInfo() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetHostName/ |
D | SetHostName.c | 61 Print ( L"ERROR - errno: %d\r\n", errno ); in main() 65 Print ( L"WARNING - Plarform does not support permanent storage!\r\n" ); in main() 69 Print ( L"ERROR - Insufficient storage to save host name!\r\n" ); in main() 73 Print ( L"ERROR - Platform does not support environment variable storage!\r\n" ); in main() 84 Print ( L"ERROR - Unable to get host name, errno: %d\r\n", errno ); in main() 88 Print ( L"Host name is not set!\r\n" ); in main() 91 Print ( L"Host name: %a", &mBuffer[0]); in main()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/EblCmdLib/ |
D | EblCmdFdt.c | 85 Print(L" = \"%a\"", (const char *)data); in PrintData() 87 Print(L" = <"); in PrintData() 89 Print(L"0x%08x%a", fdt32_to_cpu(GET_CELL(p)),i < (len - 4) ? " " : ""); in PrintData() 91 Print(L">"); in PrintData() 93 Print(L" = ["); in PrintData() 95 Print(L"%02x%a", *p++, i < len - 1 ? " " : ""); in PrintData() 96 Print(L"]"); in PrintData() 139 Print(L"%*s%a {\n", depth * shift, L" ", s); in DumpFdt() 148 Print(L"%*s};\n", depth * shift, L" "); in DumpFdt() 153 Print(L"%*s// [NOP]\n", depth * shift, L" "); in DumpFdt() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetHostByAddr/ |
D | GetHostByAddr.c | 64 Print ( L"%a <IPv4 Address>\r\n", Argv[0]); in main() 76 Print ( L"ERROR - host not found, h_errno: %d\r\n", h_errno ); in main() 80 Print ( L"%d.%d.%d.%d, %a\r\n", in main() 92 Print ( L"%d.%d.%d.%d\r\n", in main() 104 Print ( L"No aliases\r\n" ); in main() 107 Print ( L"Aliases: " ); in main() 112 Print ( L"%a", *ppName ); in main() 119 Print ( L", " ); in main() 122 Print ( L"\r\n" ); in main()
|
/device/linaro/bootloader/OpenPlatformPkg/Applications/FirmwareUpdate/ |
D | FUpdate.c | 110 Print (L"%s: No SPI flash detected"); in SpiFlashProbe() 113 Print (L"%s: Unsupported SPI flash detected with ID=%2x\n", CMD_NAME_STRING, RefId); in SpiFlashProbe() 117 Print (L"%s: Detected supported SPI flash with ID=%3x\n", CMD_NAME_STRING, RefId); in SpiFlashProbe() 121 Print (L"%s: Cannot initialize flash device\n", CMD_NAME_STRING); in SpiFlashProbe() 143 … Print (L"%s: Bad Image magic 0x%08x != 0x%08x\n", CMD_NAME_STRING, Header->Magic, MAIN_HDR_MAGIC); in CheckImageHeader() 152 Print (L"%s: Bad Image checksum. 0x%x != 0x%x\n", CMD_NAME_STRING, Checksum, ChecksumBackup); in CheckImageHeader() 179 Print (L"%s: No image specified\n", CMD_NAME_STRING); in PrepareFirmwareImage() 184 Print (L"%s: File not found\n", CMD_NAME_STRING); in PrepareFirmwareImage() 194 Print (L"%s: Cannot open Image file\n", CMD_NAME_STRING); in PrepareFirmwareImage() 200 Print (L"%s: Cannot get Image file size\n", CMD_NAME_STRING); in PrepareFirmwareImage() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Applications/EepromCmd/ |
D | EepromCmd.c | 94 Print (L"Basic EEPROM commands:\n" in Usage() 138 Print (L"0 devices found.\n"); in EepromList() 140 Print (L"%u devices found: ", ProtocolCount); in EepromList() 151 Print (L"0x%x at bus %d\n", I2C_DEVICE_ADDRESS(EepromProtocol->Identifier), in EepromList() 158 Print (L"\n"); in EepromList() 236 Print (L"Failed to locate I2cMaster protocol, abort!\n"); in ShellCommandRunEeprom() 241 Print (L"Cannot connect I2C stack, abort!\n"); in ShellCommandRunEeprom() 248 Print (L"Error - failed to initialize shell\n"); in ShellCommandRunEeprom() 254 Print (L"Error - failed to parse command line\n"); in ShellCommandRunEeprom() 269 Print (L"Not enough arguments given.\n"); in ShellCommandRunEeprom() [all …]
|