Searched refs:SHA512_BLOCK_LENGTH (Results 1 - 8 of 8) sorted by relevance

/external/chromium/crypto/third_party/nss/
H A Dblapit.h76 #define SHA512_BLOCK_LENGTH 128 /* bytes */ macro
77 #define HASH_BLOCK_LENGTH_MAX SHA512_BLOCK_LENGTH
H A Dsha512.cc1063 unsigned int todo = SHA512_BLOCK_LENGTH - inBuf;
1069 if (inBuf + todo == SHA512_BLOCK_LENGTH)
1074 while (inputLen >= SHA512_BLOCK_LENGTH) {
1075 memcpy(B, input, SHA512_BLOCK_LENGTH);
1076 input += SHA512_BLOCK_LENGTH;
1077 inputLen -= SHA512_BLOCK_LENGTH;
/external/chromium_org/crypto/third_party/nss/
H A Dchromium-blapit.h76 #define SHA512_BLOCK_LENGTH 128 /* bytes */ macro
77 #define HASH_BLOCK_LENGTH_MAX SHA512_BLOCK_LENGTH
H A Dsha512.cc1063 unsigned int todo = SHA512_BLOCK_LENGTH - inBuf;
1069 if (inBuf + todo == SHA512_BLOCK_LENGTH)
1074 while (inputLen >= SHA512_BLOCK_LENGTH) {
1075 memcpy(B, input, SHA512_BLOCK_LENGTH);
1076 input += SHA512_BLOCK_LENGTH;
1077 inputLen -= SHA512_BLOCK_LENGTH;
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
H A Dsha2.h55 #define SHA512_BLOCK_LENGTH 128 macro
98 uint8_t buffer[SHA512_BLOCK_LENGTH];
111 u_int8_t buffer[SHA512_BLOCK_LENGTH];
H A Dsha2.c151 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)
667 bzero(context->buffer, SHA512_BLOCK_LENGTH);
851 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH;
854 freespace = SHA512_BLOCK_LENGTH - usedspace;
872 while (len >= SHA512_BLOCK_LENGTH) {
875 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3);
876 len -= SHA512_BLOCK_LENGTH;
877 data += SHA512_BLOCK_LENGTH;
891 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH;
905 if (usedspace < SHA512_BLOCK_LENGTH) {
[all...]
/external/openssh/openbsd-compat/
H A Dsha2.h56 #define SHA512_BLOCK_LENGTH 128 macro
70 u_int8_t buffer[SHA512_BLOCK_LENGTH];
114 void SHA512_Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]);
H A Dsha2.c100 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)
599 SHA512_Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH])
657 SHA512_Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH])
740 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH;
743 freespace = SHA512_BLOCK_LENGTH - usedspace;
761 while (len >= SHA512_BLOCK_LENGTH) {
764 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3);
765 len -= SHA512_BLOCK_LENGTH;
766 data += SHA512_BLOCK_LENGTH;
782 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH;
[all...]

Completed in 3007 milliseconds