/libcore/luni/src/main/java/java/security/spec/ |
RSAKeyGenParameterSpec.java | 38 private final int keysize; field in class:RSAKeyGenParameterSpec 46 * @param keysize 51 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) { 52 this.keysize = keysize; 62 return keysize;
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator2.java | 35 int keySize; 55 public void initialize(int keysize, SecureRandom random) { 56 if (keysize < 64) { 57 throw new InvalidParameterException("Incorrect keysize parameter"); 59 keySize = keysize;
|
MyAlgorithmParameterGeneratorSpi.java | 38 protected void engineInit(int keysize, SecureRandom random) { 39 if (keysize < 0) { 40 throw new IllegalArgumentException("keysize < 0");
|
MyKeyPairGeneratorSpi.java | 38 public void initialize(int keysize, SecureRandom random) { 39 if (keysize < 100) { 41 "Invalid keysize: less than 100");
|
MyKeyPairGenerator1.java | 39 public int keySize; 61 public void initialize(int keysize, SecureRandom random) { 62 if ((keysize < 0) || ((keysize % 100) != 0)) { 63 throw new InvalidParameterException("Incorrect keysize parameter"); 68 keySize = keysize;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator2.java | 36 int keySize; 56 public void initialize(int keysize, SecureRandom random) { 57 if (keysize < 64) { 58 throw new InvalidParameterException("Incorrect keysize parameter"); 60 keySize = keysize;
|
MyAlgorithmParameterGeneratorSpi.java | 39 public void engineInit(int keysize, SecureRandom random) { 40 if (keysize < 0) { 41 throw new IllegalArgumentException("keysize < 0");
|
MyKeyPairGeneratorSpi.java | 39 public void initialize(int keysize, SecureRandom random) { 40 if (keysize < 100) { 42 "Invalid keysize: less than 100");
|
MyKeyPairGenerator1.java | 40 public int keySize; 62 public void initialize(int keysize, SecureRandom random) { 63 if ((keysize < 0) || ((keysize % 100) != 0)) { 64 throw new InvalidParameterException("Incorrect keysize parameter"); 69 keySize = keysize;
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_make_key.c | 30 @param keysize The keysize for the new key (in octets from 20 to 65 bytes) 34 int ecc_make_key(prng_state *prng, int wprng, int keysize, ecc_key *key) 39 for (x = 0; (keysize > ltc_ecc_sets[x].size) && (ltc_ecc_sets[x].size != 0); x++); 40 keysize = ltc_ecc_sets[x].size; 42 if (keysize > ECC_MAXSIZE || ltc_ecc_sets[x].size == 0) { 56 int keysize; local 69 keysize = dp->size; 79 if (prng_descriptor[wprng].read(buf, (unsigned long)keysize, prng) != (unsigned long)keysize) { [all...] |
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/ |
MyKeyGeneratorSpi.java | 53 protected void engineInit(int keysize, SecureRandom random) { 54 if (keysize <= 77) { 55 throw new IllegalArgumentException("Invalid keysize");
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyKeyGeneratorSpi.java | 54 protected void engineInit(int keysize, SecureRandom random) { 55 if (keysize <= 77) { 56 throw new IllegalArgumentException("Invalid keysize");
|
/libcore/luni/src/main/java/java/security/ |
KeyPairGeneratorSpi.java | 47 * @param keysize 52 public abstract void initialize(int keysize, SecureRandom random);
|
KeyPairGenerator.java | 172 * @param keysize 175 public void initialize(int keysize) { 176 initialize(keysize, RANDOM); 223 * @param keysize 229 public void initialize(int keysize, SecureRandom random) { 264 // implementation of initialize(int keysize, SecureRandom random) 267 public void initialize(int keysize, SecureRandom random) { 268 spiImpl.initialize(keysize, random); 278 // implementation of initialize(int keysize, SecureRandom random)
|
/libcore/luni/src/main/java/javax/crypto/ |
KeyGeneratorSpi.java | 64 * @param keysize 69 protected abstract void engineInit(int keysize, SecureRandom random);
|
KeyGenerator.java | 212 * @param keysize 215 public final void init(int keysize) { 216 spiImpl.engineInit(keysize, RANDOM);//new SecureRandom()); 223 * @param keysize 228 public final void init(int keysize, SecureRandom random) { 229 spiImpl.engineInit(keysize, random);
|
/external/dropbear/ |
algo.h | 55 unsigned long keysize; member in struct:dropbear_cipher 61 unsigned long keysize; member in struct:dropbear_hash
|
dropbearkey.c | 101 unsigned int keysize; local 197 keysize = bits / 8; 200 keysize = DSS_SIZE; 202 keysize = RSA_SIZE; 209 fprintf(stderr, "Will output %d bit %s secret key to '%s'\n", keysize*8, 222 key->rsakey = gen_rsa_priv_key(keysize); /* 128 bytes = 1024 bit */ 227 key->dsskey = gen_dss_priv_key(keysize); /* 128 bytes = 1024 bit */
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLECKeyPairGenerator.java | 64 public void initialize(int keysize, SecureRandom random) { 65 final String name = SIZE_TO_CURVE_NAME.get(keysize); 67 throw new InvalidParameterException("unknown key size " + keysize);
|
OpenSSLDSAKeyPairGenerator.java | 59 public void initialize(int keysize, SecureRandom random) { 60 primeBits = keysize;
|
OpenSSLRSAKeyPairGenerator.java | 54 public void initialize(int keysize, SecureRandom random) { 55 this.modulusBits = keysize;
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_cipher.h | 323 /** min keysize (octets) */ 325 /** max keysize (octets) */ 364 @param keysize [in/out] The size of the key desired and the suggested size 367 int (*keysize)(int *keysize); member in struct:ltc_cipher_descriptor 541 int blowfish_keysize(int *keysize); 551 int rc5_keysize(int *keysize); 561 int rc6_keysize(int *keysize); 571 int rc2_keysize(int *keysize); 581 int saferp_keysize(int *keysize); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorSpiTest.java | 59 protected void engineInit(int keysize, SecureRandom random) { 60 super.engineInit(keysize, random);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
BlockCipherFactory.java | 23 int keysize; field in class:BlockCipherFactory.CipherEntry 26 public CipherEntry(String type, int blockSize, int keySize, String cipherClass) 30 this.keysize = keySize; 128 return ce.keysize;
|
/system/vold/ |
cryptfs.h | 20 * The keysize field tells how long the key is, in bytes. 51 __le32 keysize; /* in bytes */ member in struct:crypt_mnt_ftr
|