OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:HMAC
(Results
1 - 13
of
13
) sorted by null
/external/libchrome/crypto/
hmac_openssl.cc
5
#include "crypto/
hmac
.h"
7
#include <openssl/
hmac
.h>
24
HMAC
::
HMAC
(HashAlgorithm hash_alg) : hash_alg_(hash_alg) {
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()
[
all
...]
hmac_nss.cc
5
#include "crypto/
hmac
.h"
24
HMAC
::
HMAC
(HashAlgorithm hash_alg)
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,
hmac.h
5
// Utility class for calculating the
HMAC
for a given message. We currently
25
class CRYPTO_EXPORT
HMAC
{
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
, behaving identical to Verify(), excep
[
all
...]
hmac_win.cc
5
#include "crypto/
hmac
.h"
23
// 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)
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/chromium-trace/catapult/third_party/gsutil/gslib/
cred_types.py
21
HMAC
= "
HMAC
"
/prebuilts/gdb/darwin-x86/lib/python2.7/
hmac.py
0
"""
HMAC
(Keyed-Hashing for Message Authentication) Python module.
3
Implements the
HMAC
algorithm as described by RFC 2104.
11
# The size of the digests returned by
HMAC
depends on the underlying
12
# hashing module used. Use digest_size from the instance of
HMAC
instead.
15
# A unique object passed by
HMAC
.copy() to the
HMAC
constructor, in order
16
# that the latter return very quickly.
HMAC
("") in contrast is quite
20
class
HMAC
:
21
"""RFC 2104
HMAC
class. Also complies with RFC 4231.
25
blocksize = 64 # 512-bit
HMAC
; can be changed in subclasses
[
all
...]
/prebuilts/gdb/linux-x86/lib/python2.7/
hmac.py
0
"""
HMAC
(Keyed-Hashing for Message Authentication) Python module.
3
Implements the
HMAC
algorithm as described by RFC 2104.
11
# The size of the digests returned by
HMAC
depends on the underlying
12
# hashing module used. Use digest_size from the instance of
HMAC
instead.
15
# A unique object passed by
HMAC
.copy() to the
HMAC
constructor, in order
16
# that the latter return very quickly.
HMAC
("") in contrast is quite
20
class
HMAC
:
21
"""RFC 2104
HMAC
class. Also complies with RFC 4231.
25
blocksize = 64 # 512-bit
HMAC
; can be changed in subclasses
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
hmac.py
0
"""
HMAC
(Keyed-Hashing for Message Authentication) Python module.
3
Implements the
HMAC
algorithm as described by RFC 2104.
11
# The size of the digests returned by
HMAC
depends on the underlying
12
# hashing module used. Use digest_size from the instance of
HMAC
instead.
15
# A unique object passed by
HMAC
.copy() to the
HMAC
constructor, in order
16
# that the latter return very quickly.
HMAC
("") in contrast is quite
20
class
HMAC
:
21
"""RFC 2104
HMAC
class. Also complies with RFC 4231.
25
blocksize = 64 # 512-bit
HMAC
; can be changed in subclasses
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
hmac.py
0
"""
HMAC
(Keyed-Hashing for Message Authentication) Python module.
3
Implements the
HMAC
algorithm as described by RFC 2104.
11
# The size of the digests returned by
HMAC
depends on the underlying
12
# hashing module used. Use digest_size from the instance of
HMAC
instead.
15
# A unique object passed by
HMAC
.copy() to the
HMAC
constructor, in order
16
# that the latter return very quickly.
HMAC
("") in contrast is quite
20
class
HMAC
:
21
"""RFC 2104
HMAC
class. Also complies with RFC 4231.
25
blocksize = 64 # 512-bit
HMAC
; can be changed in subclasses
[
all
...]
/external/boringssl/src/crypto/hmac/
hmac.c
57
#include <openssl/
hmac
.h>
65
uint8_t *
HMAC
(const EVP_MD *evp_md, const void *key, size_t key_len,
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
oauth2_client.py
82
# sync. Also note that this library does not use
HMAC
, but it's preserved from
85
HMAC
= "
HMAC
"
/external/mdnsresponder/mDNSCore/
mDNSEmbeddedAPI.h
[
all
...]
/system/tpm/trunks/
tpm_generated.cc
[
all
...]
Completed in 1855 milliseconds