Searched refs:modlen (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.0-release/contrib/wpa/src/tls/ |
H A D | pkcs1.c | 16 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 30 * k = length of modulus in octets (modlen) 33 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { 35 "lengths (modlen=%lu outlen=%lu inlen=%lu)", 36 __func__, (unsigned long) modlen, 45 ps_len = modlen - inlen - 3; 83 size_t modlen; local 85 modlen [all...] |
H A D | rsa.c | 247 size_t modlen; local 306 modlen = crypto_rsa_get_modulus_len(key); 307 if (modlen > *outlen) { 308 *outlen = modlen; 312 if (bignum_get_unsigned_bin_len(tmp) > modlen) 315 *outlen = modlen; 316 os_memset(out, 0, modlen); 319 (modlen - bignum_get_unsigned_bin_len(tmp)), NULL) < 0)
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | ssh-rsa.c | 115 u_int len, dlen, modlen; local 147 modlen = RSA_size(key->rsa); 148 if (len > modlen) { 149 error("ssh_rsa_verify: len %u > modlen %u", len, modlen); 152 } else if (len < modlen) { 153 u_int diff = modlen - len; 154 debug("ssh_rsa_verify: add padding: modlen %u > len %u", 155 modlen, len); 156 sigblob = xrealloc(sigblob, 1, modlen); [all...] |
/freebsd-10.0-release/contrib/wpa/src/crypto/ |
H A D | crypto_libtomcrypt.c | 486 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 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 [all...] |
/freebsd-10.0-release/sys/dev/digi/ |
H A D | digi.c | 776 int modlen, res; local 783 modlen = strlen(sc->module); 784 modfile = malloc(modlen + 6, M_TEMP, M_WAITOK); 785 snprintf(modfile, modlen + 6, "digi_%s", sc->module); 792 sym = malloc(modlen + 10, M_TEMP, M_WAITOK); 793 snprintf(sym, modlen + 10, "digi_mod_%s", sc->module);
|
Completed in 193 milliseconds