Home
last modified time | relevance | path

Searched refs:SHA512_BLOCK_LENGTH (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/unbound/compat/
H A Dsha512.c50 #define SHA512_BLOCK_LENGTH 128 macro
56 uint8_t buffer[SHA512_BLOCK_LENGTH];
107 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)
267 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH); in SHA512_Init()
363 freespace = SHA512_BLOCK_LENGTH - usedspace; in SHA512_Update()
381 while (len >= SHA512_BLOCK_LENGTH) { in SHA512_Update()
384 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512_Update()
385 len -= SHA512_BLOCK_LENGTH; in SHA512_Update()
386 data += SHA512_BLOCK_LENGTH; in SHA512_Update()
415 if (usedspace < SHA512_BLOCK_LENGTH) { in SHA512_Last()
[all …]
/freebsd/sys/crypto/sha2/
H A Dsha512c.c179 be64dec_vect(W, block, SHA512_BLOCK_LENGTH); in SHA512_Transform_c()
231 const unsigned char block[SHA512_BLOCK_LENGTH]) in SHA512_Transform_arm64() argument
237 (uint64_t * state, const unsigned char block[SHA512_BLOCK_LENGTH]))
251 static unsigned char PAD[SHA512_BLOCK_LENGTH] = {
331 if (len < SHA512_BLOCK_LENGTH - r) { in SHA512_Update()
337 memcpy(&ctx->buf[r], src, SHA512_BLOCK_LENGTH - r); in SHA512_Update()
339 src += SHA512_BLOCK_LENGTH - r; in SHA512_Update()
340 len -= SHA512_BLOCK_LENGTH - r; in SHA512_Update()
343 while (len >= SHA512_BLOCK_LENGTH) { in SHA512_Update()
345 src += SHA512_BLOCK_LENGTH; in SHA512_Update()
[all …]
H A Dsha512.h34 #define SHA512_BLOCK_LENGTH 128 macro
41 uint8_t buf[SHA512_BLOCK_LENGTH];
H A Dsha512c_impl.h34 const unsigned char block[SHA512_BLOCK_LENGTH], const uint64_t K[80]);
H A Dsha512c_arm64.c38 const unsigned char block[SHA512_BLOCK_LENGTH], const uint64_t K[80]) in SHA512_Transform_arm64_impl() argument
/freebsd/crypto/openssh/openbsd-compat/
H A Dsha2.c107 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)
812 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512Update()
815 freespace = SHA512_BLOCK_LENGTH - usedspace; in SHA512Update()
833 while (len >= SHA512_BLOCK_LENGTH) { in SHA512Update()
836 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512Update()
837 len -= SHA512_BLOCK_LENGTH; in SHA512Update()
838 data += SHA512_BLOCK_LENGTH; in SHA512Update()
855 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512Pad()
864 if (usedspace < SHA512_BLOCK_LENGTH) { in SHA512Pad()
865 memset(&context->buffer[usedspace], 0, SHA512_BLOCK_LENGTH - usedspace); in SHA512Pad()
[all …]
H A Dsha2.h57 #define SHA512_BLOCK_LENGTH 128 macro
72 u_int8_t buffer[SHA512_BLOCK_LENGTH];
135 void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]);
/freebsd/crypto/openssh/
H A Ddigest-libc.c45 #if !defined(SHA512_BLOCK_LENGTH) && defined(SHA512_HMAC_BLOCK_SIZE)
46 #define SHA512_BLOCK_LENGTH SHA512_HMAC_BLOCK_SIZE macro
118 SHA512_BLOCK_LENGTH,
/freebsd/sys/contrib/openzfs/include/sys/
H A Dsha2.h43 #define SHA512_BLOCK_LENGTH 128 macro
/freebsd/lib/libunbound/
H A Dconfig.h1476 #define SHA512_BLOCK_LENGTH 128 macro
1482 uint8_t buffer[SHA512_BLOCK_LENGTH];
/freebsd/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsCrypto.c75 SHA512_Update(&ctx, in, SHA512_BLOCK_LENGTH); in qatUtilsHashSHA512()
/freebsd/contrib/unbound/
H A Dconfig.h.in1446 #define SHA512_BLOCK_LENGTH 128 macro
1452 uint8_t buffer[SHA512_BLOCK_LENGTH];
H A Dconfigure.ac2230 #define SHA512_BLOCK_LENGTH 128
2236 uint8_t buffer[SHA512_BLOCK_LENGTH];