]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crypto/isa-l/isa-l_crypto/sha1_mb/sha1_mb_mgr_init_sse.c
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / sha1_mb / sha1_mb_mgr_init_sse.c
index f8985b93ae49163062806522e452b27a4b251699..811c4a9ddc84ce72e3e39bd1ee1080f592238152 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 sha1_mb_mgr_init_sse(SHA1_MB_JOB_MGR * state)
 {
        unsigned int j;
        state->unused_lanes = 0xF3210;
+       state->num_lanes_inuse = 0;
        for (j = 0; j < SHA1_MIN_LANES; j++) {
                state->lens[j] = 0;
                state->ldata[j].job_in_lane = 0;