/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/ |
H A D | strndup.h | 41 size_t outlen; local 44 outlen = strlen(str); 45 if (outlen > len) 46 outlen = len; 47 outstr = malloc(outlen + 1); 49 memcpy(outstr, str, outlen); 50 outstr[outlen] = '\0';
|
/freebsd-9.3-release/crypto/openssl/crypto/ecdh/ |
H A D | ech_key.c | 75 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument 78 size_t *outlen)) 83 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
|
H A D | ech_ossl.c | 84 void *out, size_t *outlen)); 108 static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument 111 void *out, size_t *outlen)) 122 if (outlen > INT_MAX) { 182 if (KDF(buf, buflen, out, &outlen) == NULL) { 186 ret = outlen; 189 if (outlen > buflen) 190 outlen = buflen; 191 memcpy(out, buf, outlen); 192 ret = outlen; [all...] |
H A D | ech_locl.h | 67 int (*compute_key) (void *key, size_t outlen, const EC_POINT *pub_key, 70 size_t *outlen));
|
H A D | ecdh.h | 94 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, 96 void *out, size_t *outlen));
|
/freebsd-9.3-release/contrib/smbfs/lib/smb/ |
H A D | nls.c | 131 size_t inlen, outlen; local 138 inlen = outlen = strlen(src); 139 my_iconv(nls_toloc, NULL, NULL, &p, &outlen); 140 while (my_iconv(nls_toloc, &src, &inlen, &p, &outlen) == -1) { 143 outlen--; 153 size_t inlen, outlen; local 160 inlen = outlen = strlen(src); 161 my_iconv(nls_toext, NULL, NULL, &p, &outlen); 162 while (my_iconv(nls_toext, &src, &inlen, &p, &outlen) == -1) { 165 outlen 176 size_t inlen, outlen; local 201 size_t inlen, outlen; local [all...] |
/freebsd-9.3-release/contrib/wpa/src/tls/ |
H A D | pkcs1.h | 20 u8 *out, size_t *outlen); 23 u8 *out, size_t *outlen);
|
H A D | pkcs1.c | 24 u8 *out, size_t *outlen) 39 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { 41 "lengths (modlen=%lu outlen=%lu inlen=%lu)", 43 (unsigned long) *outlen, 87 u8 *out, size_t *outlen) 94 out, outlen) < 0) 97 return crypto_rsa_exptmod(out, modlen, out, outlen, key, use_private); 103 u8 *out, size_t *outlen) 108 res = crypto_rsa_exptmod(in, inlen, out, outlen, key, 1); 112 if (*outlen < 22 pkcs1_generate_encryption_block(u8 block_type, size_t modlen, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 85 pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, int use_private, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 101 pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument [all...] |
H A D | rsa.h | 25 int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen,
|
/freebsd-9.3-release/crypto/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 79 int outlen, i; local 97 outlen = i; 105 outlen += i; 107 *datalen = outlen; 128 int outlen; local 131 &out, &outlen, 0)) { 145 fwrite(p, 1, outlen, op); 149 ret = ASN1_item_d2i(NULL, &p, outlen, it); 151 OPENSSL_cleanse(out, outlen);
|
/freebsd-9.3-release/sys/fs/cd9660/ |
H A D | iso_rrip.h | 66 u_short *outlen; /* length of above */ member in struct:__anon9246 76 char *outbuf, u_short *outlen, 79 char *outbuf, u_short *outlen,
|
H A D | cd9660_rrip.c | 125 len = *ana->outlen; 200 ana->outbuf -= *ana->outlen; 201 *ana->outlen = 0; 211 *ana->outlen = len; 271 if ((*ana->outlen += wlen) > ana->maxlen) { 274 ana->outbuf -= *ana->outlen - wlen; 275 *ana->outlen = 0; 295 ana->outbuf,ana->outlen, 302 *ana->outlen = 2; 305 /* outlen i [all...] |
/freebsd-9.3-release/contrib/wpa/src/crypto/ |
H A D | crypto_internal-rsa.c | 72 u8 *out, size_t *outlen) 75 0, in, inlen, out, outlen); 81 u8 *out, size_t *outlen) 84 in, inlen, out, outlen); 90 u8 *out, size_t *outlen) 93 1, in, inlen, out, outlen); 70 crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 79 crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 88 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
|
H A D | sha1.h | 30 u8 *out, size_t outlen);
|
H A D | sha1-tlsprf.c | 31 * @outlen: Number of bytes of key to generate 38 const u8 *seed, size_t seed_len, u8 *out, size_t outlen) 87 for (i = 0; i < outlen; i++) { 37 tls_prf(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
|
/freebsd-9.3-release/crypto/openssl/crypto/asn1/ |
H A D | a_strex.c | 197 int i, outlen, len; local 202 outlen = 0; 252 outlen += len; 260 outlen += len; 263 return outlen; 303 int outlen, der_len; local 309 outlen = do_hex_dump(io_ch, arg, str->data, str->length); 310 if (outlen < 0) 312 return outlen + 1; 322 outlen 355 int outlen, len; local 455 int outlen, len; local [all...] |
H A D | a_mbstr.c | 99 int outform, outlen = 0; local 220 outlen = nchar; 225 outlen = nchar << 1; 230 outlen = nchar << 2; 235 outlen = 0; 236 traverse_string(in, len, inform, out_utf8, &outlen); 240 if (!(p = OPENSSL_malloc(outlen + 1))) { 246 dest->length = outlen; 248 p[outlen] = 0; 310 int *outlen; local [all...] |
/freebsd-9.3-release/crypto/openssl/fips/rand/ |
H A D | fips_rand.h | 63 int FIPS_rand_bytes(unsigned char *out, FIPS_RAND_SIZE_T outlen);
|
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_deflate.c | 447 int outlen, inlen; local 473 outlen = DEFLATE_BUF_SIZE; 485 priv->cx.avail_out = outlen - 2 - DEFLATE_HDRLEN; 500 outlen -= priv->cx.avail_out; 503 if (outlen > inlen) { 514 m_copyback(m, 0, outlen, (caddr_t)priv->outbuf); 515 if (m->m_pkthdr.len < outlen) { 519 } else if (outlen < m->m_pkthdr.len) 520 m_adj(m, outlen - m->m_pkthdr.len); 523 priv->stats.OutOctets+=outlen; 540 int outlen, inlen; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_oaep.c | 209 long i, outlen = 0; local 217 for (i = 0; outlen < len; i++) { 225 if (outlen + mdlen <= len) { 226 EVP_DigestFinal_ex(&c, mask + outlen, NULL); 227 outlen += mdlen; 230 memcpy(mask + outlen, md, len - outlen); 231 outlen = len;
|
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | test_addr.c | 76 size_t truncate_len, size_t outlen) 83 buf = ecalloc(1, outlen + 1); 100 if (outlen != len) 103 krb5_print_address(&addresses.val[0], buf, outlen + 1, &len); 109 if (len != outlen) 75 truncated_addr(krb5_context context, const char *addr, size_t truncate_len, size_t outlen) argument
|
/freebsd-9.3-release/usr.sbin/pw/ |
H A D | edgroup.c | 86 int outlen = PWBUFSZ; local 89 char *outl = malloc(outlen); 111 if (extendline(&outl, &outlen, l) == -1) { 193 fmtgrentry(&outl, &outlen, &grp, PWF_GROUP); 205 while (fgets(outl, outlen, outfp) != NULL)
|
/freebsd-9.3-release/bin/sh/ |
H A D | trap.c | 127 int n, outlen; local 129 outlen = 0; 133 outlen += strlen(sys_signame[n]); 136 outlen += 3; /* good enough */ 138 ++outlen; 139 if (outlen > 71 || n == sys_nsig - 1) { 141 outlen = 0;
|
/freebsd-9.3-release/sys/kgssapi/krb5/ |
H A D | kcrypto.h | 68 struct mbuf *inout, size_t skip, size_t inlen, size_t outlen); 135 struct mbuf *inout, size_t skip, size_t inlen, size_t outlen) 138 ks->ks_class->ec_checksum(ks, usage, inout, skip, inlen, outlen); 134 krb5_checksum(const struct krb5_key_state *ks, int usage, struct mbuf *inout, size_t skip, size_t inlen, size_t outlen) argument
|
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | sasl.c | 223 ** outlen -- maximum length of output string 243 iptostring(addr, addrlen, out, outlen) 247 unsigned outlen; 284 if (outlen < strlen(hbuf) + strlen(pbuf) + 2) 289 sm_snprintf(out, outlen, "%s;%s", hbuf, pbuf);
|