/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | RC2Crypt.java | 166 void encryptBlock(byte[] in, int inOfs, byte[] out, int outOfs) { argument 233 out[outOfs ] = (byte)R0; 234 out[outOfs + 1] = (byte)(R0 >> 8); 235 out[outOfs + 2] = (byte)R1; 236 out[outOfs + 3] = (byte)(R1 >> 8); 237 out[outOfs + 4] = (byte)R2; 238 out[outOfs + 5] = (byte)(R2 >> 8); 239 out[outOfs + 6] = (byte)R3; 240 out[outOfs + 7] = (byte)(R3 >> 8); 243 void decryptBlock(byte[] in, int inOfs, byte[] out, int outOfs) { argument [all...] |
H A D | ARCFOURCipher.java | 96 int outOfs) { 108 out[outOfs++] = (byte)(in[inOfs++] ^ S[(Si + Sj) & 0xff]); 217 byte[] out, int outOfs) throws ShortBufferException { 218 if (out.length - outOfs < inLen) { 221 crypt(in, inOfs, inLen, out, outOfs); 234 byte[] out, int outOfs) throws ShortBufferException { 235 int outLen = engineUpdate(in, inOfs, inLen, out, outOfs); 95 crypt(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument 216 engineUpdate(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument 233 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument
|
H A D | RC2Cipher.java | 119 byte[] out, int outOfs) throws ShortBufferException { 120 return core.update(in, inOfs, inLen, out, outOfs); 129 byte[] out, int outOfs) throws IllegalBlockSizeException, 131 return core.doFinal(in, inOfs, inLen, out, outOfs); 118 engineUpdate(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument 128 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument
|
H A D | RSACipher.java | 373 int outOfs) { 387 int outOfs) throws ShortBufferException, BadPaddingException, 389 if (outputSize > out.length - outOfs) { 396 System.arraycopy(result, 0, out, outOfs, n); 372 engineUpdate(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument 386 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument
|
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | ByteArrayAccess.java | 105 static void b2iLittle(byte[] in, int inOfs, int[] out, int outOfs, int len) { argument 110 out[outOfs++] = unsafe.getInt(in, (long)inOfs); 117 out[outOfs++] = reverseBytes(unsafe.getInt(in, (long)inOfs)); 123 out[outOfs++] = ((in[inOfs ] & 0xff) ) 178 static void i2bLittle(int[] in, int inOfs, byte[] out, int outOfs, int len) { argument 180 outOfs += byteArrayOfs; 181 len += outOfs; 182 while (outOfs < len) { 183 unsafe.putInt(out, (long)outOfs, in[inOfs++]); 184 outOfs 206 i2bLittle4(int val, byte[] out, int outOfs) argument 222 b2iBig(byte[] in, int inOfs, int[] out, int outOfs, int len) argument 295 i2bBig(int[] in, int inOfs, byte[] out, int outOfs, int len) argument 323 i2bBig4(int val, byte[] out, int outOfs) argument 339 b2lBig(byte[] in, int inOfs, long[] out, int outOfs, int len) argument 408 l2bBig(long[] in, int inOfs, byte[] out, int outOfs, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/rsa/ |
H A D | RSAPadding.java | 456 * out[] starting at outOfs; 459 byte[] out, int outOfs, int maskLen) throws BadPaddingException { 472 out[outOfs++] ^= digest[i++]; 458 mgf1(byte[] seed, int seedOfs, int seedLen, byte[] out, int outOfs, int maskLen) argument
|
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/ |
H A D | RSACipher.java | 312 int outOfs) { 326 int outOfs) throws ShortBufferException, BadPaddingException, 328 if (outputSize > out.length - outOfs) { 335 System.arraycopy(result, 0, out, outOfs, n); 311 engineUpdate(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument 325 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11Cipher.java | 494 int outOfs) throws ShortBufferException { 495 int outLen = out.length - outOfs; 496 return implUpdate(in, inOfs, inLen, out, outOfs, outLen); 521 int outOfs) throws ShortBufferException, IllegalBlockSizeException, 525 n = engineUpdate(in, inOfs, inLen, out, outOfs); 526 outOfs += n; 528 n += implDoFinal(out, outOfs, out.length - outOfs); 543 byte[] out, int outOfs, int outLen) throws ShortBufferException { 552 0, out, outOfs, outLe 493 engineUpdate(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument 520 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument 542 implUpdate(byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) argument 721 implDoFinal(byte[] out, int outOfs, int outLen) argument [all...] |
H A D | P11RSACipher.java | 324 private int implDoFinal(byte[] out, int outOfs, int outLen) argument 337 (session.id(), buffer, 0, bufOfs, out, outOfs, outLen); 341 (session.id(), buffer, 0, bufOfs, out, outOfs, outLen); 350 System.arraycopy(tmpBuffer, 0, out, outOfs, tmpBuffer.length); 355 (session.id(), buffer, 0, bufOfs, out, outOfs, outLen); 378 byte[] out, int outOfs) throws ShortBufferException { 395 byte[] out, int outOfs) throws ShortBufferException, 398 return implDoFinal(out, outOfs, out.length - outOfs); 377 engineUpdate(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument 394 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/ |
H A D | PKCS11.java | 716 public native int C_Encrypt(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) throws PKCS11Exception; argument 735 public native int C_EncryptUpdate(long hSession, long directIn, byte[] in, int inOfs, int inLen, long directOut, byte[] out, int outOfs, int outLen) throws PKCS11Exception; argument 752 public native int C_EncryptFinal(long hSession, long directOut, byte[] out, int outOfs, int outLen) throws PKCS11Exception; argument 788 public native int C_Decrypt(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) throws PKCS11Exception; argument 808 public native int C_DecryptUpdate(long hSession, long directIn, byte[] in, int inOfs, int inLen, long directOut, byte[] out, int outOfs, int outLen) throws PKCS11Exception; argument 825 public native int C_DecryptFinal(long hSession, long directOut, byte[] out, int outOfs, int outLen) throws PKCS11Exception; argument 1571 public synchronized int C_Encrypt(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) throws PKCS11Exception { argument 1572 return super.C_Encrypt(hSession, in, inOfs, inLen, out, outOfs, outLen); 1575 public synchronized int C_EncryptUpdate(long hSession, long directIn, byte[] in, int inOfs, int inLen, long directOut, byte[] out, int outOfs, int outLen) throws PKCS11Exception { argument 1576 return super.C_EncryptUpdate(hSession, directIn, in, inOfs, inLen, directOut, out, outOfs, outLe 1579 C_EncryptFinal(long hSession, long directOut, byte[] out, int outOfs, int outLen) argument 1587 C_Decrypt(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) argument 1591 C_DecryptUpdate(long hSession, long directIn, byte[] in, int inOfs, int inLen, long directOut, byte[] out, int outOfs, int outLen) argument 1595 C_DecryptFinal(long hSession, long directOut, byte[] out, int outOfs, int outLen) argument [all...] |