OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SHA256_DIGEST_LENGTH
(Results
1 - 25
of
41
) sorted by null
1
2
/system/keymaster/
hmac.cpp
31
return
SHA256_DIGEST_LENGTH
;
58
uint8_t tmp[
SHA256_DIGEST_LENGTH
];
60
if (digest_len >=
SHA256_DIGEST_LENGTH
)
66
if (digest_len <
SHA256_DIGEST_LENGTH
)
79
if (digest_len !=
SHA256_DIGEST_LENGTH
)
82
uint8_t computed_digest[
SHA256_DIGEST_LENGTH
];
86
return 0 == CRYPTO_memcmp(digest, computed_digest,
SHA256_DIGEST_LENGTH
);
ocb_utils.cpp
81
UniquePtr<uint8_t[]> hash_buf(new (std::nothrow) uint8_t[
SHA256_DIGEST_LENGTH
]);
84
Eraser hash_eraser(hash_buf.get(),
SHA256_DIGEST_LENGTH
);
/external/dhcpcd-6.8.2/crypt/
sha256.h
34
#define
SHA256_DIGEST_LENGTH
32
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
sha2.h
50
#define
SHA256_DIGEST_LENGTH
32
51
#define SHA256_DIGEST_STRING_LENGTH (
SHA256_DIGEST_LENGTH
* 2 + 1)
125
void SHA256_Final __P((u_int8_t[
SHA256_DIGEST_LENGTH
], SHA256_CTX*));
/system/vold/
cryptfs.h
91
#if !defined(
SHA256_DIGEST_LENGTH
)
92
#define
SHA256_DIGEST_LENGTH
32
129
__le8 hash_first_block[
SHA256_DIGEST_LENGTH
]; /* When CRYPT_ENCRYPTION_IN_PROGRESS
160
unsigned char sha256[
SHA256_DIGEST_LENGTH
];
/system/netd/server/
SoftapController.cpp
155
char psk_str[2*
SHA256_DIGEST_LENGTH
+1];
222
unsigned char psk[
SHA256_DIGEST_LENGTH
];
227
strlen(ssid), 4096,
SHA256_DIGEST_LENGTH
,
233
for (int j=0; j <
SHA256_DIGEST_LENGTH
; j++) {
/system/extras/libfec/
fec_verity.cpp
105
hashes = fec_div_round_up(hashes *
SHA256_DIGEST_LENGTH
, FEC_BLOCKSIZE);
146
uint8_t hash[
SHA256_DIGEST_LENGTH
];
154
return !memcmp(expected, hash,
SHA256_DIGEST_LENGTH
);
164
if (hash && fec_pread(f, hash,
SHA256_DIGEST_LENGTH
, hash_offset) !=
165
SHA256_DIGEST_LENGTH
) {
188
uint8_t hash[
SHA256_DIGEST_LENGTH
];
270
if (!raw_pread(f, hash,
SHA256_DIGEST_LENGTH
,
271
hash_offset + j *
SHA256_DIGEST_LENGTH
) ||
281
hash_offset + j *
SHA256_DIGEST_LENGTH
, hash,
293
if (!raw_pwrite(f, hash,
SHA256_DIGEST_LENGTH
,
[
all
...]
fec_read.cpp
80
return !verity_check_block(f, &f->verity.hash[n *
SHA256_DIGEST_LENGTH
],
93
uint64_t hash_offset = (offset / FEC_BLOCKSIZE) *
SHA256_DIGEST_LENGTH
;
96
v->hash_data_blocks * FEC_BLOCKSIZE -
SHA256_DIGEST_LENGTH
)) {
100
return !memcmp(v->zero_hash, &v->hash[hash_offset],
SHA256_DIGEST_LENGTH
);
308
SHA256_DIGEST_LENGTH
) /
SHA256_DIGEST_LENGTH
;
313
uint8_t *hash = &f->verity.hash[curr *
SHA256_DIGEST_LENGTH
];
/system/extras/libfec/include/fec/
io.h
33
#ifndef
SHA256_DIGEST_LENGTH
34
#define
SHA256_DIGEST_LENGTH
32
51
uint8_t hash[
SHA256_DIGEST_LENGTH
];
/bootable/recovery/
verifier.cpp
198
case
SHA256_DIGEST_LENGTH
: need_sha256 = true; break;
228
uint8_t sha256[
SHA256_DIGEST_LENGTH
];
260
case
SHA256_DIGEST_LENGTH
:
281
&& key.hash_len ==
SHA256_DIGEST_LENGTH
) {
301
LOGI("SHA-256 digest: %s\n", print_hex(sha256,
SHA256_DIGEST_LENGTH
).c_str());
509
cert.hash_len =
SHA256_DIGEST_LENGTH
;
514
cert.hash_len =
SHA256_DIGEST_LENGTH
;
518
cert.hash_len =
SHA256_DIGEST_LENGTH
;
fuse_sideload.cpp
273
uint8_t hash[
SHA256_DIGEST_LENGTH
];
275
uint8_t* blockhash = fd->hashes + block *
SHA256_DIGEST_LENGTH
;
276
if (memcmp(hash, blockhash,
SHA256_DIGEST_LENGTH
) == 0) {
281
for (i = 0; i <
SHA256_DIGEST_LENGTH
; ++i) {
288
memcpy(blockhash, hash,
SHA256_DIGEST_LENGTH
);
397
fd.hashes = (uint8_t*)calloc(fd.file_blocks,
SHA256_DIGEST_LENGTH
);
400
fd.file_blocks *
SHA256_DIGEST_LENGTH
);
/hardware/qcom/msm8x84/kernel-headers/linux/
qseecom.h
116
#define
SHA256_DIGEST_LENGTH
(256/8)
120
char digest[
SHA256_DIGEST_LENGTH
];
/hardware/qcom/msm8x84/original-kernel-headers/linux/
qseecom.h
151
#define
SHA256_DIGEST_LENGTH
(256/8)
155
* @hash[
SHA256_DIGEST_LENGTH
] - sha256 digest.
159
char digest[
SHA256_DIGEST_LENGTH
]; /* in */
/external/libchrome/crypto/
secure_hash_openssl.cc
38
ScopedOpenSSLSafeSizeBuffer<
SHA256_DIGEST_LENGTH
> result(
/external/curl/lib/vtls/
vtls.h
45
#ifndef
SHA256_DIGEST_LENGTH
46
#define
SHA256_DIGEST_LENGTH
32 /* fixed size */
/hardware/qcom/msm8994/kernel-headers/linux/
qseecom.h
119
#define
SHA256_DIGEST_LENGTH
(256 / 8)
122
char digest[
SHA256_DIGEST_LENGTH
];
/hardware/qcom/msm8994/original-kernel-headers/linux/
qseecom.h
153
#define
SHA256_DIGEST_LENGTH
(256/8)
157
* @hash[
SHA256_DIGEST_LENGTH
] - sha256 digest.
161
char digest[
SHA256_DIGEST_LENGTH
]; /* in */
/hardware/qcom/msm8996/kernel-headers/linux/
qseecom.h
121
#define
SHA256_DIGEST_LENGTH
(256 / 8)
125
char digest[
SHA256_DIGEST_LENGTH
];
/hardware/qcom/msm8996/original-kernel-headers/linux/
qseecom.h
156
#define
SHA256_DIGEST_LENGTH
(256/8)
160
* @hash[
SHA256_DIGEST_LENGTH
] - sha256 digest.
164
char digest[
SHA256_DIGEST_LENGTH
]; /* in */
/system/core/gatekeeperd/
SoftGateKeeper.h
39
uint8_t digest[
SHA256_DIGEST_LENGTH
];
151
return memcmp(computed.digest, fast_hash.digest,
SHA256_DIGEST_LENGTH
) == 0;
/external/boringssl/src/crypto/sha/
sha256.c
94
sha->md_len =
SHA256_DIGEST_LENGTH
;
115
static uint8_t buf[
SHA256_DIGEST_LENGTH
];
161
case
SHA256_DIGEST_LENGTH
: \
162
for (nn = 0; nn <
SHA256_DIGEST_LENGTH
/ 4; nn++) { \
168
if ((c)->md_len >
SHA256_DIGEST_LENGTH
) { \
/external/boringssl/src/crypto/cipher/
e_tls.c
522
SHA256_DIGEST_LENGTH
+ 16, /* key len (SHA256 + AES128) */
524
16 +
SHA256_DIGEST_LENGTH
, /* overhead (padding + SHA256) */
525
SHA256_DIGEST_LENGTH
, /* max tag length */
564
SHA256_DIGEST_LENGTH
+ 32, /* key len (SHA256 + AES256) */
566
16 +
SHA256_DIGEST_LENGTH
, /* overhead (padding + SHA256) */
567
SHA256_DIGEST_LENGTH
, /* max tag length */
/external/boringssl/src/include/openssl/
sha.h
153
/*
SHA256_DIGEST_LENGTH
is the length of a SHA-256 digest. */
154
#define
SHA256_DIGEST_LENGTH
32
163
* to |md|, which must have at least |
SHA256_DIGEST_LENGTH
| bytes of space. It
168
* |out|. There must be at least |
SHA256_DIGEST_LENGTH
| bytes of space in
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
polochallengeresponse.cc
83
Alpha* alpha = new Alpha(
SHA256_DIGEST_LENGTH
);
/system/extras/verity/
verify_boot_signature.c
318
unsigned char digest[
SHA256_DIGEST_LENGTH
];
338
if (!RSA_verify(NID_sha256, digest,
SHA256_DIGEST_LENGTH
,
Completed in 712 milliseconds
1
2