12.07.2015 Views

PXA3xx Boot ROM Reference Manual - Marvell

PXA3xx Boot ROM Reference Manual - Marvell

PXA3xx Boot ROM Reference Manual - Marvell

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PXA3xx</strong> Processors and Tavor Processor<strong>Boot</strong> <strong>ROM</strong> <strong>Reference</strong> <strong>Manual</strong>unsigned int wLength;unsigned int wData;7.4 Hashing MethodsThe following provides the fields used to create each hash located in the trusted image module.• Hash Value of the Trusted Image Module – The hash value of the trusted image module coversall information up to the platform digital signature substructure. The size is determineddynamically as follows:Trusted image module size to hash = size of version information + sizeof flash information +(size of image information * NumImages) +(size of key information * NumKeys)+ size of reserved + 3 Hash_value =SHA-1 (start of trusted image module through trusted image module sizeto hash)• Hash Value of the Image – The hash value of the image is taken from the start of the binary overthe size indicated by the field ImageSizeToHash.Hash value = SHA-1(start of image thru (ImageSize - ImageSizeToHash))• Hash Value of the Keys – The hash value of the keys is taken over the RSAPublicExponentarray and the RSA modulus array. There are two hashing methods used, depending on the keybeing hashed. This is a requirement based on the trusted platform module implementation.• JTAG Re-enabling, OEM Platform Bind, and Trusted Certificate Authority keys• Hash value = SHA1 (RSAPublicExponent[64]/RSAModulus[64]/SHA padding)7.5 Summary of Predefined Package IDs for the TrustedImage ModuleThe following list summarizes the predefined package IDs as indicated in the header of eachpackage.Table 40:NameDDRIDAUTOBINDTERMINATORIDGPIOIDUARTIDUSBIDRESUMEIDUSBVENDORREQReserved Area Predefined Package ID’sUSB_DEVICE_DESCRIPTORUSB_CONFIG_DESCRIPTORUSB_INTERFACE_DESCRIPTORUSB_LANGUAGE_STRING_DESCRIPTORUSB_MANUFACTURER_STRING_DESCRIPTORUSB_PRODUCT_STRING_DESCRIPTORHex Word Value0x444472480X42494e440x5465726D0x4750494F0x554152540x005553420x5265736D0x565245510x555342000x555342010x555342020x555342030x555342040x5553420512345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758Doc. No. MV-S301208-00 Rev. - PUBLIC RELEASE Copyright © 2010 <strong>Marvell</strong>Page 78

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!