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

From WikiTI
Jump to: navigation, search
(Created MD5 ports page)
 
m (give the function...nice docs by the way)
Line 2: Line 2:
 
'''Port Numbers:''' 18h-1Fh
 
'''Port Numbers:''' 18h-1Fh
  
'''Function:'''  
+
'''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.
 
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.

Revision as of 18:48, 27 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.