/freebsd-10.0-release/contrib/subversion/subversion/svnserve/ |
H A D | cyrus_auth.c | 59 unsigned inlen, /* its length */ 68 *out_len = inlen; 72 pos = memchr(in, '@', inlen); 77 if (strncmp(pos+1, user_realm, inlen-(pos-in+1)) != 0) 88 strncpy(out, in, inlen); 93 out[inlen] = '@'; 94 strncpy(&out[inlen+1], user_realm, realm_len); 56 canonicalize_username(sasl_conn_t *conn, void *context, const char *in, unsigned inlen, unsigned flags, const char *user_realm, char *out, unsigned out_max, unsigned *out_len) argument
|
/freebsd-10.0-release/sys/libkern/ |
H A D | iconv_xlat16.c | 119 size_t in, on, ir, or, inlen; local 133 inlen = 0; 147 inlen = 2; 162 if (inlen == 0) { 171 inlen = 1; 200 if (inlen == 1 && nullin) { 266 if (inlen == 2) { 269 * byte char while inlen == 2
|
H A D | iconv.c | 509 size_t inlen, outlen; local 516 inlen = outlen = strlen(src); 520 error = iconv_conv(handle, &src, &inlen, &p, &outlen); 532 size_t inlen, outlen; local 541 inlen = outlen = size; 545 error = iconv_conv(handle, &s, &inlen, &d, &outlen);
|
/freebsd-10.0-release/contrib/apr-util/crypto/ |
H A D | apr_crypto_nss.c | 610 * @param inlen Length of the buffer to read. 616 apr_size_t *outlen, const unsigned char *in, apr_size_t inlen, 624 *outlen = inlen + block->blockSize; 628 buffer = apr_palloc(block->pool, inlen + block->blockSize); 632 apr_crypto_clear(block->pool, buffer, inlen + block->blockSize); 636 s = PK11_CipherOp(block->ctx, *out, &outl, inlen, (unsigned char*) in, 637 inlen); 774 * @param inlen Length of the buffer to read. 780 apr_size_t *outlen, const unsigned char *in, apr_size_t inlen, 788 *outlen = inlen 615 crypto_block_encrypt(unsigned char **out, apr_size_t *outlen, const unsigned char *in, apr_size_t inlen, apr_crypto_block_t *block) argument 779 crypto_block_decrypt(unsigned char **out, apr_size_t *outlen, const unsigned char *in, apr_size_t inlen, apr_crypto_block_t *block) argument [all...] |
H A D | apr_crypto.c | 389 * @param inlen Length of the buffer to read. 395 apr_size_t *outlen, const unsigned char *in, apr_size_t inlen, 398 return ctx->provider->block_encrypt(out, outlen, in, inlen, ctx); 458 * @param inlen Length of the buffer to read. 464 apr_size_t *outlen, const unsigned char *in, apr_size_t inlen, 467 return ctx->provider->block_decrypt(out, outlen, in, inlen, ctx);
|
/freebsd-10.0-release/contrib/wpa/src/crypto/ |
H A D | crypto.h | 310 * @inlen: Length of plaintext buffer in bytes 320 struct crypto_public_key *key, const u8 *in, size_t inlen, 327 * @inlen: Length of encrypted buffer in bytes 337 struct crypto_private_key *key, const u8 *in, size_t inlen, 344 * @inlen: Length of plaintext buffer in bytes 354 const u8 *in, size_t inlen,
|
H A D | crypto_libtomcrypt.c | 487 const u8 *in, size_t inlen, 503 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { 505 "lengths (modlen=%lu outlen=%lu inlen=%lu)", 508 (unsigned long) inlen); 515 ps_len = modlen - inlen - 3; 543 os_memcpy(pos, in, inlen); /* D */ 550 const u8 *in, size_t inlen, 558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, 576 const u8 *in, size_t inlen, 579 return crypto_rsa_encrypt_pkcs1(2, &key->rsa, PK_PUBLIC, in, inlen, 486 pkcs1_generate_encryption_block(u8 block_type, size_t modlen, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 549 crypto_rsa_encrypt_pkcs1(int block_type, rsa_key *key, int key_type, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 575 crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 584 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument [all...] |
H A D | crypto_cryptoapi.c | 702 const u8 *in, size_t inlen, 709 if (*outlen < inlen) 715 os_memcpy(tmp, in, inlen); 716 clen = inlen; 737 const u8 *in, size_t inlen, 701 crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 736 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
|
/freebsd-10.0-release/lib/libipx/ |
H A D | ipx_addr.c | 202 cvtbase(oldbase,newbase,input,inlen,result,reslen) 206 int inlen; 217 while (d < inlen) {
|
/freebsd-10.0-release/sys/kgssapi/krb5/ |
H A D | kcrypto_arcfour.c | 163 struct mbuf *inout, size_t skip, size_t inlen, size_t outlen) 179 m_apply(inout, skip, inlen, MD5Update_int, &md5); 183 m_copyback(inout, skip + inlen, outlen, sgn_cksum); 162 arcfour_checksum(const struct krb5_key_state *ks, int usage, struct mbuf *inout, size_t skip, size_t inlen, size_t outlen) argument
|
H A D | kcrypto_aes.c | 312 struct mbuf *inout, size_t skip, size_t inlen, size_t outlen) 323 crd->crd_len = inlen; 324 crd->crd_inject = skip + inlen; 330 crp->crp_ilen = inlen; 311 aes_checksum(const struct krb5_key_state *ks, int usage, struct mbuf *inout, size_t skip, size_t inlen, size_t outlen) argument
|
H A D | kcrypto_des.c | 228 struct mbuf *inout, size_t skip, size_t inlen, size_t outlen) 239 m_apply(inout, skip, inlen, MD5Update_int, &md5); 243 m_copyback(inout, skip + inlen, outlen, hash + 8); 227 des1_checksum(const struct krb5_key_state *ks, int usage, struct mbuf *inout, size_t skip, size_t inlen, size_t outlen) argument
|
/freebsd-10.0-release/contrib/apr-util/include/ |
H A D | apr_crypto.h | 296 * @param inlen Length of the buffer to read. 302 apr_size_t *outlen, const unsigned char *in, apr_size_t inlen, 356 * @param inlen Length of the buffer to read. 362 apr_size_t *outlen, const unsigned char *in, apr_size_t inlen,
|
/freebsd-10.0-release/crypto/openssl/crypto/ecdh/ |
H A D | ech_ossl.c | 84 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)); 110 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) 108 ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh, void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) argument
|
/freebsd-10.0-release/crypto/openssl/crypto/evp/ |
H A D | pmeth_fn.c | 212 const unsigned char *in, size_t inlen) 226 return ctx->pmeth->encrypt(ctx, out, outlen, in, inlen); 249 const unsigned char *in, size_t inlen) 263 return ctx->pmeth->decrypt(ctx, out, outlen, in, inlen); 210 EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) argument 247 EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) argument
|
/freebsd-10.0-release/sys/netsmb/ |
H A D | smb_subr.c | 328 size_t inlen = *srclen, outlen = *dstlen; local 330 error = iconv_conv((struct iconv_drv*)mbp->mb_udata, &src, &inlen, 332 if (inlen != *srclen || outlen != *dstlen) { 333 *srclen -= inlen;
|
/freebsd-10.0-release/crypto/openssl/apps/ |
H A D | pkeyutl.c | 84 unsigned char *in, size_t inlen); 543 unsigned char *in, size_t inlen) 549 rv = EVP_PKEY_verify_recover(ctx, out, poutlen, in, inlen); 553 rv = EVP_PKEY_sign(ctx, out, poutlen, in, inlen); 557 rv = EVP_PKEY_encrypt(ctx, out, poutlen, in, inlen); 561 rv = EVP_PKEY_decrypt(ctx, out, poutlen, in, inlen); 541 do_keyop(EVP_PKEY_CTX *ctx, int pkey_op, unsigned char *out, size_t *poutlen, unsigned char *in, size_t inlen) argument
|
/freebsd-10.0-release/crypto/openssl/crypto/pem/ |
H A D | pvkfmt.c | 739 int enctmplen, inlen; local 741 inlen=cb(psbuf,PEM_BUFSIZE,0,u); 743 inlen=PEM_def_callback(psbuf,PEM_BUFSIZE,0,u); 744 if (inlen <= 0) 756 (unsigned char *)psbuf, inlen)) 767 inlen = keylen - 8; 771 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen)) 784 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen)) 903 int enctmplen, inlen; local 905 inlen [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/asn1/ |
H A D | a_strnid.c | 124 int inlen, int inform, int nid) 135 ret = ASN1_mbstring_ncopy(out, in, inlen, inform, mask, 137 } else ret = ASN1_mbstring_copy(out, in, inlen, inform, DIRSTRING_TYPE & global_mask); 123 ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid) argument
|
/freebsd-10.0-release/sys/netgraph/ |
H A D | ng_mppc.c | 488 int outlen, inlen, ina; local 494 inlen = m->m_pkthdr.len; 499 inbuf = malloc(inlen, M_NETGRAPH_MPPC, M_NOWAIT); 502 m_copydata(m, 0, inlen, (caddr_t)inbuf); 506 outlen = MPPC_MAX_BLOWUP(inlen); 520 sourceCnt = inlen; 738 int inlen, outlen, ina; local 744 inlen = m->m_pkthdr.len; 749 inbuf = malloc(inlen, M_NETGRAPH_MPPC, M_NOWAIT); 754 m_copydata(m, 0, inlen, (caddr_ [all...] |
/freebsd-10.0-release/contrib/gdb/gdb/ |
H A D | wince-stub.c | 168 getmemory (LPCWSTR huh, int s, gdb_wince_id what, gdb_wince_len *inlen) argument 173 if (!inlen) 174 inlen = &dummy; 176 *inlen = getlen (huh, s, what); 178 p = mempool ((unsigned int) *inlen); /* FIXME: check for error */ 180 if ((gdb_wince_len) sockread (huh, s, p, *inlen) != *inlen)
|
/freebsd-10.0-release/contrib/wpa/src/tls/ |
H A D | rsa.c | 235 * @inlen: Input data length 242 int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen, argument 256 if (bignum_set_unsigned_bin(tmp, in, inlen) < 0)
|
/freebsd-10.0-release/lib/libc/rpc/ |
H A D | clnt_bcast.c | 252 int inlen; local 544 inlen = _recvfrom(fdlist[i].fd, inbuf, fdlist[i].dsize, 547 if (inlen < 0) { 555 if (inlen < sizeof (u_int32_t)) 583 xdrmem_create(xdrs, inbuf, (u_int)inlen, XDR_DECODE);
|
/freebsd-10.0-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_pmeth.c | 418 const unsigned char *in, size_t inlen) 422 ret = RSA_public_encrypt(inlen, in, out, ctx->pkey->pkey.rsa, 432 const unsigned char *in, size_t inlen) 436 ret = RSA_private_decrypt(inlen, in, out, ctx->pkey->pkey.rsa, 416 pkey_rsa_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) argument 430 pkey_rsa_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) argument
|
/freebsd-10.0-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_utl.c | 77 static int ipv6_hex(unsigned char *out, const char *in, int inlen); 805 static int ipv6_hex(unsigned char *out, const char *in, int inlen) argument 809 if (inlen > 4) 811 while(inlen--)
|