diff options
author | Joerg Schmidbauer <[email protected]> | 2024-08-28 13:52:30 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2024-08-29 22:56:34 +0200 |
commit | 88c02b3f79a61e659749773865998e0c33247e86 (patch) | |
tree | c9a32b4f7daef390c23370509babb9eab2afd36f /rust/helpers.c | |
parent | 177b621bf0685e8733fa6a7c796865f4200a6e2f (diff) |
s390/sha3: Support sha3 performance enhancements
On newer machines the SHA3 performance of CPACF instructions KIMD and
KLMD can be enhanced by using additional modifier bits. This allows the
application to omit initializing the ICV, but also affects the internal
processing of the instructions. Performance is mostly gained when
processing short messages.
The new CPACF feature is backwards compatible with older machines, i.e.
the new modifier bits are ignored on older machines. However, to save the
ICV initialization, the application must detect the MSA level and omit
the ICV initialization only if this feature is supported.
Reviewed-by: Holger Dengler <[email protected]>
Signed-off-by: Joerg Schmidbauer <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions