| 1 |
<!DOCTYPE html> |
| 2 |
|
| 3 |
<html lang="en" data-content_root="../../../"> |
| 4 |
<head> |
| 5 |
<meta charset="utf-8" /> |
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 7 |
|
| 8 |
<title>krb5_c_make_checksum_iov - Fill in a checksum element in IOV array (operates on keyblock) — MIT Kerberos Documentation</title> |
| 9 |
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" /> |
| 10 |
<link rel="stylesheet" type="text/css" href="../../../_static/agogo.css?v=879f3c71" /> |
| 11 |
<link rel="stylesheet" type="text/css" href="../../../_static/kerb.css?v=6a0b3979" /> |
| 12 |
<script src="../../../_static/documentation_options.js?v=6dbce55c"></script> |
| 13 |
<script src="../../../_static/doctools.js?v=888ff710"></script> |
| 14 |
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script> |
| 15 |
<link rel="author" title="About these documents" href="../../../about.html" /> |
| 16 |
<link rel="index" title="Index" href="../../../genindex.html" /> |
| 17 |
<link rel="search" title="Search" href="../../../search.html" /> |
| 18 |
<link rel="copyright" title="Copyright" href="../../../copyright.html" /> |
| 19 |
<link rel="next" title="krb5_c_make_random_key - Generate an enctype-specific random encryption key." href="krb5_c_make_random_key.html" /> |
| 20 |
<link rel="prev" title="krb5_c_make_checksum - Compute a checksum (operates on keyblock)." href="krb5_c_make_checksum.html" /> |
| 21 |
</head><body> |
| 22 |
<div class="header-wrapper"> |
| 23 |
<div class="header"> |
| 24 |
|
| 25 |
|
| 26 |
<h1><a href="../../../index.html">MIT Kerberos Documentation</a></h1> |
| 27 |
|
| 28 |
<div class="rel"> |
| 29 |
|
| 30 |
<a href="../../../index.html" title="Full Table of Contents" |
| 31 |
accesskey="C">Contents</a> | |
| 32 |
<a href="krb5_c_make_checksum.html" title="krb5_c_make_checksum - Compute a checksum (operates on keyblock)." |
| 33 |
accesskey="P">previous</a> | |
| 34 |
<a href="krb5_c_make_random_key.html" title="krb5_c_make_random_key - Generate an enctype-specific random encryption key." |
| 35 |
accesskey="N">next</a> | |
| 36 |
<a href="../../../genindex.html" title="General Index" |
| 37 |
accesskey="I">index</a> | |
| 38 |
<a href="../../../search.html" title="Enter search criteria" |
| 39 |
accesskey="S">Search</a> | |
| 40 |
<a href="mailto:[email protected]?subject=Documentation__krb5_c_make_checksum_iov - Fill in a checksum element in IOV array (operates on keyblock)">feedback</a> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
|
| 45 |
<div class="content-wrapper"> |
| 46 |
<div class="content"> |
| 47 |
<div class="document"> |
| 48 |
|
| 49 |
<div class="documentwrapper"> |
| 50 |
<div class="bodywrapper"> |
| 51 |
<div class="body" role="main"> |
| 52 |
|
| 53 |
<section id="krb5-c-make-checksum-iov-fill-in-a-checksum-element-in-iov-array-operates-on-keyblock"> |
| 54 |
<h1>krb5_c_make_checksum_iov - Fill in a checksum element in IOV array (operates on keyblock)<a class="headerlink" href="#krb5-c-make-checksum-iov-fill-in-a-checksum-element-in-iov-array-operates-on-keyblock" title="Link to this heading">¶</a></h1> |
| 55 |
<dl class="c function"> |
| 56 |
<dt class="sig sig-object c" id="c.krb5_c_make_checksum_iov"> |
| 57 |
<a class="reference internal" href="../types/krb5_error_code.html#c.krb5_error_code" title="krb5_error_code"><span class="n"><span class="pre">krb5_error_code</span></span></a><span class="w"> </span><span class="sig-name descname"><span class="n"><span class="pre">krb5_c_make_checksum_iov</span></span></span><span class="sig-paren">(</span><a class="reference internal" href="../types/krb5_context.html#c.krb5_context" title="krb5_context"><span class="n"><span class="pre">krb5_context</span></span></a><span class="w"> </span><span class="n"><span class="pre">context</span></span>, <a class="reference internal" href="../types/krb5_cksumtype.html#c.krb5_cksumtype" title="krb5_cksumtype"><span class="n"><span class="pre">krb5_cksumtype</span></span></a><span class="w"> </span><span class="n"><span class="pre">cksumtype</span></span>, <span class="k"><span class="pre">const</span></span><span class="w"> </span><a class="reference internal" href="../types/krb5_keyblock.html#c.krb5_keyblock" title="krb5_keyblock"><span class="n"><span class="pre">krb5_keyblock</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">key</span></span>, <a class="reference internal" href="../types/krb5_keyusage.html#c.krb5_keyusage" title="krb5_keyusage"><span class="n"><span class="pre">krb5_keyusage</span></span></a><span class="w"> </span><span class="n"><span class="pre">usage</span></span>, <a class="reference internal" href="../types/krb5_crypto_iov.html#c.krb5_crypto_iov" title="krb5_crypto_iov"><span class="n"><span class="pre">krb5_crypto_iov</span></span></a><span class="w"> </span><span class="p"><span class="pre">*</span></span><span class="n"><span class="pre">data</span></span>, <span class="n"><span class="pre">size_t</span></span><span class="w"> </span><span class="n"><span class="pre">num_data</span></span><span class="sig-paren">)</span><a class="headerlink" href="#c.krb5_c_make_checksum_iov" title="Link to this definition">¶</a><br /></dt> |
| 58 |
<dd></dd></dl> |
| 59 |
|
| 60 |
<dl class="field-list"> |
| 61 |
<dt class="field-odd">param<span class="colon">:</span></dt> |
| 62 |
<dd class="field-odd"><p><strong>[in]</strong> <strong>context</strong> - Library context</p> |
| 63 |
<p><strong>[in]</strong> <strong>cksumtype</strong> - Checksum type (0 for mandatory type)</p> |
| 64 |
<p><strong>[in]</strong> <strong>key</strong> - Encryption key for a keyed checksum</p> |
| 65 |
<p><strong>[in]</strong> <strong>usage</strong> - Key usage (see KRB5_KEYUSAGE macros)</p> |
| 66 |
<p><strong>[inout]</strong> <strong>data</strong> - IOV array</p> |
| 67 |
<p><strong>[in]</strong> <strong>num_data</strong> - Size of <em>data</em></p> |
| 68 |
</dd> |
| 69 |
</dl> |
| 70 |
<dl class="field-list simple"> |
| 71 |
<dt class="field-odd">retval<span class="colon">:</span></dt> |
| 72 |
<dd class="field-odd"><ul class="simple"> |
| 73 |
<li><p>0 Success; otherwise - Kerberos error codes</p></li> |
| 74 |
</ul> |
| 75 |
</dd> |
| 76 |
</dl> |
| 77 |
<p>Create a checksum in the KRB5_CRYPTO_TYPE_CHECKSUM element over KRB5_CRYPTO_TYPE_DATA and KRB5_CRYPTO_TYPE_SIGN_ONLY chunks in <em>data</em> . Only the KRB5_CRYPTO_TYPE_CHECKSUM region is modified.</p> |
| 78 |
<div class="admonition seealso"> |
| 79 |
<p class="admonition-title">See also</p> |
| 80 |
<p>krb5_c_verify_checksum_iov()</p> |
| 81 |
</div> |
| 82 |
<div class="admonition note"> |
| 83 |
<p class="admonition-title">Note</p> |
| 84 |
<p>This function is similar to krb5_k_make_checksum_iov(), but operates on keyblock <em>key</em> .</p> |
| 85 |
</div> |
| 86 |
</section> |
| 87 |
|
| 88 |
|
| 89 |
<div class="clearer"></div> |
| 90 |
</div> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
<div class="sidebar"> |
| 95 |
|
| 96 |
<h2>On this page</h2> |
| 97 |
<ul> |
| 98 |
<li><a class="reference internal" href="#">krb5_c_make_checksum_iov - Fill in a checksum element in IOV array (operates on keyblock)</a></li> |
| 99 |
</ul> |
| 100 |
|
| 101 |
<br/> |
| 102 |
<h2>Table of contents</h2> |
| 103 |
<ul class="current"> |
| 104 |
<li class="toctree-l1"><a class="reference internal" href="../../../user/index.html">For users</a></li> |
| 105 |
<li class="toctree-l1"><a class="reference internal" href="../../../admin/index.html">For administrators</a></li> |
| 106 |
<li class="toctree-l1 current"><a class="reference internal" href="../../index.html">For application developers</a><ul class="current"> |
| 107 |
<li class="toctree-l2"><a class="reference internal" href="../../gssapi.html">Developing with GSSAPI</a></li> |
| 108 |
<li class="toctree-l2"><a class="reference internal" href="../../y2038.html">Year 2038 considerations for uses of krb5_timestamp</a></li> |
| 109 |
<li class="toctree-l2"><a class="reference internal" href="../../h5l_mit_apidiff.html">Differences between Heimdal and MIT Kerberos API</a></li> |
| 110 |
<li class="toctree-l2"><a class="reference internal" href="../../init_creds.html">Initial credentials</a></li> |
| 111 |
<li class="toctree-l2"><a class="reference internal" href="../../princ_handle.html">Principal manipulation and parsing</a></li> |
| 112 |
<li class="toctree-l2 current"><a class="reference internal" href="../index.html">Complete reference - API and datatypes</a><ul class="current"> |
| 113 |
<li class="toctree-l3 current"><a class="reference internal" href="index.html">krb5 API</a></li> |
| 114 |
<li class="toctree-l3"><a class="reference internal" href="../types/index.html">krb5 types and structures</a></li> |
| 115 |
<li class="toctree-l3"><a class="reference internal" href="../macros/index.html">krb5 simple macros</a></li> |
| 116 |
</ul> |
| 117 |
</li> |
| 118 |
</ul> |
| 119 |
</li> |
| 120 |
<li class="toctree-l1"><a class="reference internal" href="../../../plugindev/index.html">For plugin module developers</a></li> |
| 121 |
<li class="toctree-l1"><a class="reference internal" href="../../../build/index.html">Building Kerberos V5</a></li> |
| 122 |
<li class="toctree-l1"><a class="reference internal" href="../../../basic/index.html">Kerberos V5 concepts</a></li> |
| 123 |
<li class="toctree-l1"><a class="reference internal" href="../../../formats/index.html">Protocols and file formats</a></li> |
| 124 |
<li class="toctree-l1"><a class="reference internal" href="../../../mitK5features.html">MIT Kerberos features</a></li> |
| 125 |
<li class="toctree-l1"><a class="reference internal" href="../../../build_this.html">How to build this documentation from the source</a></li> |
| 126 |
<li class="toctree-l1"><a class="reference internal" href="../../../about.html">Contributing to the MIT Kerberos Documentation</a></li> |
| 127 |
<li class="toctree-l1"><a class="reference internal" href="../../../resources.html">Resources</a></li> |
| 128 |
</ul> |
| 129 |
|
| 130 |
<br/> |
| 131 |
<h4><a href="../../../index.html">Full Table of Contents</a></h4> |
| 132 |
<h4>Search</h4> |
| 133 |
<form class="search" action="../../../search.html" method="get"> |
| 134 |
<input type="text" name="q" size="18" /> |
| 135 |
<input type="submit" value="Go" /> |
| 136 |
<input type="hidden" name="check_keywords" value="yes" /> |
| 137 |
<input type="hidden" name="area" value="default" /> |
| 138 |
</form> |
| 139 |
|
| 140 |
</div> |
| 141 |
<div class="clearer"></div> |
| 142 |
</div> |
| 143 |
</div> |
| 144 |
|
| 145 |
<div class="footer-wrapper"> |
| 146 |
<div class="footer" > |
| 147 |
<div class="right" ><i>Release: 1.22.1</i><br /> |
| 148 |
© <a href="../../../copyright.html">Copyright</a> 1985-2025, MIT. |
| 149 |
</div> |
| 150 |
<div class="left"> |
| 151 |
|
| 152 |
<a href="../../../index.html" title="Full Table of Contents" |
| 153 |
>Contents</a> | |
| 154 |
<a href="krb5_c_make_checksum.html" title="krb5_c_make_checksum - Compute a checksum (operates on keyblock)." |
| 155 |
>previous</a> | |
| 156 |
<a href="krb5_c_make_random_key.html" title="krb5_c_make_random_key - Generate an enctype-specific random encryption key." |
| 157 |
>next</a> | |
| 158 |
<a href="../../../genindex.html" title="General Index" |
| 159 |
>index</a> | |
| 160 |
<a href="../../../search.html" title="Enter search criteria" |
| 161 |
>Search</a> | |
| 162 |
<a href="mailto:[email protected]?subject=Documentation__krb5_c_make_checksum_iov - Fill in a checksum element in IOV array (operates on keyblock)">feedback</a> |
| 163 |
</div> |
| 164 |
</div> |
| 165 |
</div> |
| 166 |
|
| 167 |
</body> |
| 168 |
</html> |