/external/vboot_reference/firmware/lib/ |
D | vboot_api_kernel.c | 40 VBDEBUG(("VbSetRecoveryRequest(%d)\n", (int)recovery_request)); in VbSetRecoveryRequest() 79 VBDEBUG(("VbTryLoadKernel() start, get_info_flags=0x%x\n", in VbTryLoadKernel() 89 VBDEBUG(("VbTryLoadKernel() found %d disks\n", (int)disk_count)); in VbTryLoadKernel() 97 VBDEBUG(("VbTryLoadKernel() trying disk %d\n", (int)i)); in VbTryLoadKernel() 109 VBDEBUG((" skipping: bytes_per_lba=%" PRIu64 in VbTryLoadKernel() 124 VBDEBUG(("VbTryLoadKernel() LoadKernel() = %d\n", retval)); in VbTryLoadKernel() 163 VBDEBUG(("Entering %s(0x%x)\n", __func__, confirm_flags)); in VbUserConfirms() 183 VBDEBUG(("%s() - Yes (1)\n", __func__)); in VbUserConfirms() 187 VBDEBUG(("%s() - Space (%d)\n", __func__, in VbUserConfirms() 193 VBDEBUG(("%s() - No (0)\n", __func__)); in VbUserConfirms() [all …]
|
D | vboot_common.c | 129 VBDEBUG(("Invalid algorithm.\n")); in PublicKeyToRSA() 134 VBDEBUG(("Wrong key size for algorithm\n")); in PublicKeyToRSA() 149 VBDEBUG((" - sig_size=%d, expecting %d for algorithm %d\n", in VerifyData() 153 VBDEBUG(("Wrong data signature size for algorithm, " in VerifyData() 160 VBDEBUG(("Data buffer smaller than length of signed data.\n")); in VerifyData() 175 VBDEBUG(("Wrong digest signature size for algorithm.\n")); in VerifyDigest() 194 VBDEBUG(("Not enough space for key block header.\n")); in KeyBlockVerify() 198 VBDEBUG(("Not a valid verified boot key block.\n")); in KeyBlockVerify() 202 VBDEBUG(("Incompatible key block header version.\n")); in KeyBlockVerify() 206 VBDEBUG(("Not enough data for key block.\n")); in KeyBlockVerify() [all …]
|
D | rollback_index.c | 44 VBDEBUG(("Rollback: %08x returned by " #tpm_command \ 53 VBDEBUG(("TPM: Clear and re-enable\n")); in TPMClearAndReenable() 117 VBDEBUG(("TPM: %s() - bad CRC\n", __func__)); in ReadSpaceFirmware() 120 VBDEBUG(("TPM: %s() - too many bad CRCs, giving up\n", __func__)); in ReadSpaceFirmware() 147 VBDEBUG(("TPM: %s() - bad CRC\n", __func__)); in WriteSpaceFirmware() 151 VBDEBUG(("TPM: %s() - too many bad CRCs, giving up\n", __func__)); in WriteSpaceFirmware() 159 VBDEBUG(("TPM: Entering %s()\n", __func__)); in SetVirtualDevMode() 163 VBDEBUG(("TPM: flags were 0x%02x\n", rsf.flags)); in SetVirtualDevMode() 172 VBDEBUG(("TPM: flags are now 0x%02x\n", rsf.flags)); in SetVirtualDevMode() 177 VBDEBUG(("TPM: Leaving %s()\n", __func__)); in SetVirtualDevMode() [all …]
|
D | vboot_kernel.c | 61 VBDEBUG(("LoadKernel() called with invalid params\n")); in LoadKernel() 101 VBDEBUG(("LoadKernel() called with sector size > KBUF_SIZE\n")); in LoadKernel() 124 VBDEBUG(("Unable to read GPT data\n")); in LoadKernel() 131 VBDEBUG(("Error parsing GPT\n")); in LoadKernel() 154 VBDEBUG(("Found kernel entry at %" PRIu64 " size %" PRIu64 "\n", in LoadKernel() 180 VBDEBUG(("Partition error getting stream.\n")); in LoadKernel() 186 VBDEBUG(("Unable to read start of partition.\n")); in LoadKernel() 195 VBDEBUG(("Verifying key block signature failed.\n")); in LoadKernel() 208 VBDEBUG(("Self-signed kernels not enabled.\n")); in LoadKernel() 220 VBDEBUG(("Verifying key block hash failed.\n")); in LoadKernel() [all …]
|
D | vboot_firmware.c | 63 VBDEBUG(("LoadFirmware started...\n")); in LoadFirmware() 68 VBDEBUG(("No GBB\n")); in LoadFirmware() 123 VBDEBUG(("Developer flag mismatch.\n")); in LoadFirmware() 130 VBDEBUG(("Recovery flag mismatch.\n")); in LoadFirmware() 138 VBDEBUG(("Key block verification failed.\n")); in LoadFirmware() 147 VBDEBUG(("Key rollback detected.\n")); in LoadFirmware() 157 VBDEBUG(("Key version > 0xFFFF.\n")); in LoadFirmware() 166 VBDEBUG(("Unable to parse data key.\n")); in LoadFirmware() 178 VBDEBUG(("Preamble verfication failed.\n")); in LoadFirmware() 189 VBDEBUG(("Firmware version rollback detected.\n")); in LoadFirmware() [all …]
|
D | vboot_audio.c | 72 VBDEBUG(("VbGetDevMusicNotes: use_short is %d, hdr is %p, " in VbGetDevMusicNotes() 92 VBDEBUG(("VbGetDevMusicNotes: bad sig\n")); in VbGetDevMusicNotes() 102 VBDEBUG(("VbGetDevMusicNotes: count=%d maxnotes=%d\n", in VbGetDevMusicNotes() 115 VBDEBUG(("VbGetDevMusicNotes: count=%d, just isn't right\n", in VbGetDevMusicNotes() 126 VBDEBUG(("VbGetDevMusicNotes: mysum=%08x, want=%08x\n", in VbGetDevMusicNotes() 131 VBDEBUG(("VbGetDevMusicNotes: custom notes struct at %p\n", hdr)); in VbGetDevMusicNotes() 152 VBDEBUG(("VbGetDevMusicNotes: with %d msecs of sound to begin\n", in VbGetDevMusicNotes() 161 VBDEBUG(("VbGetDevMusicNotes: lasting %d msecs\n", total_msecs)); in VbGetDevMusicNotes() 168 VBDEBUG(("VbGetDevMusicNotes: they're all out to get me!\n")); in VbGetDevMusicNotes() 187 VBDEBUG(("VbGetDevMusicNotes: adding %d msecs of silence\n", in VbGetDevMusicNotes() [all …]
|
D | vboot_api_init.c | 50 VBDEBUG(("VbInit() input flags 0x%x gbb flags 0x%x\n", iparams->flags, in VbInit() 60 VBDEBUG(("Shared data init error\n")); in VbInit() 96 VBDEBUG(("VbInit() requesting S3 debug boot\n")); in VbInit() 115 VBDEBUG(("VbInit sees recovery request = %d\n", recovery)); in VbInit() 144 VBDEBUG(("VbInit now sets shared->recovery_reason = %d\n", recovery)); in VbInit() 194 VBDEBUG(("TPM: Call RollbackFirmwareSetup(r%d, d%d)\n", in VbInit() 203 VBDEBUG(("Unable to setup TPM and read " in VbInit() 211 VBDEBUG(("TPM requires a reboot.\n")); in VbInit() 311 VBDEBUG(("VbInit() needs oprom, doesn't have it\n")); in VbInit() 347 VBDEBUG(("VbInit() has oprom, doesn't need it\n")); in VbInit() [all …]
|
D | vboot_nvstorage_rollback.c | 34 VBDEBUG(("TPM: %s()\n", __func__)); in RestoreNvFromBackup() 41 VBDEBUG(("TPM: Oops, backup is no good.\n")); in RestoreNvFromBackup() 60 VBDEBUG(("TPM: %s()\n", __func__)); in SaveNvToBackup() 67 VBDEBUG(("TPM: existing backup is %s\n", in SaveNvToBackup() 78 VBDEBUG(("TPM: Nothing's changed, not writing backup\n")); in SaveNvToBackup() 90 VBDEBUG(("TPM: Sorry, couldn't write backup.\n")); in SaveNvToBackup()
|
D | gpt_misc.c | 66 VBDEBUG(("Primary GPT header invalid!\n")); in AllocAndReadGptData() 91 VBDEBUG(("Secondary GPT header invalid!\n")); in AllocAndReadGptData() 132 VBDEBUG(("Not updating GPT header 1: " in WriteAndFreeGptData() 135 VBDEBUG(("Updating GPT header 1\n")); in WriteAndFreeGptData() 146 VBDEBUG(("Not updating GPT entries 1: " in WriteAndFreeGptData() 149 VBDEBUG(("Updating GPT entries 1\n")); in WriteAndFreeGptData() 164 VBDEBUG(("Updating GPT entries 2\n")); in WriteAndFreeGptData() 174 VBDEBUG(("Updating GPT header 2\n")); in WriteAndFreeGptData()
|
D | vboot_api_firmware.c | 46 VBDEBUG(("VbSelectFirmware() detected recovery request\n")); in VbSelectFirmware() 52 VBDEBUG(("Can't read GBB. Continuing anyway...\n")); in VbSelectFirmware() 88 VBDEBUG(("Can't write FW version to TPM.\n")); in VbSelectFirmware() 99 VBDEBUG(("Unable to lock firmware version in TPM.\n")); in VbSelectFirmware() 115 VBDEBUG(("Can't update the TPM with boot mode information.\n")); in VbSelectFirmware()
|
D | vboot_common_init.c | 17 VBDEBUG(("VbSharedDataInit, %d bytes, header %d bytes\n", (int)size, in VbSharedDataInit() 21 VBDEBUG(("Not enough data for header.\n")); in VbSharedDataInit() 25 VBDEBUG(("Shared data buffer too small.\n")); in VbSharedDataInit()
|
D | vboot_display.c | 107 VBDEBUG((" VbRenderTextAtPos: invalid args\n")); in VbRenderTextAtPos() 131 VBDEBUG((" VbRenderTextAtPos: " in VbRenderTextAtPos() 195 VBDEBUG(("VbDisplayScreenFromGBB(): screen %d not in the GBB\n", in VbDisplayScreenFromGBB() 202 VBDEBUG(("VbDisplayScreenFromGBB(): " in VbDisplayScreenFromGBB() 244 VBDEBUG(("VbExDisplaySetDimension" in VbDisplayScreenFromGBB() 283 VBDEBUG(("VbDisplayScreenFromGBB(): " in VbDisplayScreenFromGBB() 301 VBDEBUG(("leaving VbDisplayScreenFromGBB() with %d\n",retval)); in VbDisplayScreenFromGBB() 655 VBDEBUG(("VbCheckDisplayKey() - change localization to %d\n", in VbCheckDisplayKey()
|
/external/vboot_reference/firmware/lib/tpm_lite/ |
D | tlcl.c | 70 VBDEBUG(("TPM: command: %x%x %x%x%x%x %x%x%x%x\n", in TlclSendReceiveNoRetry() 80 VBDEBUG(("TPM: command 0x%x send/receive failed: 0x%x\n", in TlclSendReceiveNoRetry() 92 VBDEBUG(("TPM: response: %x%x %x%x%x%x %x%x%x%x\n", in TlclSendReceiveNoRetry() 98 VBDEBUG(("TPM: command 0x%x returned 0x%x\n", in TlclSendReceiveNoRetry() 156 VBDEBUG(("TPM: Startup\n")); in TlclStartup() 161 VBDEBUG(("TPM: SaveState\n")); in TlclSaveState() 166 VBDEBUG(("TPM: Resume\n")); in TlclResume() 171 VBDEBUG(("TPM: Self test full\n")); in TlclSelfTestFull() 177 VBDEBUG(("TPM: Continue self test\n")); in TlclContinueSelfTest() 185 VBDEBUG(("TPM: TlclDefineSpace(0x%x, 0x%x, %d)\n", index, perm, size)); in TlclDefineSpace() [all …]
|
/external/vboot_reference/tests/ |
D | vboot_api_devmode_tests.c | 231 VBDEBUG((" VbExKeyboardRead() - returning %d at %d msec\n", in VbExKeyboardRead() 237 VBDEBUG((" VbExKeyboardRead() - returning %d at %d msec\n", in VbExKeyboardRead() 245 VBDEBUG(("VbExSleepMs(%d) -> %d\n", msec, current_time)); in VbExSleepMs() 253 VBDEBUG(("VbExBeep(%d, %d) at %d msec\n", msec, frequency, current_time)); in VbExBeep() 271 VBDEBUG(("VbExDisplayScreen(BLANK)\n")); in VbExDisplayScreen() 274 VBDEBUG(("VbExDisplayScreen(DEV)\n")); in VbExDisplayScreen() 277 VBDEBUG(("VbExDisplayScreen(EGG)\n")); in VbExDisplayScreen() 280 VBDEBUG(("VbExDisplayScreen(REMOVE)\n")); in VbExDisplayScreen() 283 VBDEBUG(("VbExDisplayScreen(INSERT)\n")); in VbExDisplayScreen() 286 VBDEBUG(("VbExDisplayScreen(NO_GOOD)\n")); in VbExDisplayScreen() [all …]
|
D | vboot_api_kernel_tests.c | 227 VBDEBUG(("My %s\n", __FUNCTION__)); in VbExDiskGetInfo() 243 VBDEBUG((" mock_disk[%d] %" PRIu64 " %" PRIu64 in VbExDiskGetInfo() 263 VBDEBUG((" *count=%" PRIu32 "\n", *count)); in VbExDiskGetInfo() 264 VBDEBUG((" return 0x%x\n", t->diskgetinfo_return_val)); in VbExDiskGetInfo() 273 VBDEBUG(("%s(): got_load_disk = %s\n", __FUNCTION__, in VbExDiskFreeInfo() 281 VBDEBUG(("%s(%d): got_find_disk = %s\n", __FUNCTION__, in LoadKernel() 292 VBDEBUG(("%s(): got_recovery_request_val = %d (0x%x)\n", __FUNCTION__, in VbNvSet()
|
D | rsa_verify_benchmark.c | 40 VBDEBUG(("Couldn't read RSA Public key from file: %s\n", file_name)); in SpeedTestAlgorithm() 50 VBDEBUG(("Couldn't read digest file.\n")); in SpeedTestAlgorithm() 60 VBDEBUG(("Couldn't read signature file.\n")); in SpeedTestAlgorithm() 68 VBDEBUG(("Warning: Signature Check Failed.\n")); in SpeedTestAlgorithm()
|
/external/vboot_reference/host/lib/ |
D | host_key.c | 30 VBDEBUG(("%s() called with invalid algorithm!\n", __FUNCTION__)); in PrivateKeyReadPem() 37 VBDEBUG(("%s(): Couldn't open key file: %s\n", __FUNCTION__, filename)); in PrivateKeyReadPem() 43 VBDEBUG(("%s(): Couldn't read private key from file: %s\n", __FUNCTION__, in PrivateKeyReadPem() 168 VBDEBUG(("PublicKeyReadKeyb() called with invalid algorithm!\n")); in PublicKeyReadKeyb() 173 VBDEBUG(("PublicKeyReadKeyb() called with invalid version!\n")); in PublicKeyReadKeyb() 183 VBDEBUG(("PublicKeyReadKeyb() wrong key size for algorithm\n")); in PublicKeyReadKeyb() 206 VBDEBUG(("PublicKeyRead() not a VbPublicKey\n")); in PublicKeyLooksOkay() 210 VBDEBUG(("PublicKeyRead() invalid algorithm\n")); in PublicKeyLooksOkay() 214 VBDEBUG(("PublicKeyRead() invalid version\n")); in PublicKeyLooksOkay() 219 VBDEBUG(("PublicKeyRead() wrong key size for algorithm\n")); in PublicKeyLooksOkay()
|
D | host_signature.c | 151 VBDEBUG(("SignatureBuf(): RSA_private_encrypt() failed.\n")); in CalculateSignature() 176 VBDEBUG(("Will invoke \"%s %s\" to perform signing.\n" in InvokeExternalSigner() 184 VBDEBUG(("pipe() error\n")); in InvokeExternalSigner() 188 VBDEBUG(("fork() error")); in InvokeExternalSigner() 197 VBDEBUG(("write() error while providing input to external signer\n")); in InvokeExternalSigner() 208 VBDEBUG(("read() error while reading output from external signer\n")); in InvokeExternalSigner() 213 VBDEBUG(("waitpid() error\n")); in InvokeExternalSigner() 223 VBDEBUG(("stdin dup2() failed (external signer)\n")); in InvokeExternalSigner() 232 VBDEBUG(("stdout dup2() failed (external signer)\n")); in InvokeExternalSigner() 239 VBDEBUG(("execl() of external signer failed\n")); in InvokeExternalSigner() [all …]
|
D | file_keys.c | 27 VBDEBUG(("Couldn't open file %s\n", input_file)); in BufferFromFile() 32 VBDEBUG(("Couldn't stat file %s\n", input_file)); in BufferFromFile() 44 VBDEBUG(("Couldn't read file %s into a buffer\n", input_file)); in BufferFromFile() 69 VBDEBUG(("Couldn't open %s\n", input_file)); in DigestFile()
|
D | signature_digest.c | 33 VBDEBUG(("SignatureDigest() called with invalid algorithm!\n")); in SignatureDigest() 51 VBDEBUG(("SignatureBuf(): Couldn't open key file: %s\n", key_file)); in SignatureBuf() 58 VBDEBUG(("SignatureBuf(): Couldn't read private key from file: %s\n", in SignatureBuf() 66 VBDEBUG(("SignatureBuf(): RSA_private_encrypt() failed.\n")); in SignatureBuf()
|
D | host_misc.c | 34 VBDEBUG(("Unable to open file %s\n", filename)); in ReadFile() 49 VBDEBUG(("Unable to read from file %s\n", filename)); in ReadFile() 103 VBDEBUG(("Unable to open file %s\n", filename)); in WriteFile() 108 VBDEBUG(("Unable to write to file %s\n", filename)); in WriteFile()
|
/external/vboot_reference/firmware/lib/cgptlib/ |
D | cgptlib.c | 25 VBDEBUG(("GptInit() failed sanity check\n")); in GptInit() 53 VBDEBUG(("GptNextKernelEntry looking at same prio " in GptNextKernelEntry() 55 VBDEBUG(("GptNextKernelEntry s%d t%d p%d\n", in GptNextKernelEntry() 64 VBDEBUG(("GptNextKernelEntry likes it\n")); in GptNextKernelEntry() 78 VBDEBUG(("GptNextKernelEntry looking at new prio " in GptNextKernelEntry() 80 VBDEBUG(("GptNextKernelEntry s%d t%d p%d\n", in GptNextKernelEntry() 104 VBDEBUG(("GptNextKernelEntry no more kernels\n")); in GptNextKernelEntry() 108 VBDEBUG(("GptNextKernelEntry likes partition %d\n", new_kernel + 1)); in GptNextKernelEntry()
|
/external/vboot_reference/firmware/stub/ |
D | tpm_lite_stub.c | 66 VBDEBUG(("%02x ", a[i])); in PrintBytes() 68 VBDEBUG(("\n")); in PrintBytes() 72 VBDEBUG(("\n")); in PrintBytes() 176 VBDEBUG(("TPM: retrying %s: %s\n", device_path, strerror(errno))); in VbExTpmOpen() 223 VBDEBUG(("request (%d bytes): ", x)); in VbExTpmSendReceive() 226 VBDEBUG(("response (%d bytes): ", y)); in VbExTpmSendReceive() 229 VBDEBUG(("execution time: %dms\n", in VbExTpmSendReceive()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | rsa.c | 144 VBDEBUG(("Signature is of incorrect length!\n")); in RSAVerify() 149 VBDEBUG(("Invalid signature type!\n")); in RSAVerify() 154 VBDEBUG(("Wrong key passed in!\n")); in RSAVerify() 174 VBDEBUG(("In RSAVerify(): Padding check failed!\n")); in RSAVerify() 180 VBDEBUG(("In RSAVerify(): Hash check failed!\n")); in RSAVerify()
|
/external/vboot_reference/host/arch/arm/lib/ |
D | crossystem_arch.c | 296 VBDEBUG(("pipe() error\n")); in ExecuteMosys() 301 VBDEBUG(("fork() error\n")); in ExecuteMosys() 310 VBDEBUG(("stdout dup2() failed (mosys)\n")); in ExecuteMosys() 318 VBDEBUG(("execv() of mosys failed\n")); in ExecuteMosys() 335 VBDEBUG(("read() error while reading output from mosys\n")); in ExecuteMosys() 337 VBDEBUG(("waitpid() or mosys error\n")); in ExecuteMosys()
|