Searched refs:SHA512_BLOCK_LENGTH (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/unbound/compat/ |
H A D | sha512.c | 50 #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 D | sha512c.c | 179 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 D | sha512.h | 34 #define SHA512_BLOCK_LENGTH 128 macro 41 uint8_t buf[SHA512_BLOCK_LENGTH];
|
H A D | sha512c_impl.h | 34 const unsigned char block[SHA512_BLOCK_LENGTH], const uint64_t K[80]);
|
H A D | sha512c_arm64.c | 38 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 D | sha2.c | 107 #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 D | sha2.h | 57 #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 D | digest-libc.c | 45 #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 D | sha2.h | 43 #define SHA512_BLOCK_LENGTH 128 macro
|
/freebsd/lib/libunbound/ |
H A D | config.h | 1476 #define SHA512_BLOCK_LENGTH 128 macro 1482 uint8_t buffer[SHA512_BLOCK_LENGTH];
|
/freebsd/sys/dev/qat/qat_api/qat_utils/src/ |
H A D | QatUtilsCrypto.c | 75 SHA512_Update(&ctx, in, SHA512_BLOCK_LENGTH); in qatUtilsHashSHA512()
|
/freebsd/contrib/unbound/ |
H A D | config.h.in | 1446 #define SHA512_BLOCK_LENGTH 128 macro 1452 uint8_t buffer[SHA512_BLOCK_LENGTH];
|
H A D | configure.ac | 2230 #define SHA512_BLOCK_LENGTH 128 2236 uint8_t buffer[SHA512_BLOCK_LENGTH];
|