Searched refs:SHA256_BLOCK_LENGTH (Results 1 - 9 of 9) sorted by relevance

/external/chromium/crypto/third_party/nss/
H A Dblapit.h74 #define SHA256_BLOCK_LENGTH 64 /* bytes */ macro
H A Dsha512.cc410 unsigned int todo = SHA256_BLOCK_LENGTH - inBuf;
416 if (inBuf + todo == SHA256_BLOCK_LENGTH)
421 while (inputLen >= SHA256_BLOCK_LENGTH) {
422 memcpy(B, input, SHA256_BLOCK_LENGTH);
423 input += SHA256_BLOCK_LENGTH;
424 inputLen -= SHA256_BLOCK_LENGTH;
/external/chromium_org/crypto/third_party/nss/
H A Dchromium-blapit.h74 #define SHA256_BLOCK_LENGTH 64 /* bytes */ macro
H A Dsha512.cc410 unsigned int todo = SHA256_BLOCK_LENGTH - inBuf;
416 if (inBuf + todo == SHA256_BLOCK_LENGTH)
421 while (inputLen >= SHA256_BLOCK_LENGTH) {
422 memcpy(B, input, SHA256_BLOCK_LENGTH);
423 input += SHA256_BLOCK_LENGTH;
424 inputLen -= SHA256_BLOCK_LENGTH;
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
H A Dsha2.h49 #define SHA256_BLOCK_LENGTH 64 macro
93 uint8_t buffer[SHA256_BLOCK_LENGTH];
106 u_int8_t buffer[SHA256_BLOCK_LENGTH];
H A Dsha2.c149 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8)
339 bzero(context->buffer, SHA256_BLOCK_LENGTH);
529 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
532 freespace = SHA256_BLOCK_LENGTH - usedspace;
550 while (len >= SHA256_BLOCK_LENGTH) {
553 context->bitcount += SHA256_BLOCK_LENGTH << 3;
554 len -= SHA256_BLOCK_LENGTH;
555 data += SHA256_BLOCK_LENGTH;
575 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
588 if (usedspace < SHA256_BLOCK_LENGTH) {
[all...]
/external/openssh/openbsd-compat/
H A Dsha2.h50 #define SHA256_BLOCK_LENGTH 64 macro
65 u_int8_t buffer[SHA256_BLOCK_LENGTH];
78 void SHA256_Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]);
H A Dsha2.c98 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8)
318 SHA256_Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH])
376 SHA256_Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH])
459 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
462 freespace = SHA256_BLOCK_LENGTH - usedspace;
480 while (len >= SHA256_BLOCK_LENGTH) {
483 context->bitcount += SHA256_BLOCK_LENGTH << 3;
484 len -= SHA256_BLOCK_LENGTH;
485 data += SHA256_BLOCK_LENGTH;
501 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
[all...]
/external/openssh/
H A Dmd-sha256.c79 ssh_sha256.block_size = SHA256_BLOCK_LENGTH;

Completed in 321 milliseconds