mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Add sm4_xts and ghash command
This commit is contained in:
@@ -25,6 +25,7 @@ extern "C" {
|
||||
#define GHASH_SIZE (16)
|
||||
|
||||
|
||||
// h = ENC_k(0^128)
|
||||
void ghash(const uint8_t h[16], const uint8_t *aad, size_t aadlen,
|
||||
const uint8_t *c, size_t clen, uint8_t out[16]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user