Home
last modified time | relevance | path

Searched refs:iv_len (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/common/crypto/modes/
H A Dgcm.c513 gcm_format_initial_blocks(uchar_t *iv, ulong_t iv_len, in gcm_format_initial_blocks() argument
519 ulong_t remainder = iv_len; in gcm_format_initial_blocks()
526 if (iv_len == 12) { in gcm_format_initial_blocks()
551 len_a_len_c[1] = htonll(CRYPTO_BYTES2BITS(iv_len)); in gcm_format_initial_blocks()
564 gcm_init(gcm_ctx_t *ctx, unsigned char *iv, size_t iv_len, in gcm_init() argument
578 gcm_format_initial_blocks(iv, iv_len, ctx, block_size, in gcm_init()
/titanic_41/usr/src/uts/common/io/
H A Dlofi.c541 size_t iv_len; in lofi_blk_mech() local
562 iv_len = lsp->ls_iv_len; in lofi_blk_mech()
563 iv = kmem_zalloc(iv_len, KM_SLEEP); in lofi_blk_mech()
565 iv_len = lsp->ls_mech.cm_param_len; in lofi_blk_mech()
567 bzero(iv, iv_len); in lofi_blk_mech()
587 min = MIN(datasz, iv_len); in lofi_blk_mech()
588 bcopy(data, iv + (iv_len - min), min); in lofi_blk_mech()
591 SETUP_C_DATA(cdata, iv, iv_len); in lofi_blk_mech()
599 kmem_free(iv, iv_len); in lofi_blk_mech()
608 lsp->ls_mech.cm_param_len = iv_len; in lofi_blk_mech()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dcipher-ctr.c140 aes_ctr->iv_len = AES_BLOCK_SIZE; in evp_aes_ctr()
H A Dcipher.c392 ssh1_3des.iv_len = 0; in evp_ssh1_3des()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c61 enum param_values {iv_len, mac_len, salt_bytes, max_param}; enumerator
1131 if (mech_params[iv_len] != 0) in main()
1133 mech_params[iv_len] = try_int(optarg, in main()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dipsecesp.c2082 uint_t iv_len = assoc->ipsa_iv_len; in esp_submit_req_inbound() local
2109 encr_offset = esph_offset + sizeof (esph_t) + iv_len; in esp_submit_req_inbound()
2404 uint_t iv_len = assoc->ipsa_iv_len; in esp_submit_req_outbound() local
2487 auth_len = payload_len + iv_len + sizeof (esph_t); in esp_submit_req_outbound()
2618 uint_t iv_len, block_size, mac_len = 0; in esp_outbound() local
2747 iv_len = assoc->ipsa_iv_len; in esp_outbound()
2756 ASSERT(ISP2(iv_len)); in esp_outbound()
2760 iv_len = 0; in esp_outbound()
2766 esplen += iv_len; in esp_outbound()
2778 if (!esp_age_bytes(assoc, datalen + padlen + iv_len + 2, B_FALSE)) { in esp_outbound()
/titanic_41/usr/src/cmd/lofiadm/
H A Dmain.c95 size_t iv_len; /* for ioctl */ member
394 li.li_iv_len = cipher->iv_len; /* 0 when no iv needed */ in add_mapping()