/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | AESEngine.java | 23 * adding 12 rotate operations per round to compute the values contained in the other tables from 26 * The slowest version uses no static tables at all and computes the values in each round. 106 // vector used in calculating key schedule (powers of x in GF(256)) 229 /* multiply four bytes in GF(2^8) by 'x' {02} in parallel */ 275 int KC = key.length / 4; // key length in words 284 int[][] W = new int[ROUNDS+1][4]; // 4 words in a block 380 byte[] in, 390 if ((inOff + (32 / 2)) > in 379 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
H A D | AESFastEngine.java | 23 * adding 12 rotate operations per round to compute the values contained in the other tables from 26 * The slowest version uses no static tables at all and computes the values in each round 106 // vector used in calculating key schedule (powers of x in GF(256)) 559 /* multiply four bytes in GF(2^8) by 'x' {02} in parallel */ 606 int KC = key.length / 4; // key length in words 615 int[][] W = new int[ROUNDS+1][4]; // 4 words in a block 711 byte[] in, 721 if ((inOff + (32 / 2)) > in 710 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
H A D | AESLightEngine.java | 23 * adding 12 rotate operations per round to compute the values contained in the other tables from 27 * in each round. 108 // vector used in calculating key schedule (powers of x in GF(256)) 120 /* multiply four bytes in GF(2^8) by 'x' {02} in parallel */ 173 int KC = key.length / 4; // key length in words 182 int[][] W = new int[ROUNDS+1][4]; // 4 words in a block 278 byte[] in, 288 if ((inOff + (32 / 2)) > in 277 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/signers/ |
H A D | ISO9796d2PSSSigner.java | 23 * function used in bytes. 55 * @param saltLength length of salt in bytes. 101 * @param saltLength length of salt in bytes. 118 * are passed in a SecureRandom will be created. 120 * salt is passed in which is the wrong length. 223 * update the internal digest with the byte array in 226 byte[] in, 232 this.update(in[off]); 239 digest.update(in, off, len); 342 * for the passed in messag 225 update( byte[] in, int off, int len) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/ |
H A D | PKCS7SignedData.java | 85 byte[] in) 89 this(in, "BC"); 96 byte[] in, 101 ASN1InputStream din = new ASN1InputStream(new ByteArrayInputStream(in)); 301 // Copy in the certificates and crls used to sign the private key. 463 * Get the "issuer" from the TBSCertificate bytes that are passed in 469 ASN1InputStream in = new ASN1InputStream(new ByteArrayInputStream(enc)); 470 ASN1Sequence seq = (ASN1Sequence)in.readObject(); 490 // set of all hash agorithms used to created the digest in the 580 // Now we have the body, wrap it in i 84 PKCS7SignedData( byte[] in) argument 95 PKCS7SignedData( byte[] in, String provider) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | JDKDSASigner.java | 105 throw new InvalidKeyException("can't recognise key type in DSA based signer"); 110 throw new InvalidKeyException("can't recognise key type in DSA based signer"); 402 public void update(byte in) argument 404 bOut.write(in); 407 public void update(byte[] in, int inOff, int len) argument 409 bOut.write(in, inOff, len);
|
H A D | JDKKeyStore.java | 318 // in EncryptedPrivateKeyInfo (PKCS8 format), later... 719 InputStream in) 722 DataInputStream dIn = new DataInputStream(in); 761 throw new RuntimeException("Unknown object type in store."); 813 throw new RuntimeException("Unknown object type in store."); 942 * however if you hard drive is in a bad part of town and you absolutely, 944 * one to use, no problem! After all in a Bouncy Castle nothing can 718 loadStore( InputStream in) argument
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Identity2Test.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 121 public void decode(InputStream in) { argument 367 assertEquals("Certificate not contained in the identity",
|
/dalvik/libcore/support/src/test/java/tests/support/ |
H A D | Support_Configuration.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 148 InputStream in = null; 157 in = new FileInputStream(iniName); 164 if (in == null) { 168 in = cl.getResourceAsStream(iniName); 173 if (in != null) { 174 load(in, props); 363 static void load(InputStream in, Hashtable<String, String> result) throws IOException { argument 369 while ((nextChar = in [all...] |
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLRecordProtocol.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 83 private SSLInputStream in; field in class:SSLRecordProtocol 109 * @param in: SSLInputStream 114 SSLInputStream in, 120 this.in = in; 127 * @return the session in effect. 161 * Returns the upper bound of length of data containing in the record with 336 int type = in 112 SSLRecordProtocol(HandshakeProtocol handshakeProtocol, AlertProtocol alertProtocol, SSLInputStream in, Appendable appData) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatReader.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 213 * <p>Applications may register a new or different handler in the 273 InputStream in = input.getByteStream(); 275 if (in != null) { 277 parse(in, encoding, input.getPublicId(), input.getSystemId()); 280 in.close(); 291 in = ExpatParser.openUrl(systemId); 293 parse(in, encoding, input.getPublicId(), systemId); 295 in 299 parse(Reader in, String publicId, String systemId) argument 311 parse(InputStream in, String encoding, String publicId, String systemId) argument [all...] |
/dalvik/hit/src/com/android/hit/ |
H A D | HprofParser.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 61 * When a sub-tag of this type appears in a HPROF_HEAP_DUMP or 65 * may appear in a single HEAP_DUMP[_SEGMENT]. 95 public HprofParser(DataInputStream in) { argument 96 mInput = in; 105 DataInputStream in = mInput; 107 mIdSize = in.readInt(); 110 in.readLong(); // Timestamp, ignored for now 113 int tag = in [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | SerializationStressTest0.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 53 public ObjectInputStreamSubclass(InputStream in) throws IOException, argument 55 super(in); 365 // Number of prim data bytes in stream / 2 to give char index 617 ResolveObjectInputStream(InputStream in) argument 619 super(in);
|
H A D | SerializationStressTest3.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 345 private void readObject(java.io.ObjectInputStream in) argument 347 int int1 = in.readInt(); 348 Vector object1 = (Vector) in.readObject();
|
H A D | SerializationStressTest1.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 122 private void readObject(java.io.ObjectInputStream in) argument 125 in.readObject(); 147 public void readObject(java.io.ObjectInputStream in) argument 150 in.readObject(); 160 // This one tests if field names are serialized in the same way (sorting) 182 private void readObject(java.io.ObjectInputStream in) argument 185 in.defaultReadObject(); 282 // A primitive instance variable exposes a bug in th 294 readObject(java.io.ObjectInputStream in) argument 318 readObject(java.io.ObjectInputStream in) argument 357 readObject(java.io.ObjectInputStream in) argument [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
H A D | System.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 21 * you may not use this file except in compliance with the License. 26 * Unless required by applicable law or agreed to in writing, software 56 * libraries. All methods of this class are accessed in a static way and the 70 public static final InputStream in; field in class:System 97 * Initialize all the slots in System on first use. 101 * Set up standard in, out, and err. TODO err and out are 102 * String.ConsolePrintStream. All three are buffered in Harmony. Check 107 in [all...] |
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/ |
H A D | CharsetDecoderTest.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 230 ByteBuffer in = getByteBuffer(); 231 out = decoder.decode(in); 238 in = getByteBuffer().asReadOnlyBuffer(); 239 out = decoder.decode(in); 249 ByteBuffer in; 255 in = getMalformedByteBuffer(); 256 if (in != null) { 258 CharBuffer buffer = decoder.decode(in); 320 implTestDecodeByteBufferCharBuffer(ByteBuffer in) argument 415 implTestDecodeCharBufferByteBufferUnmappedException(ByteBuffer in, boolean endOfInput) argument 469 implTestDecodeCharBufferByteBufferMalformedException(ByteBuffer in, boolean endOfInput) argument 521 implTestDecodeCharBufferByteBufferException(ByteBuffer in, boolean endOfInput) argument 857 decodeLoop(ByteBuffer in, CharBuffer out) argument [all...] |
H A D | CharsetTest.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 416 * Test the constructor with illegal canonical name, illegal character in 601 * Test the constructor with illegal aliase, illegal character in the 627 * been tested in the testcases for the constructors. 1172 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { argument 1173 while (in.remaining() > 0) { 1174 out.put((byte) in.get()); 1190 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { argument 1191 while (in [all...] |
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | Provider.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 41 * {@code Provider} is the abstract superclass for all security providers in the 220 // Do it as in put(Object key, Object value). 858 // These attributes should be placed in each Provider object: 869 // Searches for the property with the specified key in the provider 889 * {@code Service} represents a service in the Java Security infrastructure. 1159 private void readObject(java.io.ObjectInputStream in) throws NotActiveException, IOException, ClassNotFoundException { argument 1160 in.defaultReadObject();
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
H A D | BerInputStream.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 43 protected InputStream in; field in class:BerInputStream 51 * The position in the buffer. 112 public BerInputStream(InputStream in) throws IOException { argument 113 this(in, BUF_INCREASE_SIZE); 124 public BerInputStream(InputStream in, int initialSize) throws IOException { argument 126 this.in = in; 590 // + "]. Subidentifier MUST be encoded in minimu [all...] |
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlPullParser.java | 12 * in <a href="http://www.xmlpull.org/">XMLPULL V1 API</a> (visit this website to 17 * <li><b>non-validating</b> parser as defined in XML 1.0 spec when 19 * <li><b>validating parser</b> as defined in XML 1.0 spec when 24 * <em>no DOCDECL is present</em> in XML documents 26 * This mode of operation is intended <b>for operation in constrained environments</b> such as J2ME. 37 * Initially, the parser is in the <a href="#START_DOCUMENT">START_DOCUMENT</a> 49 * (when in validating mode next() will not report ignorable whitespace, use nextToken() instead) 57 * in following ways:<ul> 67 * null if stream had unknown encoding (not set in setInputStream) 68 * and it was not declared in XMLDec 468 setInput(Reader in) argument [all...] |
/dalvik/libcore/awt-kernel/src/main/java/java/awt/font/ |
H A D | NumericShaper.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 267 // Set of context names used in toString method 572 /* !! There is no description in the documentation what this method must 629 * in that it supports multiple character ranges, depending 649 * in that it supports multiple character ranges, depending 740 * @param contextIndex index of the script index to use in shaper 827 * according to the serialized form of this class mentioned in the 844 * according to the serialized form of this class mentioned in the 873 * @param in th 878 readObject(java.io.ObjectInputStream in) argument [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | URI.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 180 // QUOTE ILLEGAL CHARACTERS in userinfo 187 // in square brackets 478 * behavour in error cases: if forceServer is true, throw 549 // fill in the userinfo, host and port fields 781 // If we have an empty word at the end, it means we ended in 783 // If we did not end in :: then this is invalid 821 * legalset java.lang.String the legal character set allowed in the 845 * in th 1730 readObject(ObjectInputStream in) argument [all...] |
/dalvik/libcore/math/src/main/java/java/math/ |
H A D | BigInteger.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 20 // in order to use the more efficient OpenSSL BIGNUM implementation, 36 * numbers are typically used in security applications and therefore BigIntegers 122 /** The magnitude of this in the little-endian representation. */ 125 /** The length of this in measured in ints. Can be less than digits.length(). */ 158 /** All the {@code BigInteger} numbers in the range [0,10] are cached. */ 211 * Constructs a random non-negative {@code BigInteger} instance in the range 215 * maximum length of the new {@code BigInteger} in bit 1474 readObject(ObjectInputStream in) argument [all...] |
/dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
H A D | PreferencesTest.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 55 InputStream in; field in class:PreferencesTest 76 in = new ByteArrayInputStream( 79 stream = new MockInputStream(in); 218 InputStream in = PreferencesTest.class 221 Preferences.importPreferences(in); 226 in = PreferencesTest.class 229 Preferences.importPreferences(in); 251 in 1805 MockInputStream(InputStream in) argument [all...] |