/linux-2.6.39/security/keys/ |
D | trusted.c | 127 unsigned char paramdigest[SHA1_DIGEST_SIZE]; in TSS_authhmac() 163 ret = TSS_rawhmac(digest, key, keylen, SHA1_DIGEST_SIZE, in TSS_authhmac() 187 unsigned char testhmac[SHA1_DIGEST_SIZE]; in TSS_checkhmac1() 188 unsigned char paramdigest[SHA1_DIGEST_SIZE]; in TSS_checkhmac1() 203 authdata = buffer + bufsize - SHA1_DIGEST_SIZE; in TSS_checkhmac1() 239 ret = TSS_rawhmac(testhmac, key, keylen, SHA1_DIGEST_SIZE, paramdigest, in TSS_checkhmac1() 245 if (memcmp(testhmac, authdata, SHA1_DIGEST_SIZE)) in TSS_checkhmac1() 273 unsigned char testhmac1[SHA1_DIGEST_SIZE]; in TSS_checkhmac2() 274 unsigned char testhmac2[SHA1_DIGEST_SIZE]; in TSS_checkhmac2() 275 unsigned char paramdigest[SHA1_DIGEST_SIZE]; in TSS_checkhmac2() [all …]
|
D | trusted.h | 29 unsigned char secret[SHA1_DIGEST_SIZE]; 42 unsigned char keyauth[SHA1_DIGEST_SIZE]; 43 unsigned char blobauth[SHA1_DIGEST_SIZE]; 79 16, 1, &s->secret, SHA1_DIGEST_SIZE, 0); in dump_sess() 82 16, 1, &s->enonce, SHA1_DIGEST_SIZE, 0); in dump_sess()
|
/linux-2.6.39/drivers/staging/rt2860/common/ |
D | crypt_hmac.c | 57 u8 Digest[SHA1_DIGEST_SIZE]; in HMAC_SHA1() 98 SHA1_Append(&sha_ctx2, Digest, SHA1_DIGEST_SIZE); in HMAC_SHA1() 101 if (MACLen > SHA1_DIGEST_SIZE) in HMAC_SHA1() 102 NdisMoveMemory(MAC, Digest, SHA1_DIGEST_SIZE); in HMAC_SHA1()
|
D | cmm_wpa.c | 1317 SHA1_DIGEST_SIZE); in PRF() 1336 unsigned char digest[36], digest1[SHA1_DIGEST_SIZE]; in F() 1345 …*)password, (int)strlen(password), digest, ssidlength + 4, digest1, SHA1_DIGEST_SIZE); /* for WPA … in F() 1348 memcpy(output, digest1, SHA1_DIGEST_SIZE); in F() 1352 …igned char *)password, (int)strlen(password), digest1, SHA1_DIGEST_SIZE, digest, SHA1_DIGEST_SIZE)… in F() 1353 memcpy(digest1, digest, SHA1_DIGEST_SIZE); in F() 1356 for (j = 0; j < SHA1_DIGEST_SIZE; j++) { in F() 1374 F(password, ssid, ssidlength, 4096, 2, &output[SHA1_DIGEST_SIZE]); in PasswordHash() 2688 SHA1_DIGEST_SIZE); in CalculateMIC()
|
D | crypt_sha2.c | 237 NdisMoveMemory(DigestMessage, pSHA_CTX->HashValue, SHA1_DIGEST_SIZE); in SHA1_End()
|
D | cmm_sanity.c | 1113 MsgLen, digest, SHA1_DIGEST_SIZE); in PeerWpaMessageSanity()
|
/linux-2.6.39/include/crypto/ |
D | sha.h | 10 #define SHA1_DIGEST_SIZE 20 macro 69 u32 state[SHA1_DIGEST_SIZE / 4];
|
/linux-2.6.39/drivers/staging/rt2860/ |
D | crypt_sha2.h | 56 #define SHA1_DIGEST_SIZE 20 /* 160 bits = 20 bytes */ macro
|
/linux-2.6.39/arch/s390/crypto/ |
D | sha1_s390.c | 73 .digestsize = SHA1_DIGEST_SIZE,
|
/linux-2.6.39/drivers/crypto/ |
D | padlock-sha.c | 120 memcpy(result, &state.state, SHA1_DIGEST_SIZE); in padlock_sha1_finup() 244 .digestsize = SHA1_DIGEST_SIZE,
|
D | omap-sham.c | 103 u8 digest[SHA1_DIGEST_SIZE] OMAP_ALIGNED; 207 for (i = 0; i < SHA1_DIGEST_SIZE / sizeof(u32); i++) { in omap_sham_copy_hash() 229 for (i = 0; i < SHA1_DIGEST_SIZE / sizeof(u32); i++) in omap_sham_copy_ready_hash() 560 if (crypto_ahash_digestsize(tfm) == SHA1_DIGEST_SIZE) in omap_sham_init() 959 .halg.digestsize = SHA1_DIGEST_SIZE, 1004 .halg.digestsize = SHA1_DIGEST_SIZE,
|
D | mv_cesa.c | 122 u32 ivs[2 * SHA1_DIGEST_SIZE / 4]; 129 u32 state[SHA1_DIGEST_SIZE / 4]; 964 .digestsize = SHA1_DIGEST_SIZE, 988 .digestsize = SHA1_DIGEST_SIZE,
|
D | ixp4xx_crypto.c | 481 BUILD_BUG_ON(SHA1_DIGEST_SIZE > sizeof(struct buffer_desc)); in init_ixp_crypto() 1371 .maxauthsize = SHA1_DIGEST_SIZE, 1384 .maxauthsize = SHA1_DIGEST_SIZE, 1410 .maxauthsize = SHA1_DIGEST_SIZE,
|
D | n2_core.c | 1292 static const char sha1_zero[SHA1_DIGEST_SIZE] = { 1297 static const u32 sha1_init[SHA1_DIGEST_SIZE / 4] = { 1335 .hw_op_hashsz = SHA1_DIGEST_SIZE, 1336 .digest_size = SHA1_DIGEST_SIZE,
|
D | talitos.c | 1917 .maxauthsize = SHA1_DIGEST_SIZE, 1943 .maxauthsize = SHA1_DIGEST_SIZE, 2136 .halg.digestsize = SHA1_DIGEST_SIZE,
|
D | picoxcell_crypto.c | 1480 .maxauthsize = SHA1_DIGEST_SIZE, 1562 .maxauthsize = SHA1_DIGEST_SIZE,
|
/linux-2.6.39/crypto/ |
D | sha1_generic.c | 121 .digestsize = SHA1_DIGEST_SIZE,
|
/linux-2.6.39/drivers/staging/rt2860/sta/ |
D | wpa.c | 219 digest, SHA1_DIGEST_SIZE); in WpaMicFailureReportFrame()
|