IBM Support

SHA3 support in Calculate Hash APIs

News


Abstract

The Calculate Hash APIs (QC3CALHA and Qc3CalculateHash) and the Create Algorithm Context APIs (QC3CRTAX and Qc3CreateAlgorithmContext) were updated to support calculating a hash value using the SHA-3 algorithm.

Content

You are in: IBM i Technology Updates > IBM i Security > SHA3 support in Calculate Hash APIs
The Calculate Hash APIs (QC3CALHA and Qc3CalculateHash) and the Create Algorithm Context APIs (QC3CRTAX and Qc3CreateAlgorithmContext) were updated to support calculating a hash value using the SHA-3 algorithm. Set the "Hash algorithm" field in the ALGD0500 format to one of the following values to request the appropriate variant of the SHA-3 hash algorithm.
Qc3_SHA3_224 (8)
Qc3_SHA3_256 (9)
Qc3_SHA3_384 (11)
Qc3_SHA3_512 (12)

IBM i 7.4 PTFs required
SI72434 (API support)
SI72437 (header file with constants listed above)
MF67534 (Algorithm support)  [Conditional delayed apply]

IBM i 7.3 PTFs required
SI72278 (API support)
SI72281 (header file with constants listed above)
MF67144 (Algorithm support)  [Delayed apply]

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
06 July 2020

UID

ibm16150741