]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crypto/isa-l/isa-l_crypto/sha256_mb/sha256_mb_mgr_init_sse.c
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / sha256_mb / sha256_mb_mgr_init_sse.c
index 0610bf69da5031039da6f6df61c0208a0a0ad06b..cf22c4aee1331be38b2aa632f4db2c0ff32c9f0c 100644 (file)
@@ -2,7 +2,7 @@
   Copyright(c) 2011-2016 Intel Corporation All rights reserved.
 
   Redistribution and use in source and binary forms, with or without
-  modification, are permitted provided that the following conditions 
+  modification, are permitted provided that the following conditions
   are met:
     * Redistributions of source code must retain the above copyright
       notice, this list of conditions and the following disclaimer.
@@ -33,6 +33,7 @@ void sha256_mb_mgr_init_sse(SHA256_MB_JOB_MGR * state)
 {
        unsigned int j;
        state->unused_lanes = 0xF3210;
+       state->num_lanes_inuse = 0;
        for (j = 0; j < SHA256_MIN_LANES; j++) {
                state->lens[j] = 0;
                state->ldata[j].job_in_lane = 0;