Home
last modified time | relevance | path

Searched refs:hash_len (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/
Dverifier.cpp197 switch (pKeys[i].hash_len) { in verify_file()
245 switch (pKeys[i].hash_len) { in verify_file()
261 hash, pKeys[i].hash_len)) { in verify_file()
270 && pKeys[i].hash_len == SHA256_DIGEST_SIZE) { in verify_file()
354 cert->hash_len = SHA_DIGEST_SIZE; in load_keys()
363 cert->hash_len = SHA_DIGEST_SIZE; in load_keys()
369 cert->hash_len = SHA256_DIGEST_SIZE; in load_keys()
375 cert->hash_len = SHA256_DIGEST_SIZE; in load_keys()
380 cert->hash_len = SHA256_DIGEST_SIZE; in load_keys()
406 LOGI("read key e=%d hash=%d\n", key->exponent, cert->hash_len); in load_keys()
Dverifier_test.cpp169 certs[i].hash_len = SHA_DIGEST_SIZE; in add_certificate()
190 cert->hash_len = SHA256_DIGEST_SIZE; in main()
233 certs->hash_len = SHA_DIGEST_SIZE; in main()
Dverifier.h34 int hash_len; // SHA_DIGEST_SIZE (SHA-1) or SHA256_DIGEST_SIZE (SHA-256) member