/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softBlowfishCrypt.c | 153 CK_ULONG out_len; in soft_blowfish_encrypt_common() local 169 out_len = ulDataLen; in soft_blowfish_encrypt_common() 175 *pulEncryptedLen = out_len; in soft_blowfish_encrypt_common() 269 out.cd_length = out_len; in soft_blowfish_encrypt_common() 279 *pulEncryptedLen = out_len; in soft_blowfish_encrypt_common() 325 CK_ULONG out_len; in soft_blowfish_decrypt_common() local 356 out_len = ulEncryptedLen; in soft_blowfish_decrypt_common() 396 *pulDataLen = out_len; in soft_blowfish_decrypt_common() 404 *pulDataLen = out_len; in soft_blowfish_decrypt_common() 432 out.cd_length = out_len; in soft_blowfish_decrypt_common() [all …]
|
H A D | softDESCrypt.c | 189 CK_ULONG out_len; in soft_des_encrypt_common() local 224 out_len = DES_BLOCK_LEN * in soft_des_encrypt_common() 231 out_len = ulDataLen; in soft_des_encrypt_common() 382 out.cd_length = out_len; in soft_des_encrypt_common() 417 out.cd_offset = out_len; in soft_des_encrypt_common() 500 CK_ULONG out_len; in soft_des_decrypt_common() local 616 *pulDataLen = out_len; in soft_des_decrypt_common() 624 *pulDataLen = out_len; in soft_des_decrypt_common() 683 *pulDataLen = out_len; in soft_des_decrypt_common() 698 out.cd_length = out_len; in soft_des_decrypt_common() [all …]
|
H A D | softAESCrypt.c | 814 size_t out_len; in soft_aes_encrypt_update() local 832 out_len = 0; in soft_aes_encrypt_update() 898 size_t out_len; in soft_aes_decrypt_update() local 904 out_len = 0; in soft_aes_decrypt_update() 1074 out_len = in_len; in soft_aes_decrypt_update() 1160 size_t out_len; in soft_aes_encrypt_final() local 1182 out_len = 0; in soft_aes_encrypt_final() 1206 out_len = 0; in soft_aes_encrypt_final() 1274 size_t out_len; in soft_aes_decrypt_final() local 1376 out_len = 0; in soft_aes_decrypt_final() [all …]
|
H A D | softKeystoreUtil.c | 2080 CK_ULONG out_len = 0, hmac_size; in soft_keystore_get_single_obj() local 2093 NULL, &out_len) != CKR_OK) { in soft_keystore_get_single_obj() 2109 freezero(decrypted_buf, out_len); in soft_keystore_get_single_obj() 2114 obj->size = out_len - MAXPATHLEN; in soft_keystore_get_single_obj() 2126 freezero(decrypted_buf, out_len); in soft_keystore_get_single_obj() 2132 freezero(decrypted_buf, out_len); in soft_keystore_get_single_obj() 2334 NULL, &out_len) != CKR_OK) { in soft_keystore_put_new_obj() 2376 != out_len) { in soft_keystore_put_new_obj() 2381 freezero(encrypted_buf, out_len); in soft_keystore_put_new_obj() 2627 != out_len) { in soft_keystore_modify_obj() [all …]
|
H A D | softEncryptUtil.c | 468 CK_ULONG out_len; in soft_encrypt_final() local 496 out_len = 2 * DES_BLOCK_LEN; in soft_encrypt_final() 498 out_len = DES_BLOCK_LEN; in soft_encrypt_final() 505 *pulLastEncryptedPartLen = out_len; in soft_encrypt_final() 523 out.cd_length = out_len; in soft_encrypt_final() 525 out.cd_raw.iov_len = out_len; in soft_encrypt_final() 530 (char *)pLastEncryptedPart, out_len, &out); in soft_encrypt_final() 533 *pulLastEncryptedPartLen = out_len; in soft_encrypt_final()
|
H A D | softDecryptUtil.c | 444 CK_ULONG out_len; in soft_decrypt_final() local 480 out_len = DES_BLOCK_LEN; in soft_decrypt_final() 487 *pulLastPartLen = out_len; in soft_decrypt_final() 515 DES_BLOCK_LEN, &out_len); in soft_decrypt_final() 519 *pulLastPartLen = out_len; in soft_decrypt_final()
|
H A D | softKeystore.h | 125 CK_ULONG_PTR out_len); 128 CK_BYTE_PTR in, CK_ULONG in_len, CK_BYTE_PTR out, CK_ULONG_PTR out_len);
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_qp.h | 54 int out_len); 57 int out_len); 60 int out_len); 63 int out_len); 66 int out_len); 69 int out_len); 72 int out_len); 75 int out_len); 78 int out_len); 81 int out_len);
|
H A D | sol_uverbs.h | 307 int out_len); 309 int out_len); 311 int out_len); 313 int out_len); 315 int out_len); 317 int out_len); 319 int out_len); 321 int out_len); 323 int out_len); 325 int out_len); [all …]
|
H A D | sol_uverbs_comp.h | 55 int out_len); 59 int out_len); 63 int out_len); 67 int out_len); 71 int out_len);
|
/illumos-gate/usr/src/cmd/sunpc/other/ |
H A D | dos2unix.c | 391 out_len = 0; in main() 401 out_len++; in main() 418 out_len++; in main() 421 out_len++; in main() 436 out_len++; in main() 441 if (out_len > num_read) in main() 442 out_len = num_read; in main() 444 out_len -= 2; in main() 446 out_len -= 1; in main() 448 if( out_len > 0 && in main() [all …]
|
H A D | unix2dos.c | 108 int num_read, numchar, i, j, out_len, translate_mode; in main() local 399 out_len = 0; in main() 408 out_len++; in main() 410 out_len++; in main() 422 out_len++; in main() 426 out_len++; in main() 429 out_len++; in main() 439 out_len++; in main() 442 out_len++; in main() 447 if (out_len && out_len != fwrite(&tmp_buff[0], 1, out_len, in main()
|
/illumos-gate/usr/src/common/iscsi/ |
H A D | base64.c | 116 uint8_t *binary, int binary_buf_len, int *out_len) in iscsi_base64_str_to_binary() argument 132 *out_len = 0; in iscsi_base64_str_to_binary() 151 if (*out_len + octets > binary_buf_len) in iscsi_base64_str_to_binary() 154 (void) memcpy(binary + *out_len, tmp_out, octets); in iscsi_base64_str_to_binary() 155 *out_len += octets; in iscsi_base64_str_to_binary() 164 if (*out_len + octets > binary_buf_len) in iscsi_base64_str_to_binary() 167 (void) memcpy(binary + *out_len, tmp_out, octets); in iscsi_base64_str_to_binary() 168 *out_len += octets; in iscsi_base64_str_to_binary()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | hkdf.c | 67 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() argument 76 uint_t N = (out_len + SHA512_DIGEST_LENGTH) / SHA512_DIGEST_LENGTH; in hkdf_sha512_expand() 140 (i != N) ? SHA512_DIGEST_LENGTH : (out_len - pos)); in hkdf_sha512_expand() 157 uint_t out_len) in hkdf_sha512() argument 168 out_len); in hkdf_sha512()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | blowfish.c | 424 size_t saved_length, out_len; in blowfish_encrypt_update() local 432 out_len = in blowfish_encrypt_update() 434 out_len += plaintext->cd_length; in blowfish_encrypt_update() 435 out_len &= ~(BLOWFISH_BLOCK_LEN - 1); in blowfish_encrypt_update() 439 ciphertext->cd_length = out_len; in blowfish_encrypt_update() 487 size_t saved_length, out_len; in blowfish_decrypt_update() local 495 out_len = in blowfish_decrypt_update() 497 out_len += ciphertext->cd_length; in blowfish_decrypt_update() 498 out_len &= ~(BLOWFISH_BLOCK_LEN - 1); in blowfish_decrypt_update() 501 if (plaintext->cd_length < out_len) { in blowfish_decrypt_update() [all …]
|
H A D | aes.c | 654 size_t saved_length, out_len; in aes_encrypt_update() local 670 out_len = plaintext->cd_length + aes_ctx->ac_remainder_len; in aes_encrypt_update() 672 out_len &= ~(AES_BLOCK_LEN - 1); in aes_encrypt_update() 679 ciphertext->cd_length < out_len) { in aes_encrypt_update() 680 ciphertext->cd_length = out_len; in aes_encrypt_update() 729 size_t saved_length, out_len; in aes_decrypt_update() local 750 out_len = aes_ctx->ac_remainder_len + ciphertext->cd_length; in aes_decrypt_update() 752 out_len = 0; in aes_decrypt_update() 754 out_len &= ~(AES_BLOCK_LEN - 1); in aes_decrypt_update() 758 if (plaintext->cd_length < out_len) { in aes_decrypt_update() [all …]
|
/illumos-gate/usr/src/uts/common/des/ |
H A D | des_crypt.c | 617 size_t saved_length, out_len; in des_encrypt_update() local 625 out_len = ((des_ctx_t *)ctx->cc_provider_private)->dc_remainder_len; in des_encrypt_update() 626 out_len += plaintext->cd_length; in des_encrypt_update() 627 out_len &= ~(DES_BLOCK_LEN - 1); in des_encrypt_update() 630 if (ciphertext->cd_length < out_len) { in des_encrypt_update() 631 ciphertext->cd_length = out_len; in des_encrypt_update() 679 size_t saved_length, out_len; in des_decrypt_update() local 688 out_len += ciphertext->cd_length; in des_decrypt_update() 689 out_len &= ~(DES_BLOCK_LEN - 1); in des_decrypt_update() 692 if (plaintext->cd_length < out_len) { in des_decrypt_update() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_internal.h | 91 const int out_len); 95 const int out_len); 97 const int 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; in PKCS_EncryptData() local 603 out_len = ckTemplate[0].ulValueLen; in PKCS_EncryptData() 605 if (out_len > ciphertext->Length) { in PKCS_EncryptData() 617 block_size = out_len - 11; in PKCS_EncryptData() 635 (CK_BYTE_PTR)out_data, &out_len); in PKCS_EncryptData() 646 out_data += out_len; in PKCS_EncryptData() 647 total_encrypted += out_len; in PKCS_EncryptData() 665 (CK_BYTE_PTR)out_data, &out_len); in PKCS_EncryptData() 676 out_data += out_len; in PKCS_EncryptData() 677 total_encrypted += out_len; in PKCS_EncryptData()
|
/illumos-gate/usr/src/lib/iconv_modules/zh/common/ |
H A D | UTF-8%zh_CN.iso2022-CN.c | 578 unsigned int out_len; in main() local 606 out_len = s.st_size << 2; in main() 617 out_len = 1024; in main() 624 if (_icv_iconv(st, &in_str, &in_len, &out_str, &out_len) == -1) { in main() 630 out_len); in main() 631 if (write(1, tmp_out, 4096 - out_len) == -1) { in main()
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | pkcs11_uri.c | 63 read_id(char *str, unsigned char *output, int out_len) in read_id() argument 69 (void) memset(output, 0, out_len); in read_id() 87 if ((n + 1) > out_len) in read_id()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 454 unsigned int len, out_len; /* length */ in wrap_msg_body() local 466 out_len = size; in wrap_msg_body() 467 if (out_len != size) in wrap_msg_body() 473 out->length = out_len; in wrap_msg_body()
|
/illumos-gate/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 772 size_t out_len; local 846 out_len = write(activeDir->dl_fd, input, in_len); 849 binfile_cursize += out_len; 851 if (out_len == in_len) { 855 ++write_count, sequence, out_len)); 864 "l=%u\n", sequence, out_len));
|
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/ |
H A D | labelit.c | 467 convert_string(int8_t *value, int8_t *out_buf, int32_t out_len, in convert_string() argument 472 out_length = ud_convert2unicode(value, out_buf, out_len); in convert_string() 482 ud_convert2unicode(int8_t *mb, int8_t *comp, int32_t out_len) in ud_convert2unicode() argument 502 for (i = 0; i < len && i < out_len; i++) { in ud_convert2unicode()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | verify_mgr.c | 341 CK_ULONG * out_len) in verify_mgr_verify_recover() argument 353 if (! signature || ! out_len) { in verify_mgr_verify_recover() 363 ctx, signature, sig_len, out_data, out_len)); in verify_mgr_verify_recover()
|