Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
libica.10421
increment-icastats-counter-for-aes-gcm.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File increment-icastats-counter-for-aes-gcm.patch of Package libica.10421
From ae94822a5d949b45d5a5630ff2819b10e55f88d1 Mon Sep 17 00:00:00 2001 From: Joerg Schmidbauer <jschmidb@de.ibm.com> Date: Mon, 13 Nov 2017 15:23:26 +0100 Subject: [PATCH] Bugfix: Increment icastats counter for AES-GCM. Signed-off-by: Joerg Schmidbauer <jschmidb@de.ibm.com> --- src/include/s390_gcm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/s390_gcm.h b/src/include/s390_gcm.h index 4f1d853..e856a1c 100644 --- a/src/include/s390_gcm.h +++ b/src/include/s390_gcm.h @@ -749,6 +749,10 @@ static inline int s390_aes_gcm_kma(const unsigned char *in_data, if (rc >= 0) { ctx->subkey_provided = 1; + if (ctx->direction) + stats_increment(ICA_STATS_AES_GCM, ALGO_HW, ENCRYPT); + else + stats_increment(ICA_STATS_AES_GCM, ALGO_HW, DECRYPT); return 0; } else return EIO;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor