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

/external/chromium_org/crypto/
H A Dhmac_openssl.cc23 HMAC::HMAC(HashAlgorithm 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.
36 // byte. OpenSSL's HMAC function breaks when passed a NULL key. (It calls
38 // with a key previously.) HMAC pads keys with zeros, so this key is
45 HMAC::~HMAC() {
51 bool HMAC::Sign(const base::StringPiece& data,
57 return ::HMAC(hash_alg
[all...]
H A Dhmac.h5 // Utility class for calculating the HMAC for a given message. We currently
23 class CRYPTO_EXPORT HMAC { class in namespace:crypto
31 explicit HMAC(HashAlgorithm hash_alg);
32 ~HMAC();
34 // Returns the length of digest that this HMAC will create.
62 // Calculates the HMAC for the message in |data| using the algorithm supplied
63 // to the constructor and the key supplied to the Init method. The HMAC is
68 // Verifies that the HMAC for the message in |data| equals the HMAC provided
78 // Verifies a truncated HMAC, behavin
[all...]
H A Dhmac_nss.cc23 HMAC::HMAC(HashAlgorithm hash_alg) function in class:crypto::HMAC
39 HMAC::~HMAC() {
42 bool HMAC::Init(const unsigned char *key, size_t key_length) {
46 // Init must not be called more than twice on the same HMAC object.
76 bool HMAC::Sign(const base::StringPiece& data,
H A Dhmac_win.cc22 // Implementation of HMAC-SHA-256:
25 // Windows XP SP2, so unfortunately we have to implement HMAC-SHA-256 here.
44 // See FIPS 198: The Keyed-Hash Message Authentication Code (HMAC).
102 // For HMAC-SHA-256 only.
106 HMAC::HMAC(HashAlgorithm hash_alg) function in class:crypto::HMAC
112 bool HMAC::Init(const unsigned char* key, size_t key_length) {
114 // Init must not be called more than once on the same HMAC object.
166 HMAC::~HMAC() {
[all...]
/external/smack/src/org/xbill/DNS/utils/
H A DHMAC.java9 * An implementation of the HMAC message authentication code.
14 public class HMAC { class
46 * Creates a new HMAC instance
52 HMAC(MessageDigest digest, int blockLength, byte [] key) { method in class:HMAC
60 * Creates a new HMAC instance
66 HMAC(String digestName, int blockLength, byte [] key) { method in class:HMAC
78 * Creates a new HMAC instance
82 * use {@code HMAC(MessageDigest digest, int blockLength,
84 * @see HMAC#HMAC(MessageDiges
87 HMAC(MessageDigest digest, byte [] key) { method in class:HMAC
101 HMAC(String digestName, byte [] key) { method in class:HMAC
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/hmac/
H A Dhmac.c64 uint8_t *HMAC(const EVP_MD *evp_md, const void *key, size_t key_len, function
/external/openssl/crypto/hmac/
H A Dhmac.c225 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, function
/external/smack/src/org/xbill/DNS/
H A DTSIG.java18 private static final String HMAC_MD5_STR = "HMAC-MD5.SIG-ALG.REG.INT.";
25 /** The domain name representing the HMAC-MD5 algorithm. */
28 /** The domain name representing the HMAC-MD5 algorithm (deprecated). */
29 public static final Name HMAC = HMAC_MD5; field in class:TSIG
31 /** The domain name representing the HMAC-SHA1 algorithm. */
35 * The domain name representing the HMAC-SHA224 algorithm.
41 /** The domain name representing the HMAC-SHA256 algorithm. */
44 /** The domain name representing the HMAC-SHA384 algorithm. */
47 /** The domain name representing the HMAC-SHA512 algorithm. */
218 HMAC hma
[all...]
/external/mdnsresponder/mDNSCore/
H A DmDNSEmbeddedAPI.h749 mDNSEthAddr HMAC; // Host's primary identifier (e.g. MAC of on-board Ethernet) member in struct:__anon26795
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 268 milliseconds