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

/external/libchrome/crypto/
H A Dhmac.h5 // Utility class for calculating the HMAC for a given message. We currently
26 class CRYPTO_EXPORT HMAC { class in namespace:crypto
34 explicit HMAC(HashAlgorithm hash_alg);
35 ~HMAC();
37 // Returns the length of digest that this HMAC will create.
65 // Calculates the HMAC for the message in |data| using the algorithm supplied
66 // to the constructor and the key supplied to the Init method. The HMAC is
71 // Verifies that the HMAC for the message in |data| equals the HMAC provided
81 // 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,
/external/python/cpython2/Lib/
H A Dhmac.py0 """HMAC (Keyed-Hashing for Message Authentication) Python module.
3 Implements the HMAC algorithm as described by RFC 2104.
14 # The size of the digests returned by HMAC depends on the underlying
15 # hashing module used. Use digest_size from the instance of HMAC instead.
18 # A unique object passed by HMAC.copy() to the HMAC constructor, in order
19 # that the latter return very quickly. HMAC("") in contrast is quite
23 class HMAC: class in inherits:
24 """RFC 2104 HMAC class. Also complies with RFC 4231.
28 blocksize = 64 # 512-bit HMAC; ca
[all...]
/external/boringssl/src/crypto/fipsmodule/hmac/
H A Dhmac.c68 uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len, function
/external/mdnsresponder/mDNSCore/
H A DmDNSEmbeddedAPI.h760 mDNSEthAddr HMAC; // Host's primary identifier (e.g. MAC of on-board Ethernet) member in struct:__anon14224
797 (O)->opt == kDNSOpt_Owner ? DNSOpt_Owner_Space(&(O)->u.owner.HMAC, &(O)->u.owner.IMAC) : 0x10000)
1208 OwnerOptData WakeUp; // WakeUp.HMAC.l[0] nonzero indicates that this is a Sleep Proxy record
2494 // Convert an arbitrary base64 encoded key key into an HMAC key (stored in AuthInfo struct)

Completed in 227 milliseconds