Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/javax/crypto/
DCipherOutputStream.java75 private byte[] obuffer; field in CipherOutputStream
121 obuffer = cipher.update(ibuffer, 0, 1); in write()
122 if (obuffer != null) { in write()
123 output.write(obuffer); in write()
124 obuffer = null; in write()
158 obuffer = cipher.update(b, off, len); in write()
159 if (obuffer != null) { in write()
160 output.write(obuffer); in write()
161 obuffer = null; in write()
180 if (obuffer != null) { in flush()
[all …]
DCipherInputStream.java88 private byte[] obuffer; field in CipherInputStream
120 if (obuffer == null || expectedOutputSize > obuffer.length) { in getMoreData()
121 obuffer = new byte[expectedOutputSize]; in getMoreData()
130 ofinish = cipher.doFinal(obuffer, 0); in getMoreData()
132 obuffer = null; in getMoreData()
135 obuffer = null; in getMoreData()
141 ofinish = cipher.update(ibuffer, 0, readin, obuffer, 0); in getMoreData()
143 obuffer = null; in getMoreData()
147 obuffer = null; in getMoreData()
205 return ((int) obuffer[ostart++] & 0xff); in read()
[all …]