Hello community,

here is the log from the commit of package libica for openSUSE:Factory checked 
in at 2018-04-19 15:31:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libica (Old)
 and      /work/SRC/openSUSE:Factory/.libica.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libica"

Thu Apr 19 15:31:28 2018 rev:9 rq:597616 version:3.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libica/libica.changes    2017-11-30 
12:46:03.776453989 +0100
+++ /work/SRC/openSUSE:Factory/.libica.new/libica.changes       2018-04-19 
15:31:30.126098681 +0200
@@ -1,0 +2,8 @@
+Wed Apr 18 02:29:29 UTC 2018 - mp...@suse.com
+
+- Added increment-icastats-counter-for-aes-gcm.patch (bsc#1086756)
+- Updated boot.z90crypt script to fix a problem with the modprobe
+  command not being found. (bsc#1040229).
+- Added "Recommends: libica-tools" (bsc#1046435).
+
+-------------------------------------------------------------------

New:
----
  increment-icastats-counter-for-aes-gcm.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libica.spec ++++++
--- /var/tmp/diff_new_pack.NOTgaz/_old  2018-04-19 15:31:30.674076154 +0200
+++ /var/tmp/diff_new_pack.NOTgaz/_new  2018-04-19 15:31:30.674076154 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libica
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -40,6 +40,7 @@
 Source5:        sysconfig.z90crypt
 Source6:        baselibs.conf
 Source7:        %{name}-rpmlintrc
+Patch1:         increment-icastats-counter-for-aes-gcm.patch
 
 Url:            https://github.com/opencryptoki/libica
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -54,6 +55,7 @@
 %package -n libica3
 Summary:        Library interface for the IBM Cryptographic Accelerator
 Group:          System/Libraries
+Recommends:     libica-tools
 
 %description -n libica3
 This package contains the interface library routines used by IBM
@@ -104,6 +106,7 @@
 
 %prep
 %setup -a 1
+%patch1 -p1
 
 %build
 mkdir -p include/linux/

++++++ increment-icastats-counter-for-aes-gcm.patch ++++++
>From ae94822a5d949b45d5a5630ff2819b10e55f88d1 Mon Sep 17 00:00:00 2001
From: Joerg Schmidbauer <jschm...@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 <jschm...@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;
++++++ libica-SuSE.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SuSE/etc/init.d/boot.z90crypt 
new/SuSE/etc/init.d/boot.z90crypt
--- old/SuSE/etc/init.d/boot.z90crypt   2016-02-24 22:28:50.000000000 +0100
+++ new/SuSE/etc/init.d/boot.z90crypt   2018-04-18 04:32:53.756135636 +0200
@@ -61,6 +61,7 @@
                rc_exit
        }
 
+       udevadm settle
        if [ ! -h /sys/class/misc/$device ]; then
                echo -n " - no device, maybe HW not found (see dmesg)"
                rc_failed
@@ -79,12 +80,12 @@
                      zcrypt_pcicc zcrypt_pcixcc zcrypt_msgtype6 \
                      zcrypt_msgtype50 zcrypt_api ap rng_core
           do grep -qw "^${module}" /proc/modules && /sbin/rmmod ${module} > 
/dev/null 2>&1 
-           if [ $? -ne 0 ]; then       
-               rc_failed
-               rc_status -v
-               rc_exit
-           fi
          done
+       if [ -h /sys/class/misc/$device ]; then       
+         rc_failed
+         rc_status -v
+         rc_exit
+       fi
        # Remove the stale device node, if necessary
        if [ -c /dev/${device} ]; then
           rm -f /dev/${device}


Reply via email to