/libcore/luni/src/main/java/java/security/spec/ |
ECFieldF2m.java | 41 private final int[] ks; field in class:ECFieldF2m 58 this.ks = null; 96 // setup ks using rp: 98 ks = new int[rp_bc-2]; 99 // find midterm orders and set ks accordingly 101 for (int i=ks.length-1; i>=0; i-- ) { 102 ks[i] = rpTmp.getLowestSetBit(); 103 rpTmp = rpTmp.clearBit(ks[i]); 109 * a polynomial basis and the reduction polynomial based on {@code ks}. 116 * @param ks [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXBuilderParameters_ImplTest.java | 53 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 54 if (ks == null) { 59 new PKIXBuilderParameters(ks, new X509CertSelector()); 74 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 75 if (ks == null) { 80 new PKIXBuilderParameters(ks, null); 97 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED_AND_UNTRUSTED); local 98 if (ks == null) { 103 new PKIXBuilderParameters(ks, null); 115 KeyStore ks = TestUtils.getKeyStore(false, 0) local 136 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.UNTRUSTED); local 159 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 177 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 201 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 224 KeyStore ks = TestUtils.getKeyStore(true,TestUtils.TRUSTED_AND_UNTRUSTED); local [all...] |
PKIXParameters_ImplTest.java | 59 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 60 if (ks == null) { 66 CertPathParameters cpp = new PKIXParameters(ks); 79 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED_AND_UNTRUSTED); local 80 if (ks == null) { 86 PKIXParameters cpp = new PKIXParameters(ks); 96 KeyStore ks = TestUtils.getKeyStore(false, 0); local 97 if (ks == null) { 103 new PKIXParameters(ks); 116 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.UNTRUSTED) local 138 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 164 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 238 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 277 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED_AND_UNTRUSTED); local [all...] |
TrustAnchor_ImplTest.java | 61 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 62 if (ks == null) { 69 (X509Certificate)ks.getCertificate(certAlias), 73 (X509Certificate)ks.getCertificate(certAlias), 77 (X509Certificate)ks.getCertificate(certAlias), 81 (X509Certificate)ks.getCertificate(certAlias), 93 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 94 if (ks == null) { 100 (X509Certificate)ks.getCertificate(certAlias), 112 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED) local 140 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 161 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 271 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 292 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 319 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 364 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 404 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 435 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 458 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 480 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 503 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local 523 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local [all...] |
/external/openssl/crypto/des/ |
str2key.c | 64 DES_key_schedule ks; local 93 DES_set_key(key,&ks); 95 DES_set_key_unchecked(key,&ks); 97 DES_cbc_cksum((const unsigned char*)str,key,length,&ks,key); 98 OPENSSL_cleanse(&ks,sizeof(ks)); 104 DES_key_schedule ks; local 158 DES_set_key(key1,&ks); 160 DES_set_key_unchecked(key1,&ks); 162 DES_cbc_cksum((const unsigned char*)str,key1,length,&ks,key1) [all...] |
rpc_enc.c | 66 DES_key_schedule ks; local 69 DES_set_key_unchecked(&desp->des_key,&ks); 74 (DES_cblock *)desp->UDES.UDES_buf,&ks, 79 len,&ks,&desp->des_ivec,enc);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
RSAPrivateCrtKeySpecTest.java | 51 KeySpec ks = new RSAPrivateCrtKeySpec( local 60 assertTrue(ks instanceof RSAPrivateCrtKeySpec); 69 KeySpec ks = new RSAPrivateCrtKeySpec( local 78 assertTrue(ks instanceof RSAPrivateKeySpec); 103 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 112 assertTrue(BigInteger.valueOf(5L).equals(ks.getCrtCoefficient())); 120 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 129 assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeExponentP())); 137 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 146 assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeExponentQ())) 154 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 171 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 188 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 209 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 226 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
SecretKeyFactoryTest.java | 52 KeySpec ks = new PBEKeySpec(null); local 53 factory.generateSecret(ks); 58 KeySpec ks = new PBEKeySpec(new char[0]); local 59 factory.generateSecret(ks); 64 KeySpec ks = new PBEKeySpec(PASSWORD); local 65 factory.generateSecret(ks); 73 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS); local 74 factory.generateSecret(ks); 79 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS); local 80 factory.generateSecret(ks); 85 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS); local 92 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS, KEY_LENGTH); local 99 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS, KEY_LENGTH); local 105 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS, KEY_LENGTH); local 165 KeySpec ks = new PBEKeySpec(password, salt, iterations, keyLength); local [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
RSAPrivateCrtKeySpecTest.java | 44 KeySpec ks = new RSAPrivateCrtKeySpec( local 53 assertTrue(ks instanceof RSAPrivateCrtKeySpec); 62 KeySpec ks = new RSAPrivateCrtKeySpec( local 71 assertTrue(ks instanceof RSAPrivateKeySpec); 96 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 105 assertTrue(BigInteger.valueOf(5L).equals(ks.getCrtCoefficient())); 113 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 122 assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeExponentP())); 130 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 139 assertTrue(BigInteger.valueOf(5L).equals(ks.getPrimeExponentQ())) 147 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 164 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 181 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 202 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local 219 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( local [all...] |
RSAPublicKeySpecTest.java | 43 KeySpec ks = local 47 assertTrue(ks instanceof RSAPublicKeySpec); 56 KeySpec ks = local 59 assertTrue(ks instanceof RSAPublicKeySpec);
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
TrustManagerFactorySpiImpl.java | 14 private static KeyStore ks = null; field in class:TrustManagerFactorySpiImpl 17 public void engineInit(KeyStore ks) throws KeyStoreException { 19 this.ks = ks; 46 return ks;
|
MyTrustManagerFactorySpi.java | 35 protected void engineInit(KeyStore ks) throws KeyStoreException { 36 if (ks == null) { 64 public Parameters (KeyStore ks) { 65 this.keyStore = ks;
|
KeyManagerFactorySpiImpl.java | 16 public void engineInit(KeyStore ks, char[] password) 20 if (ks == null && password == null) { 24 if (ks == null) {
|
/frameworks/base/opengl/java/android/opengl/ |
Material.java | 33 private float[] ks = new float[4]; field in class:Material 55 gl.glMaterialfv(gl.GL_FRONT_AND_BACK, gl.GL_SPECULAR, ks, 0); 67 // gl.glMaterialfv(gl.GL_FRONT_AND_BACK, gl.GL_SPECULAR, ks, 0); 96 this.ks[0] = dis.readFloat(); 97 this.ks[1] = dis.readFloat(); 98 this.ks[2] = dis.readFloat(); 99 this.ks[3] = dis.readFloat(); 111 "ks={" + ks[0] + "," + ks[1] + "," + ks[2] + "}," [all...] |
/external/openssl/crypto/evp/ |
e_bf.c | 72 BF_KEY ks; member in struct:__anon8820 77 IMPLEMENT_BLOCK_CIPHER(bf, ks, BF, EVP_BF_KEY, NID_bf, 8, 16, 8, 64, 84 BF_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),key);
|
e_cast.c | 73 CAST_KEY ks; member in struct:__anon8822 78 IMPLEMENT_BLOCK_CIPHER(cast5, ks, CAST, EVP_CAST_KEY, 86 CAST_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),key);
|
e_aes.c | 65 AES_KEY ks; member in struct:__anon8819 70 IMPLEMENT_BLOCK_CIPHER(aes_128, ks, AES, EVP_AES_KEY, 76 IMPLEMENT_BLOCK_CIPHER(aes_192, ks, AES, EVP_AES_KEY, 82 IMPLEMENT_BLOCK_CIPHER(aes_256, ks, AES, EVP_AES_KEY, 89 #define IMPLEMENT_AES_CFBR(ksize,cbits) IMPLEMENT_CFBR(aes,AES,EVP_AES_KEY,ks,ksize,cbits,16)
|
e_camellia.c | 71 CAMELLIA_KEY ks; member in struct:__anon8821 77 IMPLEMENT_BLOCK_CIPHER(camellia_128, ks, Camellia, EVP_CAMELLIA_KEY, 83 IMPLEMENT_BLOCK_CIPHER(camellia_192, ks, Camellia, EVP_CAMELLIA_KEY, 89 IMPLEMENT_BLOCK_CIPHER(camellia_256, ks, Camellia, EVP_CAMELLIA_KEY, 96 #define IMPLEMENT_CAMELLIA_CFBR(ksize,cbits) IMPLEMENT_CFBR(camellia,Camellia,EVP_CAMELLIA_KEY,ks,ksize,cbits,16)
|
e_seed.c | 69 SEED_KEY_SCHEDULE ks; member in struct:__anon8828 72 IMPLEMENT_BLOCK_CIPHER(seed, ks, SEED, EVP_SEED_KEY, NID_seed,
|
/external/openssl/crypto/rc2/ |
rc2_ecb.c | 73 void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *ks, 81 RC2_encrypt(d,ks); 83 RC2_decrypt(d,ks);
|
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/ |
MyKeyManagerFactorySpi.java | 39 protected void engineInit(KeyStore ks, char[] password) 45 if (ks == null) { 75 public Parameters (KeyStore ks, char[] pass) { 76 this.keyStore = ks;
|
MyTrustManagerFactorySpi.java | 36 protected void engineInit(KeyStore ks) throws KeyStoreException { 37 if (ks == null) { 67 public Parameters (KeyStore ks) { 68 this.keyStore = ks;
|
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/ |
MyTrustManagerFactorySpi.java | 36 protected void engineInit(KeyStore ks) throws KeyStoreException { 37 if (ks == null) { 67 public Parameters (KeyStore ks) { 68 this.keyStore = ks;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyTrustManagerFactorySpi.java | 35 protected void engineInit(KeyStore ks) throws KeyStoreException { 36 if (ks == null) { 64 public Parameters (KeyStore ks) { 65 this.keyStore = ks;
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
KeyManagerImplTest.java | 34 KeyStore ks = null; local 35 ks = KeyStore.getInstance("BKS"); 36 ks.load(null, null); 38 KeyManagerImpl km = new KeyManagerImpl(ks, new char[0]); 62 KeyStore ks = JSSETestData.getKeyStore(); local 65 KeyManagerImpl km = new KeyManagerImpl(ks, pwd);
|