HomeSort by relevance Sort by last modified time
    Searched refs:ks (Results 1 - 25 of 294) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/services/core/java/com/android/server/pm/
PackageKeySetData.java 51 protected void setProperSigningKeySet(long ks) {
52 if (ks == mProperSigningKeySet) {
60 mProperSigningKeySet = ks;
61 addSigningKeySet(ks);
69 protected void addSigningKeySet(long ks) {
70 mSigningKeySets = ArrayUtils.appendLong(mSigningKeySets, ks);
73 protected void removeSigningKeySet(long ks) {
74 mSigningKeySets = ArrayUtils.removeLong(mSigningKeySets, ks);
80 Long ks = mKeySetAliases.get(alias); local
81 if (ks != null)
    [all...]
  /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 54 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
55 if (ks == null) {
60 new PKIXBuilderParameters(ks, new X509CertSelector());
77 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
78 if (ks == null) {
83 new PKIXBuilderParameters(ks, null);
102 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED_AND_UNTRUSTED); local
103 if (ks == null) {
108 new PKIXBuilderParameters(ks, null);
120 KeyStore ks = TestUtils.getKeyStore(false, 0) local
141 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.UNTRUSTED); local
166 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
186 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
212 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
237 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED_AND_UNTRUSTED); local
    [all...]
PKIXParameters_ImplTest.java 60 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
61 if (ks == null) {
67 CertPathParameters cpp = new PKIXParameters(ks);
82 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED_AND_UNTRUSTED); local
83 if (ks == null) {
89 PKIXParameters cpp = new PKIXParameters(ks);
99 KeyStore ks = TestUtils.getKeyStore(false, 0); local
100 if (ks == null) {
106 new PKIXParameters(ks);
119 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.UNTRUSTED) local
143 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
171 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
247 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
288 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
365 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
405 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
436 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
460 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
482 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
506 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
526 KeyStore ks = TestUtils.getKeyStore(true, TestUtils.TRUSTED); local
    [all...]
  /external/chromium_org/third_party/openssl/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/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/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;
  /external/chromium_org/third_party/openssl/openssl/crypto/evp/
e_bf.c 72 BF_KEY ks; member in struct:__anon18450
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:__anon18452
78 IMPLEMENT_BLOCK_CIPHER(cast5, ks, CAST, EVP_CAST_KEY,
86 CAST_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),key);
  /external/chromium_org/third_party/openssl/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/openssl/crypto/evp/
e_bf.c 72 BF_KEY ks; member in struct:__anon32051
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:__anon32053
78 IMPLEMENT_BLOCK_CIPHER(cast5, ks, CAST, EVP_CAST_KEY,
86 CAST_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),key);
  /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 38 protected void engineInit(KeyStore ks, char[] password)
44 if (ks == null) {
76 public Parameters(KeyStore ks, char[] pass) {
77 this.keyStore = ks;
MyTrustManagerFactorySpi.java 35 protected void engineInit(KeyStore ks) throws KeyStoreException {
36 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 35 protected void engineInit(KeyStore ks) throws KeyStoreException {
36 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;
  /libcore/luni/src/test/java/libcore/javax/crypto/
SecretKeyFactoryTest.java 53 KeySpec ks = new PBEKeySpec(null); local
54 factory.generateSecret(ks);
59 KeySpec ks = new PBEKeySpec(new char[0]); local
60 factory.generateSecret(ks);
65 KeySpec ks = new PBEKeySpec(PASSWORD); local
66 factory.generateSecret(ks);
74 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS); local
75 factory.generateSecret(ks);
80 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS); local
81 factory.generateSecret(ks);
86 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS); local
93 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS, KEY_LENGTH); local
100 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS, KEY_LENGTH); local
106 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS, KEY_LENGTH); local
197 KeySpec ks = new PBEKeySpec(password, salt, iterations, keyLength); local
207 KeySpec ks = new PBEKeySpec(password, salt, iterations, keyLength); local
    [all...]

Completed in 567 milliseconds

1 2 3 4 5 6 7 8 91011>>