Home
last modified time | relevance | path

Searched refs:SHA1_DIGEST_SIZE (Results 1 – 18 of 18) sorted by relevance

/linux-2.6.39/security/keys/
Dtrusted.c127 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 …]
Dtrusted.h29 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/
Dcrypt_hmac.c57 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()
Dcmm_wpa.c1317 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()
Dcrypt_sha2.c237 NdisMoveMemory(DigestMessage, pSHA_CTX->HashValue, SHA1_DIGEST_SIZE); in SHA1_End()
Dcmm_sanity.c1113 MsgLen, digest, SHA1_DIGEST_SIZE); in PeerWpaMessageSanity()
/linux-2.6.39/include/crypto/
Dsha.h10 #define SHA1_DIGEST_SIZE 20 macro
69 u32 state[SHA1_DIGEST_SIZE / 4];
/linux-2.6.39/drivers/staging/rt2860/
Dcrypt_sha2.h56 #define SHA1_DIGEST_SIZE 20 /* 160 bits = 20 bytes */ macro
/linux-2.6.39/arch/s390/crypto/
Dsha1_s390.c73 .digestsize = SHA1_DIGEST_SIZE,
/linux-2.6.39/drivers/crypto/
Dpadlock-sha.c120 memcpy(result, &state.state, SHA1_DIGEST_SIZE); in padlock_sha1_finup()
244 .digestsize = SHA1_DIGEST_SIZE,
Domap-sham.c103 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,
Dmv_cesa.c122 u32 ivs[2 * SHA1_DIGEST_SIZE / 4];
129 u32 state[SHA1_DIGEST_SIZE / 4];
964 .digestsize = SHA1_DIGEST_SIZE,
988 .digestsize = SHA1_DIGEST_SIZE,
Dixp4xx_crypto.c481 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,
Dn2_core.c1292 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,
Dtalitos.c1917 .maxauthsize = SHA1_DIGEST_SIZE,
1943 .maxauthsize = SHA1_DIGEST_SIZE,
2136 .halg.digestsize = SHA1_DIGEST_SIZE,
Dpicoxcell_crypto.c1480 .maxauthsize = SHA1_DIGEST_SIZE,
1562 .maxauthsize = SHA1_DIGEST_SIZE,
/linux-2.6.39/crypto/
Dsha1_generic.c121 .digestsize = SHA1_DIGEST_SIZE,
/linux-2.6.39/drivers/staging/rt2860/sta/
Dwpa.c219 digest, SHA1_DIGEST_SIZE); in WpaMicFailureReportFrame()