/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/ |
H A D | MyKeyGeneratorSpi.java | 53 protected void engineInit(int keysize, SecureRandom random) { argument 54 if (keysize <= 77) { 55 throw new IllegalArgumentException("Invalid keysize");
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | MyAlgorithmParameterGeneratorSpi.java | 38 protected void engineInit(int keysize, SecureRandom random) { argument 39 if (keysize < 0) { 40 throw new IllegalArgumentException("keysize < 0");
|
H A D | MyKeyPairGenerator2.java | 55 public void initialize(int keysize, SecureRandom random) { argument 56 if (keysize < 64) { 57 throw new InvalidParameterException("Incorrect keysize parameter"); 59 keySize = keysize;
|
H A D | MyKeyPairGeneratorSpi.java | 38 public void initialize(int keysize, SecureRandom random) { argument 39 if (keysize < 100) { 41 "Invalid keysize: less than 100");
|
H A D | MyKeyPairGenerator1.java | 61 public void initialize(int keysize, SecureRandom random) { argument 62 if ((keysize < 0) || ((keysize % 100) != 0)) { 63 throw new InvalidParameterException("Incorrect keysize parameter"); 68 keySize = keysize;
|
/external/dropbear/ |
H A D | algo.h | 55 unsigned long keysize; member in struct:dropbear_cipher 61 unsigned long keysize; member in struct:dropbear_hash
|
H A D | 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 */
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
H A D | 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) argument 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/dropbear/libtomcrypt/src/ciphers/ |
H A D | 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) argument 195 LTC_ARGCHK(keysize != NULL); 196 if (*keysize < 16) { 199 *keysize = 16;
|
H A D | 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) argument 346 LTC_ARGCHK(keysize != NULL); 347 if (*keysize < 8) { 349 } else if (*keysize > 128) { 350 *keysize = 128;
|
H A D | blowfish.c | 574 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 577 int blowfish_keysize(int *keysize) argument 579 LTC_ARGCHK(keysize != NULL); 581 if (*keysize < 8) { 583 } else if (*keysize > 56) { 584 *keysize = 56;
|
H A D | kasumi.c | 241 int kasumi_keysize(int *keysize) argument 243 LTC_ARGCHK(keysize != NULL); 244 if (*keysize >= 16) { 245 *keysize = 16;
|
H A D | khazad.c | 837 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 840 int khazad_keysize(int *keysize) argument 842 LTC_ARGCHK(keysize != NULL); 843 if (*keysize >= 16) { 844 *keysize = 16;
|
H A D | kseed.c | 358 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 361 int kseed_keysize(int *keysize) argument 363 LTC_ARGCHK(keysize != NULL); 364 if (*keysize >= 16) { 365 *keysize = 16;
|
H A D | 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) argument 289 LTC_ARGCHK(keysize != NULL); 290 if (*keysize < 16) { 293 *keysize = 16;
|
H A D | 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) argument 306 LTC_ARGCHK(keysize != NULL); 307 if (*keysize < 8) { 309 } else if (*keysize > 128) { 310 *keysize = 128;
|
H A D | 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) argument 333 LTC_ARGCHK(keysize != NULL); 334 if (*keysize < 8) { 336 } else if (*keysize > 128) { 337 *keysize = 128;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
H A D | svga_state_vs.c | 49 unsigned keysize = svga_vs_key_size( a ); local 50 return memcmp( a, b, keysize );
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
H A D | prog_cache.c | 175 const void *key, GLuint keysize) 178 memcmp(cache->last->key, key, keysize) == 0) { 182 const GLuint hash = hash_key(key, keysize); 186 if (c->hash == hash && memcmp(c->key, key, keysize) == 0) { 200 const void *key, GLuint keysize, 203 const GLuint hash = hash_key(key, keysize); 208 c->key = malloc(keysize); 209 memcpy(c->key, key, keysize); 228 const void *key, GLuint keysize, 231 const GLuint hash = hash_key(key, keysize); 174 _mesa_search_program_cache(struct gl_program_cache *cache, const void *key, GLuint keysize) argument 198 _mesa_program_cache_insert(struct gl_context *ctx, struct gl_program_cache *cache, const void *key, GLuint keysize, struct gl_program *program) argument 226 _mesa_shader_cache_insert(struct gl_context *ctx, struct gl_program_cache *cache, const void *key, GLuint keysize, struct gl_shader_program *program) argument [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
H A D | BlockCipherFactory.java | 23 int keysize; field in class:BlockCipherFactory.CipherEntry 30 this.keysize = keySize; 128 return ce.keysize;
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_vs.c | 49 unsigned keysize = svga_vs_key_size( a ); local 50 return memcmp( a, b, keysize );
|
/external/mesa3d/src/mesa/program/ |
H A D | prog_cache.c | 175 const void *key, GLuint keysize) 178 memcmp(cache->last->key, key, keysize) == 0) { 182 const GLuint hash = hash_key(key, keysize); 186 if (c->hash == hash && memcmp(c->key, key, keysize) == 0) { 200 const void *key, GLuint keysize, 203 const GLuint hash = hash_key(key, keysize); 208 c->key = malloc(keysize); 209 memcpy(c->key, key, keysize); 228 const void *key, GLuint keysize, 231 const GLuint hash = hash_key(key, keysize); 174 _mesa_search_program_cache(struct gl_program_cache *cache, const void *key, GLuint keysize) argument 198 _mesa_program_cache_insert(struct gl_context *ctx, struct gl_program_cache *cache, const void *key, GLuint keysize, struct gl_program *program) argument 226 _mesa_shader_cache_insert(struct gl_context *ctx, struct gl_program_cache *cache, const void *key, GLuint keysize, struct gl_shader_program *program) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/ |
H A D | translate.h | 141 int keysize = translate_keysize(a); local 143 memset(ptr + keysize, 0, sizeof(*a) - keysize);
|
/external/chromium_org/third_party/smhasher/src/ |
H A D | SpeedTest.cpp | 231 void TinySpeedTest ( pfHash hash, int hashsize, int keysize, uint32_t seed, bool verbose, double & /*outCycles*/ ) argument 235 if(verbose) printf("Small key speed test - %4d-byte keys - ",keysize); 237 double cycles = SpeedTest(hash,seed,trials,keysize,0);
|
/external/dropbear/libtomcrypt/src/ciphers/aes/ |
H A D | aes.c | 736 @param keysize [in/out] The length of the recommended key (in bytes). This function will store the suitable size back in this variable. 739 int ECB_KS(int *keysize) argument 741 LTC_ARGCHK(keysize != NULL); 743 if (*keysize < 16) 745 if (*keysize < 24) { 746 *keysize = 16; 748 } else if (*keysize < 32) { 749 *keysize = 24; 752 *keysize = 32;
|