/libcore/ojluni/src/main/java/java/security/interfaces/ |
DSAKeyPairGenerator.java | 99 * @param modlen the modulus length in bits. Valid values are any 108 * @exception InvalidParameterException if <code>modlen</code> is not 113 public void initialize(int modlen, boolean genParams, SecureRandom random)
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
DSAKeyPairGeneratorImpl.java | 59 public void initialize(int modlen, boolean genParams, SecureRandom random) 63 if (len == modlen) { 64 lengthModulus = modlen; 69 throw new InvalidParameterException("Incorrect modlen"); 73 if (modlen < 512 || modlen > 1024) { 74 throw new InvalidParameterException("Incorrect modlen");
|
/external/wpa_supplicant_8/src/tls/ |
pkcs1.c | 18 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, 32 * k = length of modulus in octets (modlen) 35 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { 37 "lengths (modlen=%lu outlen=%lu inlen=%lu)", 38 __func__, (unsigned long) modlen, 47 ps_len = modlen - inlen - 3; 85 size_t modlen; local 87 modlen = crypto_rsa_get_modulus_len(key) [all...] |
rsa.c | 270 size_t modlen; local 329 modlen = crypto_rsa_get_modulus_len(key); 330 if (modlen > *outlen) { 331 *outlen = modlen; 335 if (bignum_get_unsigned_bin_len(tmp) > modlen) 338 *outlen = modlen; 339 os_memset(out, 0, modlen); 342 (modlen - bignum_get_unsigned_bin_len(tmp)), NULL) < 0)
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_libtomcrypt.c | 486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, 500 * k = length of modulus in octets (modlen) 503 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { 505 "lengths (modlen=%lu outlen=%lu inlen=%lu)", 506 __func__, (unsigned long) modlen, 515 ps_len = modlen - inlen - 3; 553 unsigned long len, modlen; local 556 modlen = mp_unsigned_bin_size(key->N) [all...] |
/external/libvncserver/libvncserver/ |
websockets.c | 535 int retlen = 0, n, i, avail, modlen, needlen; local 583 modlen = len + (len+2)/3; 584 needlen = modlen;
|
/toolchain/binutils/binutils-2.25/bfd/ |
vms-lib.c | 1421 int modlen = strlen (modname); local [all...] |