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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/
H A Dcrypt_sha2.h55 #define SHA1_BLOCK_SIZE 64 /* 512 bits = 64 bytes */ macro
60 u8 Block[SHA1_BLOCK_SIZE];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A DSHA.h90 #define SHA1_BLOCK_SIZE 64 macro
H A DSHA.cpp94 #define SHA1_MASK (SHA1_BLOCK_SIZE - 1)
114 for(i = 0; i < SHA1_BLOCK_SIZE / 4; ++i)
117 for(i = SHA1_BLOCK_SIZE / 4; i < 80; ++i)
181 space = SHA1_BLOCK_SIZE - pos;
190 sp += space; nLength -= space; space = SHA1_BLOCK_SIZE; pos = 0;
227 if(i > SHA1_BLOCK_SIZE - 9)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/common/
H A Dcrypt_hmac.c56 u8 K0[SHA1_BLOCK_SIZE];
68 NdisZeroMemory(K0, SHA1_BLOCK_SIZE);
69 if (KeyLen <= SHA1_BLOCK_SIZE)
77 for (index = 0; index < SHA1_BLOCK_SIZE; index++)
90 for (index = 0; index < SHA1_BLOCK_SIZE; index++)
H A Dcrypt_sha2.c71 NdisZeroMemory(pSHA_CTX->Block, SHA1_BLOCK_SIZE);
98 NdisMoveMemory(W, pSHA_CTX->Block, SHA1_BLOCK_SIZE);
149 NdisZeroMemory(pSHA_CTX->Block, SHA1_BLOCK_SIZE);
179 if ((pSHA_CTX->BlockLen + diffLen) < SHA1_BLOCK_SIZE) {
187 SHA1_BLOCK_SIZE - pSHA_CTX->BlockLen);
188 appendLen += (SHA1_BLOCK_SIZE - pSHA_CTX->BlockLen);
189 pSHA_CTX->BlockLen = SHA1_BLOCK_SIZE;
/netgear-R7000-V1.0.7.12_1.2.5/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) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/crypto/
H A Dsha.h11 #define SHA1_BLOCK_SIZE 64 macro
70 u8 buffer[SHA1_BLOCK_SIZE];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/crypto/
H A Dpadlock-sha.c108 leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1;
109 space = SHA1_BLOCK_SIZE - leftover;
122 state.count &= ~(SHA1_BLOCK_SIZE - 1);
188 state.count &= ~(SHA1_BLOCK_SIZE - 1);
265 .cra_blocksize = SHA1_BLOCK_SIZE,
H A Dmv_cesa.c130 u8 buffer[SHA1_BLOCK_SIZE];
535 ctx->extra_bytes = hw_bytes % SHA1_BLOCK_SIZE;
884 return mv_cra_hash_init(tfm, "sha1", COP_HMAC_SHA1, SHA1_BLOCK_SIZE);
963 .cra_blocksize = SHA1_BLOCK_SIZE,
987 .cra_blocksize = SHA1_BLOCK_SIZE,
H A Domap-sham.c47 #define SHA1_MD5_BLOCK_SIZE SHA1_BLOCK_SIZE
910 .cra_blocksize = SHA1_BLOCK_SIZE,
932 .cra_blocksize = SHA1_BLOCK_SIZE,
955 .cra_blocksize = SHA1_BLOCK_SIZE,
979 .cra_blocksize = SHA1_BLOCK_SIZE,
H A Dixp4xx_crypto.c94 #define HMAC_PAD_BLOCKLEN SHA1_BLOCK_SIZE
H A Dn2_core.c1324 .block_size = SHA1_BLOCK_SIZE },
H A Dtalitos.c2141 .cra_blocksize = SHA1_BLOCK_SIZE,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/crypto/
H A Dsha1_s390.c86 .cra_blocksize = SHA1_BLOCK_SIZE,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/
H A Dsha1_generic.c133 .cra_blocksize = SHA1_BLOCK_SIZE,

Completed in 108 milliseconds