Home
last modified time | relevance | path

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

/system/extras/verity/
DBootSignature.java228 int signableSize = getSignableImageSize(image); in doSignature() local
230 if (signableSize < image.length) { in doSignature()
232 " from " + image.length + " to " + signableSize + " bytes"); in doSignature()
233 image = Arrays.copyOf(image, signableSize); in doSignature()
234 } else if (signableSize > image.length) { in doSignature()
236 signableSize + " bytes"); in doSignature()
259 int signableSize = getSignableImageSize(image); in verifySignature() local
261 if (signableSize >= image.length) { in verifySignature()
265 byte[] signature = Arrays.copyOfRange(image, signableSize, image.length); in verifySignature()
274 if (bootsig.verify(Arrays.copyOf(image, signableSize))) { in verifySignature()