Home
last modified time | relevance | path

Searched refs:HMAC (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium/crypto/
Dhmac_unittest.cc55 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
124 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
150 crypto::HMAC hmac(crypto::HMAC::SHA256); in TEST()
190 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
197 crypto::HMAC hmac2(crypto::HMAC::SHA256); in TEST()
228 crypto::HMAC hmac(crypto::HMAC::SHA1); in TEST()
Dhmac_openssl.cc23 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() function in crypto::HMAC
29 bool HMAC::Init(const unsigned char* key, int key_length) { in Init()
37 HMAC::~HMAC() { in ~HMAC()
43 bool HMAC::Sign(const std::string& data, in Sign()
50 return ::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(), in Sign()
Dhmac_mac.cc17 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() function in crypto::HMAC
23 bool HMAC::Init(const unsigned char *key, int key_length) { in Init()
35 HMAC::~HMAC() { in ~HMAC()
42 bool HMAC::Sign(const std::string& data, in Sign()
Dhmac_nss.cc23 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() function in crypto::HMAC
39 HMAC::~HMAC() { in ~HMAC()
42 bool HMAC::Init(const unsigned char *key, int key_length) { in Init()
76 bool HMAC::Sign(const std::string& data, in Sign()
Dhmac.h22 class HMAC {
30 explicit HMAC(HashAlgorithm hash_alg);
31 ~HMAC();
55 DISALLOW_COPY_AND_ASSIGN(HMAC);
Dhmac_win.cc92 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC() function in crypto::HMAC
98 bool HMAC::Init(const unsigned char* key, int key_length) { in Init()
154 HMAC::~HMAC() { in ~HMAC()
157 bool HMAC::Sign(const std::string& data, in Sign()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/digest/
DMAC.java48 mac = new HMAC(new SHA1(), key, 20); in MAC()
52 mac = new HMAC(new SHA1(), key, 12); in MAC()
56 mac = new HMAC(new MD5(), key, 16); in MAC()
60 mac = new HMAC(new MD5(), key, 12); in MAC()
DHMAC.java13 public final class HMAC implements Digest class
23 public HMAC(Digest md, byte[] key, int size) in HMAC() method in HMAC
/external/chromium/chrome/browser/sync/util/
Dnigori.cc27 using crypto::HMAC;
146 HMAC hmac(HMAC::SHA256); in Permute()
187 HMAC hmac(HMAC::SHA256); in Encrypt()
224 HMAC hmac(HMAC::SHA256); in Decrypt()
/external/dropbear/libtomcrypt/notes/
Dhmac_tv.txt1 HMAC Tests. In these tests messages of N bytes long (00,01,02,...,NN-1) are HMACed. The initial k…
2 of the same format (the same length as the HASH output size). The HMAC key in step N+1 is the HMAC
5 HMAC-tiger
136 HMAC-md2
171 HMAC-md4
302 HMAC-md5
433 HMAC-sha1
564 HMAC-sha224
695 HMAC-sha256
826 HMAC-sha384
[all …]
Dtech0005.txt12 The following build with GCC 3.4.4 on an AMD64 box gets you AES, CTR mode, SHA-256, HMAC, Yarrow, f…
/external/openssl/crypto/hmac/
Dhmac.h64 #error HMAC is disabled.
99 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
Dhmactest.c145 p=pt(HMAC(EVP_md5(), in main()
Dhmac.c225 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, in HMAC() function
/external/openssl/include/openssl/
Dhmac.h64 #error HMAC is disabled.
99 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
/external/srtp/doc/
Dreferences.txt13 HMAC is defined in RFC2104, and HMAC-SHA1 test vectors are available
Drfc3711.txt69 4.2.1. HMAC-SHA1. . . . . . . . . . . . . . . . . . . . 25
76 5.2. Message Authentication/Integrity: HMAC-SHA1. . . . . . . 29
1391 4.2.1. HMAC-SHA1
1393 The pre-defined authentication transform for SRTP is HMAC-SHA1
1394 [RFC2104]. With HMAC-SHA1, the SRTP_PREFIX_LENGTH (Figure 3) SHALL
1395 be 0. For SRTP (respectively SRTCP), the HMAC SHALL be applied to
1397 HMAC(k_a, M). The HMAC output SHALL then be truncated to the n_tag
1559 message integrity HMAC-SHA1 - HMAC-SHA1
1584 5.2. Message Authentication/Integrity: HMAC-SHA1
1586 HMAC-SHA1, as defined in Section 4.2.1, SHALL be the default message
[all …]
/external/srtp/
Dtiming18 plot "timing.dat" index 0 title "HMAC SHA1" with lines, "timing.dat" index 1 title "TMMH/AES" with …
36 … "timing.dat" index 6 title "TMMH/AES" with lines, "timing.dat" index 7 title "HMAC/AES" with lines
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DKnownHosts.java24 import ch.ethz.ssh2.crypto.digest.HMAC;
184 HMAC hmac = new HMAC(sha1, salt, salt.length); in hmacSha1Hash()
/external/openssl/apps/
Ds_cb.c839 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, in generate_cookie_callback()
920 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, in verify_cookie_callback()
/external/openssl/crypto/objects/
Dobjects.txt14 # HMAC OIDs
15 identified-organization 6 1 5 5 8 1 1 : HMAC-MD5 : hmac-md5
16 identified-organization 6 1 5 5 8 1 2 : HMAC-SHA1 : hmac-sha1
1163 cryptopro 10 : id-HMACGostR3411-94 : HMAC GOST 34.11-94
1282 # There is no OID that just denotes "HMAC" oddly enough...
1284 : HMAC : hmac
1289 : RC4-HMAC-MD5 : rc4-hmac-md5
1290 : AES-128-CBC-HMAC-SHA1 : aes-128-cbc-hmac-sha1
1291 : AES-192-CBC-HMAC-SHA1 : aes-192-cbc-hmac-sha1
1292 : AES-256-CBC-HMAC-SHA1 : aes-256-cbc-hmac-sha1
/external/mdnsresponder/mDNSCore/
DmDNS.c643 if (!(authrr->resrec.RecordType & kDNSRecordTypeUniqueMask) || authrr->WakeUp.HMAC.l[0]) in PacketRRMatchesSignature()
777 if (rr->WakeUp.HMAC.l[0] && rr->resrec.rrtype == kDNSType_AAAA) in InitializeLastAPTime()
1163 if (rr->WakeUp.HMAC.l[0] && !rr->AddressProxy.type) rr->AnnounceCount = 2; in mDNS_Register_internal()
1521 if (rr->WakeUp.HMAC.l[0] || in mDNS_Deregister_internal()
1527 …rr->AnnounceCount = rr->WakeUp.HMAC.l[0] ? WakeupCount : (drt == mDNS_Dereg_rapid) ? 1 : Go… in mDNS_Deregister_internal()
1757 rr->WakeUp.HMAC = zeroEthAddr; in CompleteDeregistration()
2009 owner->u.owner.HMAC = m->PrimaryMAC; in SetupOwnerOpt()
2080 if (!rr->WakeUp.HMAC.l[0]) in SendResponses()
2096 r2->AnnounceCount-3, &r2->WakeUp.HMAC, &r2->WakeUp.IMAC, ARDisplayString(m,r2)); in SendResponses()
2101 if (--r2->AnnounceCount <= GoodbyeCount) r2->WakeUp.HMAC = zeroEthAddr; in SendResponses()
[all …]
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_util.cc488 crypto::HMAC hmac(crypto::HMAC::SHA1); in VerifyMAC()
/external/openssl/crypto/evp/
Dp5_crpt2.c125 HMAC(digest, pass, passlen, in PKCS5_PBKDF2_HMAC()
/external/openssl/crypto/err/
Dopenssl.ec35 L HMAC crypto/hmac/hmac.h crypto/hmac/hmac_err.c

12