/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 119 p.put("serv.alg KeySize", "11111"); 120 p.put("serv1.alg1 KeySize", "222222"); 151 hm.put("KeySize", "1024"); 162 if (!"1024".equals(p.getProperty("Type.Algorithm KeySize"))) {
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCEMac.java | 58 private int keySize = 160; 70 int keySize) 75 this.keySize = keySize;
|
/external/dropbear/ |
common-algo.c | 33 {&cipher_desc, keysize, blocksize} */ 34 /* NOTE: if keysize > 2*SHA1_HASH_SIZE, code such as hashkeys() 66 /* Mapping of ssh hashes to libtomcrypt hashes, including keysize etc. 67 {&hash_desc, keysize, hashsize} */
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherAesWrapTest.java | 29 128, 192, 256}, // Keysize must be 128, 192, 256.
|
CipherDESedeWrapTest.java | 24 new int[] {112, 168}, // Keysize must be 112 or 168.
|
/external/dropbear/libtomcrypt/src/ciphers/ |
xtea.c | 190 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 193 int xtea_keysize(int *keysize) 195 LTC_ARGCHK(keysize != NULL); 196 if (*keysize < 16) { 199 *keysize = 16;
|
rc5.c | 301 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 304 int rc5_keysize(int *keysize) 306 LTC_ARGCHK(keysize != NULL); 307 if (*keysize < 8) { 309 } else if (*keysize > 128) { 310 *keysize = 128;
|
noekeon.c | 284 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 287 int noekeon_keysize(int *keysize) 289 LTC_ARGCHK(keysize != NULL); 290 if (*keysize < 16) { 293 *keysize = 16;
|
rc2.c | 341 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 344 int rc2_keysize(int *keysize) 346 LTC_ARGCHK(keysize != NULL); 347 if (*keysize < 8) { 349 } else if (*keysize > 128) { 350 *keysize = 128;
|
rc6.c | 328 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 331 int rc6_keysize(int *keysize) 333 LTC_ARGCHK(keysize != NULL); 334 if (*keysize < 8) { 336 } else if (*keysize > 128) { 337 *keysize = 128;
|
skipjack.c | 325 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 328 int skipjack_keysize(int *keysize) 330 LTC_ARGCHK(keysize != NULL); 331 if (*keysize < 10) { 333 } else if (*keysize > 10) { 334 *keysize = 10;
|
/frameworks/base/include/utils/ |
BlobCache.h | 55 // 0 < keySize 58 void set(const void* key, size_t keySize, const void* value, 76 // 0 < keySize 78 size_t get(const void* key, size_t keySize, void* value, size_t valueSize); 148 // BlobCache::set with a keySize parameter larger than mMaxKeySize will
|
/external/dropbear/libtomcrypt/notes/ |
tech0006.txt | 65 keySize INTEGER, -- Curve size (in bits) divided by eight 73 keySize INTEGER, -- Curve size (in bits) divided by eight
|
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
safer.c | 357 int safer_64_keysize(int *keysize) 359 LTC_ARGCHK(keysize != NULL); 360 if (*keysize < 8) { 363 *keysize = 8; 368 int safer_128_keysize(int *keysize) 370 LTC_ARGCHK(keysize != NULL); 371 if (*keysize < 16) { 374 *keysize = 16;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorTest.java | 124 int keysize = 0; local 131 keyG.init(keysize, null); 145 keyG.init(keysize, null); 337 * Test for <code>init(int keysize)</code> and 338 * <code>init(int keysize, SecureRandom random)</code> methods 339 * Assertion: throws InvalidParameterException if keysize is wrong 406 * <code>init(int keysize, SecureRandom random)</code> methods 407 * <code>init(int keysize)</code> methods
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGeneratorSpiTest.java | 66 fail("IllegalArgumentException must be thrown for incorrect keysize");
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
ProviderService_ImplTest.java | 49 hm.put("KeySize", "1024");
|
/external/dropbear/libtomcrypt/src/misc/ |
error_to_string.c | 25 "Invalid keysize for block cipher.",
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGeneratorSpiTest.java | 62 fail("IllegalArgumentException must be thrown for incorrect keysize");
|
ProviderServiceTest.java | 103 hm.put("KeySize", "1024"); 113 if (!s.getAttribute("KeySize").equals("1024")) { 114 fail("getAttribute(KeySize) failed");
|
/external/openssl/apps/ |
rsautl.c | 104 int keysize; local 258 keysize = RSA_size(rsa); 260 rsa_in = OPENSSL_malloc(keysize * 2); 261 rsa_out = OPENSSL_malloc(keysize); 264 rsa_inlen = BIO_read(in, rsa_in, keysize * 2);
|
/external/openssl/crypto/evp/ |
evp_locl.h | 257 #define IMPLEMENT_CFBR(cipher,cprefix,kstruct,ksched,keysize,cbits,iv_len) \ 258 BLOCK_CIPHER_func_cfb(cipher##_##keysize,cprefix,cbits,kstruct,ksched) \ 259 BLOCK_CIPHER_def_cfb(cipher##_##keysize,kstruct, \ 260 NID_##cipher##_##keysize, keysize/8, iv_len, cbits, \
|
/system/vold/ |
cryptfs.c | 179 if (crypt_ftr->keysize != KEY_LEN_BYTES) { 180 SLOGE("Keysize of %d bits not supported for real block device %s\n", 181 crypt_ftr->keysize*8, fname); 185 if ( (cnt = write(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) { 195 off += crypt_ftr->keysize; 310 if (crypt_ftr->keysize != KEY_LEN_BYTES) { 311 SLOGE("Keysize of %d bits not supported for real block device %s\n", 312 crypt_ftr->keysize * 8, fname); 316 if ( (cnt = read(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/ |
KeyAgreement.java | 202 // int keySize = ((Integer)algorithms.get(algorithm)).intValue(); 204 // DHKDFParameters params = new DHKDFParameters(new DERObjectIdentifier(algorithm), keySize, secret); 206 // byte[] keyBytes = new byte[keySize / 8];
|
/system/core/libcutils/ |
hashmap.c | 155 int hashmapHash(void* key, size_t keySize) { 156 int h = keySize; 159 for (i = 0; i < keySize; i++) {
|