Home
last modified time | relevance | path

Searched refs:HASH_CBLOCK (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/ohos_lite/include/crypto/
Dmd32_common.h72 #ifndef HASH_CBLOCK
149 if (len >= HASH_CBLOCK || len + n >= HASH_CBLOCK) { in HASH_UPDATE()
150 memcpy(p + n, data, HASH_CBLOCK - n); in HASH_UPDATE()
152 n = HASH_CBLOCK - n; in HASH_UPDATE()
162 memset(p, 0, HASH_CBLOCK); /* keep it zeroed */ in HASH_UPDATE()
170 n = len / HASH_CBLOCK; in HASH_UPDATE()
173 n *= HASH_CBLOCK; in HASH_UPDATE()
199 if (n > (HASH_CBLOCK - 8)) { in HASH_FINAL()
200 memset(p + n, 0, HASH_CBLOCK - n); in HASH_FINAL()
204 memset(p + n, 0, HASH_CBLOCK - 8 - n); in HASH_FINAL()
[all …]
/third_party/node/deps/openssl/openssl/include/crypto/
Dmd32_common.h72 #ifndef HASH_CBLOCK
149 if (len >= HASH_CBLOCK || len + n >= HASH_CBLOCK) { in HASH_UPDATE()
150 memcpy(p + n, data, HASH_CBLOCK - n); in HASH_UPDATE()
152 n = HASH_CBLOCK - n; in HASH_UPDATE()
162 memset(p, 0, HASH_CBLOCK); /* keep it zeroed */ in HASH_UPDATE()
170 n = len / HASH_CBLOCK; in HASH_UPDATE()
173 n *= HASH_CBLOCK; in HASH_UPDATE()
199 if (n > (HASH_CBLOCK - 8)) { in HASH_FINAL()
200 memset(p + n, 0, HASH_CBLOCK - n); in HASH_FINAL()
204 memset(p + n, 0, HASH_CBLOCK - 8 - n); in HASH_FINAL()
[all …]
/third_party/openssl/include/crypto/
Dmd32_common.h72 #ifndef HASH_CBLOCK
149 if (len >= HASH_CBLOCK || len + n >= HASH_CBLOCK) { in HASH_UPDATE()
150 memcpy(p + n, data, HASH_CBLOCK - n); in HASH_UPDATE()
152 n = HASH_CBLOCK - n; in HASH_UPDATE()
162 memset(p, 0, HASH_CBLOCK); /* keep it zeroed */ in HASH_UPDATE()
170 n = len / HASH_CBLOCK; in HASH_UPDATE()
173 n *= HASH_CBLOCK; in HASH_UPDATE()
199 if (n > (HASH_CBLOCK - 8)) { in HASH_FINAL()
200 memset(p + n, 0, HASH_CBLOCK - n); in HASH_FINAL()
204 memset(p + n, 0, HASH_CBLOCK - 8 - n); in HASH_FINAL()
[all …]
/third_party/node/deps/openssl/openssl/crypto/md4/
Dmd4_local.h21 #define HASH_CBLOCK MD4_CBLOCK macro
/third_party/openssl/crypto/md4/
Dmd4_local.h21 #define HASH_CBLOCK MD4_CBLOCK macro
/third_party/openssl/crypto/md5/
Dmd5_local.h32 #define HASH_CBLOCK MD5_CBLOCK macro
/third_party/node/deps/openssl/openssl/crypto/md5/
Dmd5_local.h32 #define HASH_CBLOCK MD5_CBLOCK macro
/third_party/openssl/crypto/ripemd/
Drmd_local.h31 #define HASH_CBLOCK RIPEMD160_CBLOCK macro
/third_party/node/deps/openssl/openssl/crypto/ripemd/
Drmd_local.h31 #define HASH_CBLOCK RIPEMD160_CBLOCK macro
/third_party/node/deps/openssl/openssl/crypto/sm3/
Dsm3_local.h19 #define HASH_CBLOCK SM3_CBLOCK macro
/third_party/openssl/crypto/sm3/
Dsm3_local.h19 #define HASH_CBLOCK SM3_CBLOCK macro
/third_party/openssl/crypto/sha/
Dsha256.c70 #define HASH_CBLOCK SHA_CBLOCK macro
Dsha_local.h21 #define HASH_CBLOCK SHA_CBLOCK macro
/third_party/node/deps/openssl/openssl/crypto/sha/
Dsha256.c70 #define HASH_CBLOCK SHA_CBLOCK macro
Dsha_local.h21 #define HASH_CBLOCK SHA_CBLOCK macro