/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/ |
D | OpenSSHPublicKeySpec.java | 26 public OpenSSHPublicKeySpec(byte[] encodedKey) in OpenSSHPublicKeySpec() argument 28 super(encodedKey); in OpenSSHPublicKeySpec() 34 int i = (encodedKey[pos++] & 0xFF) << 24; in OpenSSHPublicKeySpec() 35 i |= (encodedKey[pos++] & 0xFF) << 16; in OpenSSHPublicKeySpec() 36 i |= (encodedKey[pos++] & 0xFF) << 8; in OpenSSHPublicKeySpec() 37 i |= (encodedKey[pos++] & 0xFF); in OpenSSHPublicKeySpec() 39 if ((pos + i) >= encodedKey.length) in OpenSSHPublicKeySpec() 44 this.type = Strings.fromByteArray(Arrays.copyOfRange(encodedKey, pos, pos + i)); in OpenSSHPublicKeySpec()
|
D | OpenSSHPrivateKeySpec.java | 31 public OpenSSHPrivateKeySpec(byte[] encodedKey) in OpenSSHPrivateKeySpec() argument 33 super(encodedKey); in OpenSSHPrivateKeySpec() 35 if (encodedKey[0] == 0x30) // DER SEQUENCE in OpenSSHPrivateKeySpec() 39 else if (encodedKey[0] == 'o') in OpenSSHPrivateKeySpec()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/spec/ |
D | OpenSSHPublicKeySpec.java | 28 public OpenSSHPublicKeySpec(byte[] encodedKey) in OpenSSHPublicKeySpec() argument 30 super(encodedKey); in OpenSSHPublicKeySpec() 36 int i = (encodedKey[pos++] & 0xFF) << 24; in OpenSSHPublicKeySpec() 37 i |= (encodedKey[pos++] & 0xFF) << 16; in OpenSSHPublicKeySpec() 38 i |= (encodedKey[pos++] & 0xFF) << 8; in OpenSSHPublicKeySpec() 39 i |= (encodedKey[pos++] & 0xFF); in OpenSSHPublicKeySpec() 41 if ((pos + i) >= encodedKey.length) in OpenSSHPublicKeySpec() 46 this.type = Strings.fromByteArray(Arrays.copyOfRange(encodedKey, pos, pos + i)); in OpenSSHPublicKeySpec()
|
D | OpenSSHPrivateKeySpec.java | 33 public OpenSSHPrivateKeySpec(byte[] encodedKey) in OpenSSHPrivateKeySpec() argument 35 super(encodedKey); in OpenSSHPrivateKeySpec() 37 if (encodedKey[0] == 0x30) // DER SEQUENCE in OpenSSHPrivateKeySpec() 41 else if (encodedKey[0] == 'o') in OpenSSHPrivateKeySpec()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/spec/ |
D | OpenSSHPublicKeySpec.java | 28 public OpenSSHPublicKeySpec(byte[] encodedKey) in OpenSSHPublicKeySpec() argument 30 super(encodedKey); in OpenSSHPublicKeySpec() 36 int i = (encodedKey[pos++] & 0xFF) << 24; in OpenSSHPublicKeySpec() 37 i |= (encodedKey[pos++] & 0xFF) << 16; in OpenSSHPublicKeySpec() 38 i |= (encodedKey[pos++] & 0xFF) << 8; in OpenSSHPublicKeySpec() 39 i |= (encodedKey[pos++] & 0xFF); in OpenSSHPublicKeySpec() 41 if ((pos + i) >= encodedKey.length) in OpenSSHPublicKeySpec() 46 this.type = Strings.fromByteArray(Arrays.copyOfRange(encodedKey, pos, pos + i)); in OpenSSHPublicKeySpec()
|
D | OpenSSHPrivateKeySpec.java | 33 public OpenSSHPrivateKeySpec(byte[] encodedKey) in OpenSSHPrivateKeySpec() argument 35 super(encodedKey); in OpenSSHPrivateKeySpec() 37 if (encodedKey[0] == 0x30) // DER SEQUENCE in OpenSSHPrivateKeySpec() 41 else if (encodedKey[0] == 'o') in OpenSSHPrivateKeySpec()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLCipher.java | 111 byte[] encodedKey; field in OpenSSLCipher 143 abstract void engineInitInternal(byte[] encodedKey, AlgorithmParameterSpec params, in engineInitInternal() argument 297 engineInitInternal(this.encodedKey, null, random); in engineInit() 308 engineInitInternal(this.encodedKey, params, random); in engineInit() 454 byte[] encodedKey = key.getEncoded(); in engineGetKeySize() 455 if (encodedKey == null) { in engineGetKeySize() 458 checkSupportedKeySize(encodedKey.length); in engineGetKeySize() 460 return encodedKey.length * 8; in engineGetKeySize() 476 final byte[] encodedKey = key.getEncoded(); in checkAndSetEncodedKey() 477 if (encodedKey == null) { in checkAndSetEncodedKey() [all …]
|
D | OpenSSLEvpCipher.java | 58 void engineInitInternal(byte[] encodedKey, AlgorithmParameterSpec params, in engineInitInternal() argument 70 encodedKey.length, mode)); in engineInitInternal() 73 + (encodedKey.length * 8) + " and mode = " + mode); in engineInitInternal() 102 NativeCrypto.EVP_CIPHER_CTX_set_key_length(cipherCtx, encodedKey.length); in engineInitInternal() 103 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in engineInitInternal() 105 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, encodedKey, iv, encrypting); in engineInitInternal() 209 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in reset()
|
D | OpenSSLAeadCipher.java | 147 void engineInitInternal(byte[] encodedKey, AlgorithmParameterSpec params, in engineInitInternal() argument 176 evpAead = getEVP_AEAD(encodedKey.length); in engineInitInternal() 200 && arraysAreEqual(previousKey, encodedKey) in engineInitInternal() 207 this.previousKey = encodedKey; in engineInitInternal() 342 evpAead, encodedKey, tagLengthInBytes, output, iv, input, aad); in doFinalInternal() 345 evpAead, encodedKey, tagLengthInBytes, output, iv, input, aad); in doFinalInternal() 364 bytesWritten = NativeCrypto.EVP_AEAD_CTX_seal(evpAead, encodedKey, in doFinalInternal() 367 bytesWritten = NativeCrypto.EVP_AEAD_CTX_open(evpAead, encodedKey, in doFinalInternal()
|
D | OpenSSLCipherChaCha20.java | 48 void engineInitInternal(byte[] encodedKey, AlgorithmParameterSpec params, SecureRandom random) in engineInitInternal() argument 85 BLOCK_SIZE_BYTES, encodedKey, iv, blockCounter); in updateInternal() 99 outputOffset, inputLenRemaining, encodedKey, iv, blockCounter); in updateInternal()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLCipher.java | 109 byte[] encodedKey; field in OpenSSLCipher 141 abstract void engineInitInternal(byte[] encodedKey, AlgorithmParameterSpec params, in engineInitInternal() argument 295 engineInitInternal(this.encodedKey, null, random); in engineInit() 306 engineInitInternal(this.encodedKey, params, random); in engineInit() 452 byte[] encodedKey = key.getEncoded(); in engineGetKeySize() 453 if (encodedKey == null) { in engineGetKeySize() 456 checkSupportedKeySize(encodedKey.length); in engineGetKeySize() 458 return encodedKey.length * 8; in engineGetKeySize() 474 final byte[] encodedKey = key.getEncoded(); in checkAndSetEncodedKey() 475 if (encodedKey == null) { in checkAndSetEncodedKey() [all …]
|
D | OpenSSLEvpCipher.java | 54 void engineInitInternal(byte[] encodedKey, AlgorithmParameterSpec params, in engineInitInternal() argument 66 encodedKey.length, mode)); in engineInitInternal() 69 + (encodedKey.length * 8) + " and mode = " + mode); in engineInitInternal() 98 NativeCrypto.EVP_CIPHER_CTX_set_key_length(cipherCtx, encodedKey.length); in engineInitInternal() 99 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in engineInitInternal() 101 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, encodedKey, iv, encrypting); in engineInitInternal() 205 NativeCrypto.EVP_CipherInit_ex(cipherCtx, 0, encodedKey, iv, isEncrypting()); in reset()
|
D | OpenSSLAeadCipher.java | 143 void engineInitInternal(byte[] encodedKey, AlgorithmParameterSpec params, in engineInitInternal() argument 172 evpAead = getEVP_AEAD(encodedKey.length); in engineInitInternal() 196 && arraysAreEqual(previousKey, encodedKey) in engineInitInternal() 203 this.previousKey = encodedKey; in engineInitInternal() 339 evpAead, encodedKey, tagLengthInBytes, output, iv, input, aad); in doFinalInternal() 342 evpAead, encodedKey, tagLengthInBytes, output, iv, input, aad); in doFinalInternal() 361 bytesWritten = NativeCrypto.EVP_AEAD_CTX_seal(evpAead, encodedKey, in doFinalInternal() 364 bytesWritten = NativeCrypto.EVP_AEAD_CTX_open(evpAead, encodedKey, in doFinalInternal()
|
D | OpenSSLCipherChaCha20.java | 46 void engineInitInternal(byte[] encodedKey, AlgorithmParameterSpec params, SecureRandom random) in engineInitInternal() argument 83 BLOCK_SIZE_BYTES, encodedKey, iv, blockCounter); in updateInternal() 97 outputOffset, inputLenRemaining, encodedKey, iv, blockCounter); in updateInternal()
|
/external/cronet/net/android/javatests/src/org/chromium/net/ |
D | AndroidKeyStoreTestUtil.java | 34 public static PrivateKey createPrivateKeyFromPKCS8(int type, byte[] encodedKey) { in createPrivateKeyFromPKCS8() argument 50 KeySpec ks = new PKCS8EncodedKeySpec(encodedKey); in createPrivateKeyFromPKCS8()
|
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/ |
D | Ukey2Handshake.java | 910 byte[] encodedKey = PublicKeyProtoUtil.encodePublicKey(p256KeyPair.getPublic()).toByteArray(); in generateP256SHA512ClientFinished() 913 clientFinished.setPublicKey(ByteString.copyFrom(encodedKey)); in generateP256SHA512ClientFinished()
|
/external/ow2-asm/tools/retrofitter/src/main/resources/ |
D | jdk1.5.0.12.txt.gz |
|