Searched refs:SHA1_BLOCK_SIZE (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/s390/crypto/
H A Dsha1_s390.c33 #define SHA1_BLOCK_SIZE 64 macro
38 u8 buf[2 * SHA1_BLOCK_SIZE];
65 if (index + len < SHA1_BLOCK_SIZE)
70 memcpy(sctx->buf + index, data, SHA1_BLOCK_SIZE - index);
72 SHA1_BLOCK_SIZE);
73 BUG_ON(ret != SHA1_BLOCK_SIZE);
74 data += SHA1_BLOCK_SIZE - index;
75 len -= SHA1_BLOCK_SIZE - index;
79 if (len >= SHA1_BLOCK_SIZE) {
81 len & ~(SHA1_BLOCK_SIZE
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/libbb/
H A Dsha1.c21 #define SHA1_BLOCK_SIZE 64 macro
29 #define SHA1_MASK (SHA1_BLOCK_SIZE - 1)
51 for (i = 0; i < SHA1_BLOCK_SIZE / 4; ++i)
54 for (i = SHA1_BLOCK_SIZE / 4; i < 80; ++i)
101 uint32_t freeb = SHA1_BLOCK_SIZE - pos;
111 freeb = SHA1_BLOCK_SIZE;
144 if (cnt > SHA1_BLOCK_SIZE - 9) {

Completed in 1032 milliseconds