]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Sun, 21 Jul 2019 00:15:18 +0000 (17:15 -0700)
committerOliver Kurth <okurth@vmware.com>
Sun, 21 Jul 2019 00:15:18 +0000 (17:15 -0700)
open-vm-tools/lib/include/sha1.h

index aa492a24145eefa84bbf39e7818978c9e1d19bf2..e73074d368503637cf138e9aad3306b461c2d2ff 100644 (file)
@@ -151,14 +151,14 @@ typedef struct {
 #else
    struct evp_md_ctx_st *md;  /* OpenSSL EVP_MD_CTX */
 #endif
-} CryptoSHA1_CTX;
-
-void CryptoSHA1_Init(CryptoSHA1_CTX *ctx);
-void CryptoSHA1_Update(CryptoSHA1_CTX *ctx,
-                       const unsigned char *data,
-                       size_t len);
-void CryptoSHA1_Final(unsigned char digest[SHA1_HASH_LEN],
-                      CryptoSHA1_CTX *ctx);
+} CryptoHash_SHA1_CTX;
+
+void CryptoHash_InitSHA1(CryptoHash_SHA1_CTX *ctx);
+void CryptoHash_UpdateSHA1(CryptoHash_SHA1_CTX *ctx,
+                           const void *data,
+                           size_t len);
+void CryptoHash_FinalSHA1(CryptoHash_SHA1_CTX *ctx,
+                          unsigned char digest[SHA1_HASH_LEN]);
 void CryptoHash_ComputeSHA1(const void *data, size_t len,
                             unsigned char digest[SHA1_HASH_LEN]);
 #endif