HomeSort by relevance Sort by last modified time
    Searched refs:SHA_DIGEST_SIZE (Results 1 - 13 of 13) sorted by null

  /system/core/include/mincrypt/
sha.h 21 // NOTE: *digest needs to hold SHA_DIGEST_SIZE bytes.
24 #define SHA_DIGEST_SIZE 20
  /bootable/recovery/applypatch/
applypatch.h 26 uint8_t sha1[SHA_DIGEST_SIZE];
31 uint8_t sha1[SHA_DIGEST_SIZE];
applypatch.c 41 const uint8_t target_sha1[SHA_DIGEST_SIZE],
226 uint8_t parsed_sha[SHA_DIGEST_SIZE];
274 if (memcmp(sha_so_far, parsed_sha, SHA_DIGEST_SIZE) == 0) {
307 for (i = 0; i < SHA_DIGEST_SIZE; ++i) {
544 for (i = 0; i < SHA_DIGEST_SIZE * 2; ++i, ++ps) {
572 uint8_t patch_sha1[SHA_DIGEST_SIZE];
575 memcmp(patch_sha1, sha1, SHA_DIGEST_SIZE) == 0) {
681 static void print_short_sha1(const uint8_t sha1[SHA_DIGEST_SIZE]) {
731 uint8_t target_sha1[SHA_DIGEST_SIZE];
747 if (memcmp(source_file.sha1, target_sha1, SHA_DIGEST_SIZE) == 0)
    [all...]
main.c 57 uint8_t digest[SHA_DIGEST_SIZE];
  /bootable/recovery/
verifier.cpp 148 case SHA_DIGEST_SIZE: need_sha1 = true; break;
193 case SHA_DIGEST_SIZE: hash = sha1; break;
268 cert->hash_len = SHA_DIGEST_SIZE;
275 cert->hash_len = SHA_DIGEST_SIZE;
verifier_test.cpp 148 cert->hash_len = SHA_DIGEST_SIZE;
  /system/core/libmincrypt/
sha.c 93 SHA_DIGEST_SIZE
153 memcpy(digest, SHA_final(&ctx), SHA_DIGEST_SIZE);
rsa.c 190 static const uint8_t kExpectedPadShaRsa2048[SHA_DIGEST_SIZE] = {
244 // SHA_DIGEST_SIZE (== 20) to indicate a SHA-1 hash, or
266 if (hash_len != SHA_DIGEST_SIZE &&
288 case SHA_DIGEST_SIZE:
  /system/core/fs_mgr/
fs_mgr_verity.c 90 uint8_t hash_buf[SHA_DIGEST_SIZE];
108 SHA_DIGEST_SIZE)) {
  /system/core/mkbootimg/
mkbootimg.c 238 SHA_DIGEST_SIZE > sizeof(hdr.id) ? sizeof(hdr.id) : SHA_DIGEST_SIZE);
  /system/core/adb/
adb_auth_client.c 153 ret = RSA_verify(&key->key, sig, siglen, token, SHA_DIGEST_SIZE);
  /system/core/libmincrypt/test/
rsa_test.c     [all...]
  /bootable/recovery/updater/
install.c     [all...]

Completed in 852 milliseconds