MCPcopy Create free account
hub / github.com/demoth/jake2 / engineReset

Method engineReset

qcommon/src/main/java/jake2/qcommon/MD4.java:94–104  ·  view source on GitHub ↗

Resets this object disregarding any temporary data present at the time of the invocation of this call.

()

Source from the content-addressed store, hash-verified

92 * time of the invocation of this call.
93 */
94 public void engineReset() {
95 // initial values of MD4 i.e. A, B, C, D
96 // as per rfc-1320; they are low-order byte first
97 context[0] = 0x67452301;
98 context[1] = 0xEFCDAB89;
99 context[2] = 0x98BADCFE;
100 context[3] = 0x10325476;
101 count = 0L;
102 for (int i = 0; i < BLOCK_LENGTH; i++)
103 buffer[i] = 0;
104 }
105
106 /**
107 * Continues an MD4 message digest using the input byte.

Callers 2

MD4Method · 0.95
engineDigestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected