Home
last modified time | relevance | path

Searched refs:SHA256_BLOCK_LENGTH (Results 1 – 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/apr/random/unix/
HDsha2.c54 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8)
200 MEMSET_BZERO(context->buffer, SHA256_BLOCK_LENGTH); in apr__SHA256_Init()
391 % SHA256_BLOCK_LENGTH); in apr__SHA256_Update()
394 freespace = SHA256_BLOCK_LENGTH - usedspace; in apr__SHA256_Update()
412 while (len >= SHA256_BLOCK_LENGTH) { in apr__SHA256_Update()
415 context->bitcount += SHA256_BLOCK_LENGTH << 3; in apr__SHA256_Update()
416 len -= SHA256_BLOCK_LENGTH; in apr__SHA256_Update()
417 data += SHA256_BLOCK_LENGTH; in apr__SHA256_Update()
438 % SHA256_BLOCK_LENGTH); in apr__SHA256_Final()
451 if (usedspace < SHA256_BLOCK_LENGTH) { in apr__SHA256_Final()
[all …]
HDsha2.h33 #define SHA256_BLOCK_LENGTH 64 macro
42 apr_byte_t buffer[SHA256_BLOCK_LENGTH];
/freebsd-11-stable/crypto/openssh/openbsd-compat/
HDsha2.c103 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8)
323 SHA256_Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH]) in SHA256_Transform() argument
381 SHA256_Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH]) in SHA256_Transform() argument
464 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Update()
467 freespace = SHA256_BLOCK_LENGTH - usedspace; in SHA256_Update()
485 while (len >= SHA256_BLOCK_LENGTH) { in SHA256_Update()
488 context->bitcount += SHA256_BLOCK_LENGTH << 3; in SHA256_Update()
489 len -= SHA256_BLOCK_LENGTH; in SHA256_Update()
490 data += SHA256_BLOCK_LENGTH; in SHA256_Update()
506 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Pad()
[all …]
HDsha2.h56 #define SHA256_BLOCK_LENGTH 64 macro
71 u_int8_t buffer[SHA256_BLOCK_LENGTH];
82 void SHA256_Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]);
/freebsd-11-stable/sys/crypto/sha2/
HDsha256.h36 #define SHA256_BLOCK_LENGTH 64 macro
43 uint8_t buf[SHA256_BLOCK_LENGTH];
/freebsd-11-stable/crypto/openssh/
HDmd-sha256.c79 ssh_sha256.block_size = SHA256_BLOCK_LENGTH; in evp_ssh_sha256()
HDdigest-libc.c94 SHA256_BLOCK_LENGTH,