Searched refs:SHA1_BLOCK_SIZE (Results 1 – 12 of 12) sorted by relevance
/linux-2.6.39/drivers/staging/rt2860/common/ |
D | crypt_sha2.c | 71 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()
|
D | crypt_hmac.c | 56 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/ |
D | crypt_sha2.h | 55 #define SHA1_BLOCK_SIZE 64 /* 512 bits = 64 bytes */ macro 60 u8 Block[SHA1_BLOCK_SIZE];
|
/linux-2.6.39/include/crypto/ |
D | sha.h | 11 #define SHA1_BLOCK_SIZE 64 macro 70 u8 buffer[SHA1_BLOCK_SIZE];
|
/linux-2.6.39/drivers/crypto/ |
D | padlock-sha.c | 102 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,
|
D | mv_cesa.c | 130 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,
|
D | omap-sham.c | 47 #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,
|
D | ixp4xx_crypto.c | 94 #define HMAC_PAD_BLOCKLEN SHA1_BLOCK_SIZE
|
D | n2_core.c | 1337 .block_size = SHA1_BLOCK_SIZE },
|
D | talitos.c | 2140 .cra_blocksize = SHA1_BLOCK_SIZE,
|
/linux-2.6.39/arch/s390/crypto/ |
D | sha1_s390.c | 86 .cra_blocksize = SHA1_BLOCK_SIZE,
|
/linux-2.6.39/crypto/ |
D | sha1_generic.c | 133 .cra_blocksize = SHA1_BLOCK_SIZE,
|