Searched refs:modlen (Results 1 - 5 of 5) sorted by relevance
/freebsd-9.3-release/contrib/wpa/src/tls/ |
H A D | pkcs1.c | 22 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 36 * k = length of modulus in octets (modlen) 39 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { 41 "lengths (modlen=%lu outlen=%lu inlen=%lu)", 42 __func__, (unsigned long) modlen, 51 ps_len = modlen - inlen - 3; 89 size_t modlen; local 91 modlen [all...] |
H A D | rsa.c | 253 size_t modlen; local 312 modlen = crypto_rsa_get_modulus_len(key); 313 if (modlen > *outlen) { 314 *outlen = modlen; 318 if (bignum_get_unsigned_bin_len(tmp) > modlen) 321 *outlen = modlen; 322 os_memset(out, 0, modlen); 325 (modlen - bignum_get_unsigned_bin_len(tmp)), NULL) < 0)
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | ssh-rsa.c | 119 u_int len, dlen, modlen; local 153 modlen = RSA_size(key->rsa); 154 if (len > modlen) { 155 error("%s: len %u > modlen %u", __func__, len, modlen); 158 } else if (len < modlen) { 159 u_int diff = modlen - len; 160 debug("%s: add padding: modlen %u > len %u", __func__, 161 modlen, len); 162 sigblob = xrealloc(sigblob, 1, modlen); [all...] |
/freebsd-9.3-release/contrib/wpa/src/crypto/ |
H A D | crypto_libtomcrypt.c | 492 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen, argument 506 * k = length of modulus in octets (modlen) 509 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { 511 "lengths (modlen=%lu outlen=%lu inlen=%lu)", 512 __func__, (unsigned long) modlen, 521 ps_len = modlen - inlen - 3; 559 unsigned long len, modlen; local 562 modlen [all...] |
/freebsd-9.3-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 177 milliseconds