/external/openssl/crypto/des/ |
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);
|
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...] |
/external/openssl/crypto/evp/ |
e_bf.c | 72 BF_KEY ks; member in struct:__anon9011 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:__anon9013 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_seed.c | 69 SEED_KEY_SCHEDULE ks; member in struct:__anon9019 72 IMPLEMENT_BLOCK_CIPHER(seed, ks, SEED, EVP_SEED_KEY, NID_seed,
|
e_idea.c | 87 IDEA_KEY_SCHEDULE ks; member in struct:__anon9015 90 BLOCK_CIPHER_func_cbc(idea, idea, EVP_IDEA_KEY, ks) 91 BLOCK_CIPHER_func_ofb(idea, idea, 64, EVP_IDEA_KEY, ks) 92 BLOCK_CIPHER_func_cfb(idea, idea, 64, EVP_IDEA_KEY, ks)
|
e_aes.c | 65 AES_KEY ks; member in struct:__anon9010 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:__anon9012 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_rc5.c | 76 RC5_32_KEY ks; /* key schedule */ member in struct:__anon9018 81 IMPLEMENT_BLOCK_CIPHER(rc5_32_12_16, ks, RC5_32, EVP_RC5_KEY, NID_rc5, 121 RC5_32_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),
|
e_rc4.c | 73 RC4_KEY ks; /* working key */ member in struct:__anon9017 125 RC4_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx), 133 RC4(&data(ctx)->ks,inl,in,out);
|
e_xcbc_d.c | 77 DES_key_schedule ks;/* key schedule */ member in struct:__anon9020 109 DES_set_key_unchecked(deskey,&data(ctx)->ks); 121 DES_xcbc_encrypt(in,out,(long)EVP_MAXCHUNK,&data(ctx)->ks, 131 DES_xcbc_encrypt(in,out,(long)inl,&data(ctx)->ks,
|
/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...] |
DSAPrivateKeySpecTest.java | 48 KeySpec ks = new DSAPrivateKeySpec( local 54 assertTrue(ks instanceof DSAPrivateKeySpec);
|
DSAPublicKeySpecTest.java | 48 KeySpec ks = new DSAPublicKeySpec( local 54 assertTrue(ks instanceof DSAPublicKeySpec);
|
RSAPrivateKeySpecTest.java | 50 KeySpec ks = new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L), local 52 assertTrue(ks instanceof RSAPrivateKeySpec);
|
/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...] |
RSAPrivateKeySpecTest.java | 43 KeySpec ks = new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L), local 45 assertTrue(ks instanceof RSAPrivateKeySpec);
|
/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);
|
TrustManagerImplTest.java | 75 KeyStore ks = KeyStore.getInstance("BKS"); local 76 ks.load(null, null); 78 TrustManagerImpl tm = new TrustManagerImpl(ks); 84 KeyStore ks = JSSETestData.getKeyStore(); local 86 TrustManagerImpl tm = new TrustManagerImpl(ks);
|
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
KeyManagerFactoryImplTest.java | 81 KeyStore ks; local 82 ks = KeyStore.getInstance("BKS"); 83 ks.load(null, null); 84 kmf.engineInit(ks, null);
|
TrustManagerFactoryImplTest.java | 80 KeyStore ks; local 81 ks = KeyStore.getInstance("BKS"); 82 ks.load(null, null); 83 tmf.engineInit(ks);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
DefaultSSLContextImpl.java | 75 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); local 79 ks.load(is, pwd); 92 kmf.init(ks, pwd); 112 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); local 116 ks.load(is, pwd); 128 tmf.init(ks);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/spec/ |
ECNamedCurveSpec.java | 31 int ks[]; local 35 ks = new int[] { curveF2m.getK1() }; 37 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed); 41 ks = new int[] { curveF2m.getK3(), curveF2m.getK2(), curveF2m.getK1() }; 43 return new EllipticCurve(new ECFieldF2m(curveF2m.getM(), ks), curve.getA().toBigInteger(), curve.getB().toBigInteger(), seed);
|
/external/dropbear/libtomcrypt/src/prngs/ |
yarrow.c | 186 int ks, err; local 202 ks = (int)hash_descriptor[prng->yarrow.hash].hashsize; 203 if ((err = cipher_descriptor[prng->yarrow.cipher].keysize(&ks)) != CRYPT_OK) { 210 prng->yarrow.pool, ks, /* KEY and key size */
|
/libcore/luni/src/main/java/javax/crypto/spec/ |
SecretKeySpec.java | 174 SecretKeySpec ks = (SecretKeySpec) obj; local 175 return (algorithm.equalsIgnoreCase(ks.algorithm)) 176 && (Arrays.equals(key, ks.key));
|