Difference between revisions of "83Plus:BCALLs:8111"

From WikiTI
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By Name:Display|Validate1024]] [[Category:83Plus:BCALLs:By Name|Validate1024]] [[Category:83Plus:BCALLs:By Address|8114 - Validate1024]][[Category:83Plus:BCALL:By Name:Cryptography|Validate1024]]
+
[[Category:83Plus:BCALLs:By Name:Display|Validate2048]] [[Category:83Plus:BCALLs:By Name|Validate2048]] [[Category:83Plus:BCALLs:By Address|8114 - Validate2048]][[Category:83Plus:BCALLs:By_Name:Cryptography|Validate2048]]
 
== Synopsis ==
 
== Synopsis ==
'''Unofficial Name:''' Validate1024
+
'''Unofficial Name:''' Validate2048
  
'''BCALL Addresses:''' 8114h
+
'''BCALL Addresses:''' 8111h
  
 
'''Minimum Hardware Version:''' 3
 
'''Minimum Hardware Version:''' 3
  
This is the bcall that TI added to boot code 1.03 to prevent downgrading. It MD5 hashes the OS and compares it with the transformation of the signature that is on page 73h. For this transformation, the key is 1024 bits and e = 65537.
+
This is the bcall that TI added to boot code 1.03 to prevent downgrading. It MD5 hashes the OS and compares it with the transformation of the signature that is on page 73h. For this transformation, the key is 2048 bits and e = 65537.
  
 
=== Inputs ===
 
=== Inputs ===
* OS in memory
+
* 8271h - Number of pages in the OS
* Signature at 73:4000
+
* 8272h - Table listing all of the pages with OS code on them
  
 
=== Outputs ===
 
=== Outputs ===

Latest revision as of 14:16, 31 August 2011

Synopsis

Unofficial Name: Validate2048

BCALL Addresses: 8111h

Minimum Hardware Version: 3

This is the bcall that TI added to boot code 1.03 to prevent downgrading. It MD5 hashes the OS and compares it with the transformation of the signature that is on page 73h. For this transformation, the key is 2048 bits and e = 65537.

Inputs

  • 8271h - Number of pages in the OS
  • 8272h - Table listing all of the pages with OS code on them

Outputs

  • Z flag on success

Destroys

  • All

Comments

This routine takes a very long time to run.