Searched defs:HMAC (Results 1 - 8 of 8) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/gslib/
H A Dcred_types.py21 HMAC = "HMAC" variable in class:CredTypes
/external/libchrome/crypto/
H A Dhmac_openssl.cc24 HMAC::HMAC(HashAlgorithm hash_alg) : hash_alg_(hash_alg) { function in class:crypto::HMAC
29 bool HMAC::Init(const unsigned char* key, size_t key_length) {
30 // Init must not be called more than once on the same HMAC object.
37 HMAC::~HMAC() {
45 bool HMAC::Sign(const base::StringPiece& data,
51 return !!::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(),
H A Dhmac.h5 // Utility class for calculating the HMAC for a given message. We currently
25 class CRYPTO_EXPORT HMAC { class in namespace:crypto
33 explicit HMAC(HashAlgorithm hash_alg);
34 ~HMAC();
36 // Returns the length of digest that this HMAC will create.
64 // Calculates the HMAC for the message in |data| using the algorithm supplied
65 // to the constructor and the key supplied to the Init method. The HMAC is
70 // Verifies that the HMAC for the message in |data| equals the HMAC provided
80 // Verifies a truncated HMAC, behavin
[all...]
H A Dhmac_nss.cc24 HMAC::HMAC(HashAlgorithm hash_alg) function in class:crypto::HMAC
40 HMAC::~HMAC() {
43 bool HMAC::Init(const unsigned char *key, size_t key_length) {
47 // Init must not be called more than twice on the same HMAC object.
77 bool HMAC::Sign(const base::StringPiece& data,
H A Dhmac_win.cc23 // Implementation of HMAC-SHA-256:
26 // Windows XP SP2, so unfortunately we have to implement HMAC-SHA-256 here.
45 // See FIPS 198: The Keyed-Hash Message Authentication Code (HMAC).
103 // For HMAC-SHA-256 only.
107 HMAC::HMAC(HashAlgorithm hash_alg) function in class:crypto::HMAC
113 bool HMAC::Init(const unsigned char* key, size_t key_length) {
115 // Init must not be called more than once on the same HMAC object.
167 HMAC::~HMAC() {
[all...]
/external/boringssl/src/crypto/hmac/
H A Dhmac.c65 uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len, function
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
H A Doauth2_client.py82 # sync. Also note that this library does not use HMAC, but it's preserved from
85 HMAC = "HMAC" variable in class:CredTypes
/external/mdnsresponder/mDNSCore/
H A DmDNSEmbeddedAPI.h749 mDNSEthAddr HMAC; // Host's primary identifier (e.g. MAC of on-board Ethernet) member in struct:__anon13552
786 (O)->opt == kDNSOpt_Owner ? DNSOpt_Owner_Space(&(O)->u.owner.HMAC, &(O)->u.owner.IMAC) : 0x10000)
1197 OwnerOptData WakeUp; // WakeUp.HMAC.l[0] nonzero indicates that this is a Sleep Proxy record
2483 // Convert an arbitrary base64 encoded key key into an HMAC key (stored in AuthInfo struct)

Completed in 157 milliseconds