Searched refs:total_len (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_dto.c62 DAT_COUNT total_len; local
66 total_len = 0;
91 total_len += pr_sgl[i].ds_len;
98 cookie->val.dto.size = total_len;
158 DAT_COUNT total_len; local
171 total_len = pr_sgl.ds_len;
177 cookie->val.dto.size = total_len;
228 DAT_COUNT total_len; local
232 total_len = 0;
257 total_len
312 DAT_COUNT total_len; local
[all...]
H A Ddapl_arbel_hw.c196 uint32_t len, total_len; local
317 if (max_inline_bytes != -1) { /* compute total_len */
318 total_len = 0;
320 total_len += sgl[i].ds_len;
321 if (total_len > max_inline_bytes)
327 HTOBE_32(total_len | TAVOR_WQE_SGL_INLINE_MASK);
H A Ddapl_tavor_hw.c300 uint32_t len, total_len; local
414 if (max_inline_bytes != -1) { /* compute total_len */
415 total_len = 0;
417 total_len += sgl[i].ds_len;
418 if (total_len > max_inline_bytes)
424 HTOBE_32(total_len | TAVOR_WQE_SGL_INLINE_MASK);
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c146 CK_ULONG total_len; local
186 total_len = soft_blowfish_ctx->remain_len + ulDataLen;
194 if (total_len < BLOWFISH_BLOCK_LEN) {
212 remain = total_len % BLOWFISH_BLOCK_LEN;
218 out_len = total_len - remain;
324 CK_ULONG total_len; local
364 total_len = soft_blowfish_ctx->remain_len + ulEncryptedLen;
366 if (total_len < BLOWFISH_BLOCK_LEN) {
381 remain = total_len % BLOWFISH_BLOCK_LEN;
387 out_len = total_len
[all...]
H A DsoftDESCrypt.c181 CK_ULONG total_len; local
255 total_len = soft_des_ctx->remain_len + ulDataLen;
264 if ((total_len < DES_BLOCK_LEN) ||
265 (pad_mechanism && (total_len == DES_BLOCK_LEN))) {
282 remain = total_len % DES_BLOCK_LEN;
288 out_len = total_len - remain;
447 CK_ULONG total_len; local
511 total_len = soft_des_ctx->remain_len + ulEncryptedLen;
520 if ((total_len < DES_BLOCK_LEN) ||
521 (pad_mechanism && (total_len
1003 CK_ULONG total_len; local
[all...]
H A DsoftAESCrypt.c188 CK_ULONG total_len; local
261 total_len = soft_aes_ctx->remain_len + ulDataLen;
270 if ((total_len < AES_BLOCK_LEN) ||
272 (total_len == AES_BLOCK_LEN))) {
289 remain = total_len % AES_BLOCK_LEN;
295 out_len = total_len - remain;
560 CK_ULONG total_len; local
619 total_len = soft_aes_ctx->remain_len + ulEncryptedLen;
628 if ((total_len < AES_BLOCK_LEN) ||
630 (total_len
[all...]
H A DsoftRawDataCrypt.c281 CK_ULONG total_len; \
295 total_len = soft_alg_ctx->remain_len + ulDataLen; \
303 if (total_len < (blocksz)) { \
321 remain = total_len % (blocksz); \
327 out_len = total_len - remain; \
578 CK_ULONG total_len; \
592 total_len = soft_alg_ctx->remain_len + ulEncryptedLen; \
600 if (total_len < (blocksz)) { \
619 remain = total_len % (blocksz); \
625 out_len = total_len
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsAESCrypt.c208 CK_ULONG total_len; local
281 total_len = kms_aes_ctx->remain_len + ulDataLen;
290 if ((total_len < AES_BLOCK_LEN) ||
292 (total_len == AES_BLOCK_LEN))) {
309 remain = total_len % AES_BLOCK_LEN;
315 out_len = total_len - remain;
490 CK_ULONG total_len; local
549 total_len = kms_aes_ctx->remain_len + ulEncryptedLen;
558 if ((total_len < AES_BLOCK_LEN) ||
560 (total_len
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobject.c520 CK_ULONG_32 tmpl_len, total_len; local
531 total_len = tmpl_len + sizeof (CK_OBJECT_CLASS_32) +
534 buf = (CK_BYTE *)malloc(total_len);
539 (void) memset((CK_BYTE *)buf, 0x0, total_len);
558 *len = total_len;
H A Dutility.c528 UINT32 total_len)
536 if (data_len + pad_len > total_len) {
548 UINT32 total_len,
553 pad_value = ptr[total_len - 1];
556 *data_len = total_len - pad_value;
525 add_pkcs_padding(CK_BYTE * ptr, UINT32 block_size, UINT32 data_len, UINT32 total_len) argument
546 strip_pkcs_padding( CK_BYTE *ptr, UINT32 total_len, UINT32 *data_len) argument
H A Dloadsave.c689 UINT32 total_len; local
717 total_len = cleartxt_len + sizeof (UINT32) + sizeof (CK_BBOOL);
719 (void) fwrite(&total_len, sizeof (total_len), 1, fp);
753 UINT32 total_len; local
831 total_len = sizeof (UINT32) + sizeof (CK_BBOOL) + (UINT32)ciphertxt_len;
835 (void) fwrite(&total_len, sizeof (UINT32), 1, fp);
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dip.c89 grub_size_t total_len; member in struct:reassemble
469 rsm->total_len = 0;
484 rsm->total_len = (8 * (grub_be_to_cpu16 (iph->frags) & OFFSET_MASK)
486 rsm->total_len -= ((iph->verhdrlen & 0xf) * sizeof (grub_uint32_t));
487 rsm->asm_buffer = grub_zalloc (rsm->total_len);
532 >= rsm->total_len)
538 if (rsm->total_len - 8 * (grub_be_to_cpu16 (iph->frags) & OFFSET_MASK)
540 copy = rsm->total_len - 8 * (grub_be_to_cpu16 (iph->frags)
556 res_len = rsm->total_len;
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c283 size_t total_len; local
288 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str);
294 *ret_str = (char *)realloc(*ret_str, total_len + len + 1);
303 (void) strcpy(*ret_str + total_len, str);
304 total_len += len;
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c347 size_t total_len, ret_str_len; local
352 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str);
358 ret_str_len = total_len + len + 1;
367 (void) strlcpy(*ret_str + total_len, str, ret_str_len);
368 total_len += len;
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c416 size_t total_len; local
421 total_len = (*ret_str == NULL) ? 0 : strlen(*ret_str);
427 *ret_str = (char *)realloc(*ret_str, total_len + len + 1);
435 (void) strcpy(*ret_str + total_len, str);
436 total_len += len;
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dntfs.c682 grub_uint32_t total_len; member in struct:symlink_descriptor

Completed in 430 milliseconds