Home
last modified time | relevance | path

Searched refs:SHA1_BLOCK_SIZE (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/drivers/staging/rt2860/common/
Dcrypt_sha2.c71 NdisZeroMemory(pSHA_CTX->Block, SHA1_BLOCK_SIZE); in RT_SHA1_Init()
98 NdisMoveMemory(W, pSHA_CTX->Block, SHA1_BLOCK_SIZE); in SHA1_Hash()
149 NdisZeroMemory(pSHA_CTX->Block, SHA1_BLOCK_SIZE); in SHA1_Hash()
179 if ((pSHA_CTX->BlockLen + diffLen) < SHA1_BLOCK_SIZE) { in SHA1_Append()
187 SHA1_BLOCK_SIZE - pSHA_CTX->BlockLen); in SHA1_Append()
188 appendLen += (SHA1_BLOCK_SIZE - pSHA_CTX->BlockLen); in SHA1_Append()
189 pSHA_CTX->BlockLen = SHA1_BLOCK_SIZE; in SHA1_Append()
Dcrypt_hmac.c56 u8 K0[SHA1_BLOCK_SIZE]; in HMAC_SHA1()
68 NdisZeroMemory(K0, SHA1_BLOCK_SIZE); in HMAC_SHA1()
69 if (KeyLen <= SHA1_BLOCK_SIZE) in HMAC_SHA1()
77 for (index = 0; index < SHA1_BLOCK_SIZE; index++) in HMAC_SHA1()
90 for (index = 0; index < SHA1_BLOCK_SIZE; index++) in HMAC_SHA1()
/linux-2.6.39/drivers/staging/rt2860/
Dcrypt_sha2.h55 #define SHA1_BLOCK_SIZE 64 /* 512 bits = 64 bytes */ macro
60 u8 Block[SHA1_BLOCK_SIZE];
/linux-2.6.39/include/crypto/
Dsha.h11 #define SHA1_BLOCK_SIZE 64 macro
70 u8 buffer[SHA1_BLOCK_SIZE];
/linux-2.6.39/drivers/crypto/
Dpadlock-sha.c102 leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1; in padlock_sha1_finup()
103 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup()
116 state.count &= ~(SHA1_BLOCK_SIZE - 1); in padlock_sha1_finup()
182 state.count &= ~(SHA1_BLOCK_SIZE - 1); in padlock_sha256_finup()
259 .cra_blocksize = SHA1_BLOCK_SIZE,
Dmv_cesa.c130 u8 buffer[SHA1_BLOCK_SIZE];
543 ctx->extra_bytes = hw_bytes % SHA1_BLOCK_SIZE; in mv_start_new_hash_req()
892 return mv_cra_hash_init(tfm, "sha1", COP_HMAC_SHA1, SHA1_BLOCK_SIZE); in mv_cra_hash_hmac_sha1_init()
971 .cra_blocksize = SHA1_BLOCK_SIZE,
995 .cra_blocksize = SHA1_BLOCK_SIZE,
Domap-sham.c47 #define SHA1_MD5_BLOCK_SIZE SHA1_BLOCK_SIZE
967 .cra_blocksize = SHA1_BLOCK_SIZE,
989 .cra_blocksize = SHA1_BLOCK_SIZE,
1012 .cra_blocksize = SHA1_BLOCK_SIZE,
1036 .cra_blocksize = SHA1_BLOCK_SIZE,
Dixp4xx_crypto.c94 #define HMAC_PAD_BLOCKLEN SHA1_BLOCK_SIZE
Dn2_core.c1337 .block_size = SHA1_BLOCK_SIZE },
Dtalitos.c2140 .cra_blocksize = SHA1_BLOCK_SIZE,
/linux-2.6.39/arch/s390/crypto/
Dsha1_s390.c86 .cra_blocksize = SHA1_BLOCK_SIZE,
/linux-2.6.39/crypto/
Dsha1_generic.c133 .cra_blocksize = SHA1_BLOCK_SIZE,