/libcore/ojluni/src/main/java/java/security/spec/ |
RSAKeyGenParameterSpec.java | 44 private int keysize; field in class:RSAKeyGenParameterSpec 59 * given keysize and public-exponent value. 61 * @param keysize the modulus size (specified in number of bits) 64 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) { 65 this.keysize = keysize; 70 * Returns the keysize. 72 * @return the keysize. 75 return keysize;
|
/external/mesa3d/src/mesa/program/ |
prog_cache.h | 53 const void *key, GLuint keysize); 58 const void *key, GLuint keysize, 64 const void *key, GLuint keysize,
|
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); [all...] |
/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;
|
/libcore/ojluni/src/main/java/java/security/ |
KeyPairGeneratorSpi.java | 42 * For example, the <i>Sun</i> provider uses a default modulus size (keysize) 55 * Initializes the key pair generator for a certain keysize, using 58 * @param keysize the keysize. This is an 64 * @exception InvalidParameterException if the {@code keysize} is not 67 public abstract void initialize(int keysize, SecureRandom random);
|
KeyPairGenerator.java | 58 * <p>All key pair generators share the concepts of a keysize and a 59 * source of randomness. The keysize is interpreted differently for different 60 * algorithms (e.g., in the case of the <i>DSA</i> algorithm, the keysize 66 * {@code keysize} argument, and uses the {@code SecureRandom} 77 * <p>If the algorithm is the <i>DSA</i> algorithm, and the keysize (modulus 102 * For example, the <i>Sun</i> provider uses a default modulus size (keysize) 363 * Initializes the key pair generator for a certain keysize using 371 * @param keysize the keysize. This is an 375 * @exception InvalidParameterException if the {@code keysize} is no [all...] |
/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");
|
/external/libcups/cups/ |
pwg-private.h | 39 extern void _pwgGenerateSize(char *keyword, size_t keysize,
|
pwg.h | 73 extern int pwgFormatSizeName(char *keyword, size_t keysize,
|
/libcore/ojluni/src/main/java/javax/crypto/ |
KeyGeneratorSpi.java | 68 * Initializes this key generator for a certain keysize, using the given 71 * @param keysize the keysize. This is an algorithm-specific metric, 75 * @exception InvalidParameterException if the keysize is wrong or not 78 protected abstract void engineInit(int keysize, SecureRandom random);
|
KeyGenerator.java | 56 * <p>All key generators share the concepts of a <i>keysize</i> and a 62 * <code>keysize</code> argument, and uses the SecureRandom implementation 541 * Initializes this key generator for a certain keysize. 551 * @param keysize the keysize. This is an algorithm-specific metric, 554 * @exception InvalidParameterException if the keysize is wrong or not 557 public final void init(int keysize) { 558 init(keysize, JceSecurity.RANDOM); 562 * Initializes this key generator for a certain keysize, using a 565 * @param keysize the keysize. This is an algorithm-specific metric [all...] |
/external/mesa3d/src/gallium/auxiliary/translate/ |
translate.h | 141 int keysize = translate_keysize(a); local 143 memset(ptr + keysize, 0, sizeof(*a) - keysize);
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLRSAKeyPairGenerator.java | 61 public void initialize(int keysize, SecureRandom random) { 62 this.modulusBits = keysize;
|
OpenSSLECKeyPairGenerator.java | 76 public void initialize(int keysize, SecureRandom random) { 77 final String name = SIZE_TO_CURVE_NAME.get(keysize); 79 throw new InvalidParameterException("unknown key size " + keysize);
|
/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/mesa3d/src/gallium/auxiliary/draw/ |
draw_vs.h | 205 int keysize = draw_vs_variant_keysize(a); local 206 return memcmp(a, b, keysize);
|
/external/mdnsresponder/mDNSShared/ |
dnssd_clientlib.c | 211 unsigned long keysize, keyvalsize; local 214 keysize = (unsigned long)(k - key); 215 keyvalsize = 1 + keysize + (value ? (1 + valueSize) : 0); 216 if (keysize < 1 || keyvalsize > 255) return(kDNSServiceErr_Invalid); 233 memcpy(p, key, keysize); 234 p += keysize;
|
/system/vold/ |
cryptfs.h | 101 __le32 keysize; /* in bytes */ member in struct:crypt_mnt_ftr 238 const unsigned char* key, int keysize, char* out_crypto_blkdev);
|
/cts/tools/utils/ |
certificates.py | 52 def create(cn, issuer=None, key=None, keysize=2048, digest="sha256", 57 key.generate_key(crypto.TYPE_RSA, keysize)
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_vs.c | 49 unsigned keysize = svga_vs_key_size( a ); local 50 return memcmp( a, b, keysize );
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
RsaSignatureTest.java | 1081 int keysize = 2048; local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDrm.cpp | 301 size_t keysize; local 302 if (meta->findData(kKeyCryptoKey, &type, &key, &keysize)) { 303 if (keysize != kBlockSize) { 305 kBlockSize, keysize);
|