diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2022-01-06 18:28:40 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2022-01-06 18:28:40 +0300 |
commit | ed9051b69e6da8227f84e0989462dc7a9479d997 (patch) | |
tree | bb9d5110ccd4bc17174644951117f651469f989e /include | |
parent | 15d73357273d3d16492491ea517c4b44f282e45d (diff) |
........S. [DEV-2052] removed redundant struct definition
Diffstat (limited to 'include')
-rw-r--r-- | include/sha256crypt.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/sha256crypt.h b/include/sha256crypt.h index 8c08f96af6c..57cd1452baf 100644 --- a/include/sha256crypt.h +++ b/include/sha256crypt.h @@ -24,16 +24,6 @@ #define ZBX_SHA256_DIGEST_SIZE 32 -/* Structure to save state of computation between the single steps. */ -typedef struct -{ - uint32_t H[8]; - uint32_t total[2]; - uint32_t buflen; - char buffer[128]; /* NB: always correctly aligned for uint32_t. */ -} -sha256_ctx; - void zbx_sha256_hash(const char *in, char *out); void* zbx_sha256_hash_for_hmac(const void* data, const size_t datalen, void* out, const size_t outlen); |