]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crypto/isa-l/isa-l_crypto/include/sha512_mb.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / include / sha512_mb.h
index aee6156f19d2a7dba3c60cd11e2567c930795c36..ce3950ad1126ac172c9dd6ab60ae64045ebaea7c 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.
@@ -180,7 +180,7 @@ typedef struct {
        SHA512_JOB      job; // Must be at struct offset 0.
        HASH_CTX_STS    status;         //!< Context status flag
        HASH_CTX_ERROR  error;          //!< Context error flag
-       uint32_t        total_length;   //!< Running counter of length processed for this CTX's job
+       uint64_t        total_length;   //!< Running counter of length processed for this CTX's job
        const void*     incoming_buffer; //!< pointer to data input buffer for this CTX's job
        uint32_t        incoming_buffer_length; //!< length of buffer for this job in bytes.
        uint8_t         partial_block_buffer[SHA512_BLOCK_SIZE * 2]; //!< CTX partial blocks