CipherTest fixes

Bug: 9095447
Change-Id: Ieba76865c4da4260949391389611dfd09bc5e326
NativeCrypto: handle X.509 serial number 0

There is no need to try to convert numbers that are of zero length
because they'll be zero anyway. Returning NULL in this instance caused a
crash in X.509 code since it immediately tried to pass it to BigInteger
which through a NullPointerException.

(cherry picked from commit adadc611f606e693ed30b2e495326cb32968153d)

Bug: 9297758
Change-Id: I719ca7b8f086937ee25094bfe981987def855744
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
Fix zone.tab parsing.

Not every zone.tab line has a comment.

Bug: 9327819

(cherry picked from commit b2181542090a8ff8801331e6ad8f9afcb62da8b3)

Change-Id: I36d48321e91ed18d1434bda8c33a395349bf5608
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
Values in ZIP files are unsigned.

Bug: 9695860

(cherry picked from commit 9edf43dfcc35c761d97eb9156ac4254152ddbc55)

Change-Id: Ic14eac58fdcfc343a9e23df8c26ba0dd24c9e189
Values in ZIP files are unsigned.

Bug: 9695860
Change-Id: I5c12dc5f3c70a9fe081adf5bf5b6b4b3a115e7e1
(cherry picked from commit 9edf43dfcc35c761d97eb9156ac4254152ddbc55)
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
am fe39951e: Values in ZIP files are unsigned.

* commit 'fe39951ed36353002263aefef7963a8c8b9c6441':
  Values in ZIP files are unsigned.
am 3802bbcf: am fe39951e: Values in ZIP files are unsigned.

* commit '3802bbcf4c26ec7bf134ec1c7f98a40f55995413':
  Values in ZIP files are unsigned.
am d987149f: am 3802bbcf: am fe39951e: Values in ZIP files are unsigned.

* commit 'd987149f51ee632735cf359ec25cb6092d73aca0':
  Values in ZIP files are unsigned.
am bcb7b420: am d987149f: am 3802bbcf: am fe39951e: Values in ZIP files are unsigned.

* commit 'bcb7b42086b570995493ebee955a1fc46d52736d':
  Values in ZIP files are unsigned.
resolved conflicts for merge of 1cec2593 to jb-mr1-dev-plus-aosp

Change-Id: I4a8efbdeff28e5fba4a7a25002ab6a2856b34fd5
am 5288ef70: (-s ours) resolved conflicts for merge of 1cec2593 to jb-mr1-dev-plus-aosp

* commit '5288ef70edc3c2b12794a9d018c0aaa953ccebf4':
  Values in ZIP files are unsigned.
Tests for ZIP sign extension bugs.

Bug: 9695860

(cherry picked from commit 406b85296a7ba29d2f480280d2f2a96133f940ec)

Change-Id: If9740163a67c2bccebd46552fbba0518087232ba
am 15a93894: Tests for ZIP sign extension bugs.

* commit '15a93894f19b27f3d85b8e3c3de8cff8a33964d3':
  Tests for ZIP sign extension bugs.
am adf25974: am 15a93894: Tests for ZIP sign extension bugs.

* commit 'adf25974a44503066df61cc0be515395fd7253b6':
  Tests for ZIP sign extension bugs.
am b3e2cc46: am adf25974: am 15a93894: Tests for ZIP sign extension bugs.

* commit 'b3e2cc46ae3a0bdbff39313b1d17bee1763d18c8':
  Tests for ZIP sign extension bugs.
am 99663789: am b3e2cc46: am adf25974: am 15a93894: Tests for ZIP sign extension bugs.

* commit '996637897c99d28a054bb0094717b36bbf3e8b59':
  Tests for ZIP sign extension bugs.
am c1ee1ac7: am 99663789: am b3e2cc46: am adf25974: am 15a93894: Tests for ZIP sign extension bugs.

* commit 'c1ee1ac7ff5dd966a90b1524232db6406bbd42fd':
  Tests for ZIP sign extension bugs.