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

1 2 3 4 5 6 7 8 91011

  /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...]
  /frameworks/base/services/java/com/android/server/pm/
PackageKeySetData.java 46 public void addSigningKeySet(long ks) {
49 if (ks == knownKeySet) {
55 mSigningKeySets[end] = ks;
58 public void removeSigningKeySet(long ks) {
59 if (packageIsSignedBy(ks)) {
63 if (signingKeySet != ks) {
72 public void addDefinedKeySet(long ks, String alias) {
75 if (ks == knownKeySet) {
81 mDefinedKeySets[end] = ks;
82 mKeySetAliases.put(alias, 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/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:__anon15550
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:__anon15552
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:__anon25998
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:__anon26000
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 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;
  /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 859 milliseconds

1 2 3 4 5 6 7 8 91011