/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | verify_mgr.c | 341 CK_ULONG * out_len) 353 if (! signature || ! out_len) { 363 ctx, signature, sig_len, out_data, out_len)); 335 verify_mgr_verify_recover(SESSION * sess, CK_BBOOL length_only, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * signature, CK_ULONG sig_len, CK_BYTE * out_data, CK_ULONG * out_len) argument
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | pkcs11_uri.c | 63 read_id(char *str, unsigned char *output, int out_len) argument 69 (void) memset(output, 0, out_len); 87 if ((n + 1) > out_len)
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softBlowfishCrypt.c | 152 CK_ULONG out_len; local 168 out_len = ulDataLen; 174 *pulEncryptedLen = out_len; 179 if (*pulEncryptedLen < out_len) { 180 *pulEncryptedLen = out_len; 225 out_len = total_len - remain; 232 *pulEncryptedLen = out_len; 237 if (*pulEncryptedLen < out_len) { 238 *pulEncryptedLen = out_len; 249 pData, out_len 328 CK_ULONG out_len; local [all...] |
H A D | softDecryptUtil.c | 527 CK_ULONG out_len; local 564 out_len = DES_BLOCK_LEN; 571 *pulLastPartLen = out_len; 599 DES_BLOCK_LEN, &out_len); 603 *pulLastPartLen = out_len; 673 out_len = AES_BLOCK_LEN; 680 *pulLastPartLen = out_len; 708 AES_BLOCK_LEN, &out_len); 712 *pulLastPartLen = out_len;
|
H A D | softAESCrypt.c | 167 CK_ULONG out_len; local 202 out_len = AES_BLOCK_LEN * 209 out_len = ulDataLen; 217 *pulEncryptedLen = out_len; 222 if (*pulEncryptedLen < out_len) { 223 *pulEncryptedLen = out_len; 229 out_len -= AES_BLOCK_LEN; 275 out_len = total_len - remain; 282 *pulEncryptedLen = out_len; 287 if (*pulEncryptedLen < out_len) { 505 CK_ULONG out_len; local [all...] |
H A D | softDESCrypt.c | 188 CK_ULONG out_len; local 223 out_len = DES_BLOCK_LEN * 230 out_len = ulDataLen; 238 *pulEncryptedLen = out_len; 243 if (*pulEncryptedLen < out_len) { 244 *pulEncryptedLen = out_len; 250 out_len -= DES_BLOCK_LEN; 295 out_len = total_len - remain; 302 *pulEncryptedLen = out_len; 307 if (*pulEncryptedLen < out_len) { 504 CK_ULONG out_len; local [all...] |
H A D | softEncryptUtil.c | 545 CK_ULONG out_len; local 573 out_len = 2 * DES_BLOCK_LEN; 575 out_len = DES_BLOCK_LEN; 582 *pulLastEncryptedPartLen = out_len; 600 out.cd_length = out_len; 602 out.cd_raw.iov_len = out_len; 607 (char *)pLastEncryptedPart, out_len, &out); 610 *pulLastEncryptedPartLen = out_len; 668 out_len = 2 * AES_BLOCK_LEN; 670 out_len [all...] |
H A D | softKeystore.c | 2261 CK_BYTE_PTR in, CK_ULONG in_len, CK_BYTE_PTR out, CK_ULONG_PTR out_len) 2330 in_len, out, out_len, B_FALSE); 2333 in_len, out, out_len, B_FALSE); 2341 tmplen = *out_len; 2346 tmplen1 = *out_len - tmplen; 2349 *out_len = tmplen + tmplen1; 2355 tmplen1 = *out_len - tmplen; 2358 *out_len = tmplen + tmplen1; 2374 CK_BYTE_PTR in, CK_ULONG in_len, CK_BYTE_PTR out, CK_ULONG_PTR out_len) 2390 rv = soft_sign(&token_session, in, in_len, out, out_len); 2260 soft_keystore_crypt(soft_object_t *key_p, uchar_t *ivec, boolean_t encrypt, CK_BYTE_PTR in, CK_ULONG in_len, CK_BYTE_PTR out, CK_ULONG_PTR out_len) argument 2373 soft_keystore_hmac(soft_object_t *key_p, boolean_t sign, CK_BYTE_PTR in, CK_ULONG in_len, CK_BYTE_PTR out, CK_ULONG_PTR out_len) argument [all...] |
/illumos-gate/usr/src/common/iscsi/ |
H A D | base64.c | 116 uint8_t *binary, int binary_buf_len, int *out_len) 132 *out_len = 0; 151 if (*out_len + octets > binary_buf_len) 154 (void) memcpy(binary + *out_len, tmp_out, octets); 155 *out_len += octets; 164 if (*out_len + octets > binary_buf_len) 167 (void) memcpy(binary + *out_len, tmp_out, octets); 168 *out_len += octets; 115 iscsi_base64_str_to_binary(char *hstr, int hstr_len, uint8_t *binary, int binary_buf_len, int *out_len) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_comp.c | 184 * out_len - Length in bytes of output response buffer. 195 int in_len, int out_len) 422 * out_len - Length in bytes of output response buffer. 433 int in_len, int out_len) 494 * out_len - Length in bytes of output response buffer. 505 int in_len, int out_len) 586 * out_len - Length in bytes of output response buffer. 597 int in_len, int out_len) 649 * out_len - Length in bytes of output response buffer. 662 int in_len, int out_len) 194 sol_uverbs_create_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 432 sol_uverbs_destroy_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 504 sol_uverbs_resize_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 596 sol_uverbs_req_notify_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 661 sol_uverbs_poll_cq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument [all...] |
H A D | sol_uverbs_qp.c | 346 * out_len - Length in bytes of output response buffer. 357 int in_len, int out_len) 810 * out_len - Length in bytes of output response buffer. 821 int in_len, int out_len) 1326 * out_len - Length in bytes of output response buffer. 1337 int in_len, int out_len) 1727 * out_len - Length in bytes of output response buffer. 1738 int in_len, int out_len) 1826 * out_len - Length in bytes of output response buffer. 1837 int in_len, int out_len) 356 sol_uverbs_create_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 820 sol_uverbs_destroy_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1336 sol_uverbs_modify_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1737 sol_uverbs_query_qp(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1836 sol_uverbs_create_srq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2018 sol_uverbs_modify_srq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2089 sol_uverbs_query_srq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2203 sol_uverbs_destroy_srq(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2270 sol_uverbs_attach_mcast(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2371 sol_uverbs_detach_mcast(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument [all...] |
H A D | sol_uverbs.c | 145 int in_len, int out_len) = { 1301 * out_len - Length in bytes of output response buffer. 1315 int out_len) 1340 udata.outlen = out_len - sizeof (resp); 1440 * out_len - Length in bytes of output response buffer. 1451 int out_len) 1591 * out_len - Length in bytes of output response buffer. 1602 int out_len) 1641 * out_len - Length in bytes of output response buffer. 1652 int out_len) 1314 sol_uverbs_get_context(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1450 sol_uverbs_alloc_pd(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1601 sol_uverbs_dealloc_pd(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1651 sol_uverbs_query_device(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1770 sol_uverbs_query_port(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1867 sol_uverbs_query_gid(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 1971 sol_uverbs_query_pkey(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2058 sol_uverbs_reg_mr(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2218 sol_uverbs_dereg_mr(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2295 sol_uverbs_create_ah(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2320 sol_uverbs_destroy_ah(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2344 sol_uverbs_create_comp_channel(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument 2460 sol_uverbs_dummy_command(uverbs_uctxt_uobj_t *uctxt, char *buf, int in_len, int out_len) argument [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | hmac_link.c | 390 * out_len: size of output buffer 396 const int out_len) 403 out_len <= in_key->dk_key_size || out_str == NULL) 395 dst_hmac_md5_to_dns_key(const DST_KEY *in_key, u_char *out_str, const int out_len) argument
|
H A D | dst_api.c | 695 * out_len Size of the output array. 703 const int out_len) 716 memset(out_storage, 0, out_len); 734 out_len - loc); 702 dst_key_to_dnskey(const DST_KEY *key, u_char *out_storage, const int out_len) argument
|
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/ |
H A D | labelit.c | 469 convert_string(int8_t *value, int8_t *out_buf, int32_t out_len, argument 474 out_length = ud_convert2unicode(value, out_buf, out_len); 484 ud_convert2unicode(int8_t *mb, int8_t *comp, int32_t out_len) argument 504 for (i = 0; i < len && i < out_len; i++) {
|
/illumos-gate/usr/src/cmd/sunpc/other/ |
H A D | dos2unix.c | 109 int num_read, i, j, out_len, translate_mode, same_name; /* char count for fread() */ local 393 out_len = 0; 403 out_len++; 420 out_len++; 423 out_len++; 438 out_len++; 443 if (out_len > num_read) 444 out_len = num_read; 445 if (tmp_buff[out_len-2] == DOS_EOF) 446 out_len [all...] |
H A D | unix2dos.c | 111 int num_read, numchar, i, j, out_len, translate_mode; local 402 out_len = 0; 411 out_len++; 413 out_len++; 425 out_len++; 429 out_len++; 432 out_len++; 442 out_len++; 445 out_len++; 450 if (out_len [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | blowfish.c | 424 size_t saved_length, out_len; local 432 out_len = 434 out_len += plaintext->cd_length; 435 out_len &= ~(BLOWFISH_BLOCK_LEN - 1); 438 if (ciphertext->cd_length < out_len) { 439 ciphertext->cd_length = out_len; 487 size_t saved_length, out_len; local 495 out_len = 497 out_len += ciphertext->cd_length; 498 out_len [all...] |
H A D | aes.c | 639 size_t saved_length, out_len; local 649 out_len = aes_ctx->ac_remainder_len; 650 out_len += plaintext->cd_length; 651 out_len &= ~(AES_BLOCK_LEN - 1); 654 if (ciphertext->cd_length < out_len) { 655 ciphertext->cd_length = out_len; 714 size_t saved_length, out_len; local 729 out_len = aes_ctx->ac_remainder_len; 730 out_len += ciphertext->cd_length; 731 out_len [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 454 unsigned int len, out_len; /* length */ local 466 out_len = size; 467 if (out_len != size) 473 out->length = out_len;
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11keys.c | 558 CK_ULONG out_len = 0, in_len = 0, total_encrypted = 0; local 603 out_len = ckTemplate[0].ulValueLen; 605 if (out_len > ciphertext->Length) { 617 block_size = out_len - 11; 635 (CK_BYTE_PTR)out_data, &out_len); 646 out_data += out_len; 647 total_encrypted += out_len; 665 (CK_BYTE_PTR)out_data, &out_len); 676 out_data += out_len; 677 total_encrypted += out_len; [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 506 size_t in_len, size_t out_len) 656 remaining = out_len; 505 filter(const char *input, uint64_t sequence, char *output, size_t in_len, size_t out_len) argument
|
/illumos-gate/usr/src/uts/common/des/ |
H A D | des_crypt.c | 617 size_t saved_length, out_len; local 625 out_len = ((des_ctx_t *)ctx->cc_provider_private)->dc_remainder_len; 626 out_len += plaintext->cd_length; 627 out_len &= ~(DES_BLOCK_LEN - 1); 630 if (ciphertext->cd_length < out_len) { 631 ciphertext->cd_length = out_len; 679 size_t saved_length, out_len; local 687 out_len = ((des_ctx_t *)ctx->cc_provider_private)->dc_remainder_len; 688 out_len += ciphertext->cd_length; 689 out_len [all...] |
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd_usb.c | 712 * out_len response buffer size (bytes) 716 const void *in_data, size_t in_len, void *out_data, size_t out_len) 724 uc->io_read.buf_len = (int)out_len; 715 zyd_usb_ioread_req(struct zyd_usb *uc, const void *in_data, size_t in_len, void *out_data, size_t out_len) argument
|
/illumos-gate/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 771 size_t out_len; local 845 out_len = write(activeDir->dl_fd, input, in_len); 848 binfile_cursize += out_len; 850 if (out_len == in_len) { 854 ++write_count, sequence, out_len)); 863 "l=%u\n", sequence, out_len));
|