OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Sha1
(Results
1 - 4
of
4
) sorted by null
/external/deqp/framework/delibs/decpp/
deSha1.cpp
21
* \brief
SHA1
hash functions
29
Sha1
Sha1
::parse (const std::string& str)
33
DE_CHECK_RUNTIME_ERR_MSG(str.size() >= 40, "Failed to parse
SHA1
. String is too short.");
34
DE_CHECK_RUNTIME_ERR_MSG(deSha1_parse(&hash, str.c_str()), "Failed to parse
SHA1
. Invalid characters..");
36
return
Sha1
(hash);
39
Sha1
Sha1
::compute (size_t size, const void* data)
44
return
Sha1
(hash);
57
Sha1
Sha1Stream::finalize (void
[
all
...]
deSha1.hpp
23
* \brief
SHA1
hash functions
36
class
Sha1
39
Sha1
(const deSha1& hash) : m_hash(hash) {}
41
static
Sha1
parse (const std::string& str);
42
static
Sha1
compute (size_t size, const void* data);
44
bool operator== (const
Sha1
& other) const { return deSha1_equal(&m_hash, &other.m_hash) == DE_TRUE; }
45
bool operator!= (const
Sha1
& other) const { return !(*this == other); }
56
Sha1
finalize (void);
/external/webrtc/webrtc/base/
sha1digest_unittest.cc
17
std::string
Sha1
(const std::string& input) {
18
Sha1Digest
sha1
;
local
19
return ComputeDigest(&
sha1
, input);
23
Sha1Digest
sha1
;
local
25
EXPECT_EQ(20U,
sha1
.Size());
29
// Test vectors from
sha1
.c.
30
EXPECT_EQ("da39a3ee5e6b4b0d3255bfef95601890afd80709",
Sha1
(""));
31
EXPECT_EQ("a9993e364706816aba3e25717850c26c9cd0d89d",
Sha1
("abc"));
33
Sha1
("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"));
35
EXPECT_EQ("34aa973cd4c4daa4f61eeb2bdbad27316534016f",
Sha1
(a_million_as))
39
Sha1Digest
sha1
;
local
52
Sha1Digest
sha1
;
local
62
Sha1Digest
sha1
;
local
70
Sha1Digest
sha1
;
local
[
all
...]
/system/tpm/attestation/server/
pkcs11_key_store.cc
39
std::string
Sha1
(const std::string& input) {
41
SHA1
(reinterpret_cast<const unsigned char*>(input.data()), input.size(),
286
std::string id =
Sha1
(modulus);
Completed in 2248 milliseconds