pub fn lookup_by_hashes(
identity: &[u8; 32],
image: &[u8; 32],
) -> Option<VsDbEntry>Expand description
lookup with the two hashes supplied directly.
identity is Nes::rom_sha256 (SHA-256 of an iNES image’s bytes after
its 16-byte header) and image is Nes::image_sha256 (SHA-256 of the
whole image). The identity key is matched first.