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