Difference between revisions of "83Plus:Ports:18"

From WikiTI
Jump to: navigation, search
m (Added categories)
m (Fixed category port range)
Line 1: Line 1:
[[Category:83Plus:Ports:By_Address|18 - MD5 Calculation]]
+
[[Category:83Plus:Ports:By_Address|18-1F - MD5 Calculation]]
 
[[Category:83Plus:Ports:By_Name|MD5 Calculation]]
 
[[Category:83Plus:Ports:By_Name|MD5 Calculation]]
 
== Synopsis ==
 
== Synopsis ==

Revision as of 10:07, 28 March 2005

Synopsis

Port Numbers: 18h-1Fh

Function: MD5 Calculation Ports

These ports access the MD5 calculation hardware present on the SE and 84P calculators. These ports will calculate the FF, GG, HH, and II functions required for MD5 digest generation.

Read Values

  • Port 1Ch: MSB of calculated value
  • Port 1Dh: next byte of calculated value
  • Port 1Eh: next byte of calculated value
  • Port 1Fh: LSB of calculated value

Write Values

  • Port 18h: Sets the MD5 register A value. This is a 32-bit output, output values to the port one byte at a time, MSB first.
  • Port 19h: Sets the B register. 32-bit.
  • Port 1Ah: Sets the C register. 32-bit.
  • Port 1Bh: Sets the D register. 32-bit.
  • Port 1Ch: Sets the X register. 32-bit.
  • Port 1Dh: Sets the AC register. 32-bit.
  • Port 1Eh: Sets the S register. 8-bit.
  • Port 1Fh: Selects whether to compute the FF, GG, HH, or II operation. Set port to 0, 1, 2, or 3 respectively.

Comments

This port does not exist on the standard 83 Plus, on which the operations are computed in software. For more information on MD5, see rfc1321.