/system/extras/verity/ |
D | BootSignature.java | 155 public byte[] generateSignableImage(byte[] image) throws IOException { in generateSignableImage() argument 157 byte[] signable = Arrays.copyOf(image, image.length + attrs.length); in generateSignableImage() 159 signable[i+image.length] = attrs[i]; in generateSignableImage() 164 public byte[] sign(byte[] image, PrivateKey key) throws Exception { in sign() argument 165 byte[] signable = generateSignableImage(image); in sign() 169 public boolean verify(byte[] image) throws Exception { in verify() argument 170 if (length.getValue().intValue() != image.length) { in verify() 174 byte[] signable = generateSignableImage(image); in verify() 195 ByteBuffer image = ByteBuffer.wrap(data); in getSignableImageSize() local 196 image.order(ByteOrder.LITTLE_ENDIAN); in getSignableImageSize() [all …]
|
D | VerityVerifier.java | 47 private File image; field in VerityVerifier 143 image = File.createTempFile("system", ".raw"); in openImage() 144 image.deleteOnExit(); in openImage() 147 " " + image.getAbsoluteFile()); in openImage() 266 try (RandomAccessFile img = new RandomAccessFile(image, "r")) { in readVerityData() 363 try (RandomAccessFile img = new RandomAccessFile(image, "r")) { in verifyData()
|
D | Utils.java | 285 byte[] image = new byte[(int)length]; in read() 288 offset += fis.read(image, (int)offset, (int)(length - offset)); in read() 291 return image; in read()
|
/system/extras/verity/fec/tests/ |
D | fec.py | 26 def corrupt(image, offset, length): argument 28 f = os.open(image, os.O_WRONLY) 33 def corruptmax(image, roots): argument 34 size = os.stat(image).st_size 42 corrupt(image, offset, max_errors) 44 def encode(image, fec, roots): argument 45 if subprocess.call([ "fec", "--roots= " + str(roots), image, fec ]) != 0: 48 def decode(image, fec, output): argument 49 return subprocess.call([ "fec", "--decode", image, fec, output ]) 54 def simg2img(image, output): argument [all …]
|
/system/extras/verity/fec/ |
D | image.h | 38 struct image { struct 74 image *ctx; argument 82 extern bool image_load(const std::vector<std::string>& filename, image *ctx, 84 extern bool image_save(const std::string& filename, image *ctx); 86 extern bool image_ecc_new(const std::string& filename, image *ctx); 87 extern bool image_ecc_load(const std::string& filename, image *ctx); 88 extern bool image_ecc_save(image *ctx); 90 extern bool image_process(image_proc_func f, image *ctx); 92 extern void image_init(image *ctx); 93 extern void image_free(image *ctx); [all …]
|
D | image.cpp | 49 void image_init(image *ctx) in image_init() 54 static void mmap_image_free(image *ctx) in mmap_image_free() 71 static void file_image_free(image *ctx) in file_image_free() 84 void image_free(image *ctx) in image_free() 118 static void calculate_rounds(uint64_t size, image *ctx) in calculate_rounds() 132 static void mmap_image_load(const std::vector<int>& fds, image *ctx, in mmap_image_load() 192 image *ctx = (image *)priv; in process_chunk() 204 static void file_image_load(const std::vector<int>& fds, image *ctx) in file_image_load() 279 bool image_load(const std::vector<std::string>& filenames, image *ctx, in image_load() 312 bool image_save(const std::string& filename, image *ctx) in image_save() [all …]
|
D | Android.mk | 9 LOCAL_SRC_FILES := main.cpp image.cpp 29 LOCAL_SRC_FILES := main.cpp image.cpp
|
D | main.cpp | 45 struct image *fcx = ctx->ctx; in encode_rs() 62 struct image *fcx = ctx->ctx; in decode_rs() 136 static int print_size(image& ctx) in print_size() 172 static int encode(image& ctx, const std::vector<std::string>& inp_filenames, in encode() 214 static int decode(image& ctx, const std::vector<std::string>& inp_filenames, in decode() 271 image ctx; in main()
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 263 local image="$1" 267 local magic=$(head --bytes=4 "${image}" | hexdump -e '1/1 "%.2x"') 277 if cgpt show -q -n "${image}" >/dev/null; then 283 die "Couldn't detect the image format of ${image}" 290 local image="$1" 300 --image "${image}" \ 339 if unzip -p "${image}" "META/ab_partitions.txt" >"${ab_partitions_list}"; then
|
/system/core/healthd/ |
D | Android.mk | 62 define _add-charger-image 77 $(eval $(call _add-charger-image,$(_img)))) 85 _add-charger-image :=
|
/system/update_engine/update_payload_key/ |
D | README | 2 baked into the system image as part of update_engine install.
|
/system/update_engine/ |
D | Android.mk | 731 define ue-unittest-sample-image 745 $(call ue-unittest-sample-image,disk_ext2_1k.img) 746 $(call ue-unittest-sample-image,disk_ext2_4k.img) 747 $(call ue-unittest-sample-image,disk_ext2_4k_empty.img) 748 $(call ue-unittest-sample-image,disk_ext2_unittest.img)
|
D | update_metadata.proto | 130 // Describe an image we are based on in a human friendly way. 144 // special image types such as nplusone images.
|
/system/connectivity/shill/ |
D | TESTING | 90 - build a test image, suitable for a VM: 105 - if you've modified the source after building the image, update shill on 106 the image, and then restart shill:
|
/system/sepolicy/ |
D | dex2oat.te | 38 # pass file descriptors for the preopted boot image to dex2oat. So dex2oat needs to be able to
|
D | domain_deprecated.te | 72 # World readable asec image contents
|
/system/ca-certificates/google/files/ |
D | 5e4e69e7.0 | 51 … 0_.].[0Y0W0U..image/gif0!0.0...+..............k...j.H.,{..0%.#http://logo.verisign.com/vslogo.gif
|
D | 524d9b43.0 | 69 … 0_.].[0Y0W0U..image/gif0!0.0...+..............k...j.H.,{..0%.#http://logo.verisign.com/vslogo.gif
|
D | facacbc6.0 | 69 … 0_.].[0Y0W0U..image/gif0!0.0...+..............k...j.H.,{..0%.#http://logo.verisign.com/vslogo.gif
|
/system/ca-certificates/files/ |
D | 5e4e69e7.0 | 51 … 0_.].[0Y0W0U..image/gif0!0.0...+..............k...j.H.,{..0%.#http://logo.verisign.com/vslogo.gif
|
D | 524d9b43.0 | 69 … 0_.].[0Y0W0U..image/gif0!0.0...+..............k...j.H.,{..0%.#http://logo.verisign.com/vslogo.gif
|
D | facacbc6.0 | 69 … 0_.].[0Y0W0U..image/gif0!0.0...+..............k...j.H.,{..0%.#http://logo.verisign.com/vslogo.gif
|
/system/extras/tests/net_test/ |
D | README | 31 machine" whose root filesystem is the supplied Debian disk image. The machine
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 128 "flash:%s" Write the previously downloaded image to the 320 incomplete. Large data such as downloading an image may require many
|
/system/media/audio_utils/ |
D | Doxyfile.orig | 832 # \image command). 1348 # sheet generated by doxygen has an example that shows how to put an image at 2197 # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
|