3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7
<html xmlns="http://www.w3.org/1999/xhtml">
9
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
<title>krb5_k_verify_checksum_iov - Validate a checksum element in IOV array (operates on opaque key). — MIT Kerberos Documentation</title>
13
<link rel="stylesheet" href="../../../_static/agogo.css" type="text/css" />
14
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
15
<link rel="stylesheet" href="../../../_static/kerb.css" type="text/css" />
17
<script type="text/javascript">
18
var DOCUMENTATION_OPTIONS = {
19
URL_ROOT: '../../../',
21
COLLAPSE_INDEX: false,
26
<script type="text/javascript" src="../../../_static/jquery.js"></script>
27
<script type="text/javascript" src="../../../_static/underscore.js"></script>
28
<script type="text/javascript" src="../../../_static/doctools.js"></script>
29
<link rel="author" title="About these documents" href="../../../about.html" />
30
<link rel="copyright" title="Copyright" href="../../../copyright.html" />
31
<link rel="top" title="MIT Kerberos Documentation" href="../../../index.html" />
32
<link rel="up" title="krb5 API" href="index.html" />
33
<link rel="next" title="krb5_recvauth - Server function for sendauth protocol." href="krb5_recvauth.html" />
34
<link rel="prev" title="krb5_k_verify_checksum - Verify a checksum (operates on opaque key)." href="krb5_k_verify_checksum.html" />
37
<div class="header-wrapper">
38
<div class="header" style="padding-bottom: 0px;">
41
<h1><a href="../../../index.html"
42
style="color: #5d1509; font-size: 120%;
43
padding-top: 10px;">MIT Kerberos Documentation</a></h1>
46
<a href="../../../index.html"
47
title="Full Table of Contents"
48
accesskey="C">Contents</a>
50
<a href="krb5_k_verify_checksum.html"
51
title="krb5_k_verify_checksum - Verify a checksum (operates on opaque key)."
52
accesskey="P">previous</a>
54
<a href="krb5_recvauth.html"
55
title="krb5_recvauth - Server function for sendauth protocol."
56
accesskey="N">next</a>
58
<a href="../../../genindex.html"
60
accesskey="I">index</a>
62
<a href="../../../search.html"
63
title="Enter search criteria"
64
accesskey="S">Search</a>
66
<a href="mailto:krb5-bugs@mit.edu?subject=Documentation__krb5_k_verify_checksum_iov - Validate a checksum element in IOV array (operates on opaque key).">feedback</a>
71
<div class="content-wrapper">
74
style="float: right; background: #F9F9F9">
75
<h2>On this page </h2>
77
<li><a class="reference internal" href="#">krb5_k_verify_checksum_iov - Validate a checksum element in IOV array (operates on opaque key).</a></li>
81
<h2>Table of contents</h2>
83
<li class="toctree-l1"><a class="reference internal" href="../../../user/index.html">For users</a></li>
84
<li class="toctree-l1"><a class="reference internal" href="../../../admin/index.html">For administrators</a></li>
85
<li class="toctree-l1"><a class="reference internal" href="../../index.html">For application developers</a></li>
86
<li class="toctree-l1"><a class="reference internal" href="../../../plugindev/index.html">For plugin module developers</a></li>
87
<li class="toctree-l1"><a class="reference internal" href="../../../build/index.html">Building Kerberos V5</a></li>
88
<li class="toctree-l1"><a class="reference internal" href="../../../basic/index.html">Kerberos V5 concepts</a></li>
89
<li class="toctree-l1"><a class="reference internal" href="../../../mitK5features.html">MIT Kerberos features</a></li>
90
<li class="toctree-l1"><a class="reference internal" href="../../../build_this.html">How to build this documentation from the source</a></li>
91
<li class="toctree-l1"><a class="reference internal" href="../../../about.html">The Kerberos Documentation Set</a></li>
92
<li class="toctree-l1"><a class="reference internal" href="../../../resources.html">Resources</a></li>
96
<h4><a href="../../../index.html">Full Table of Contents
99
<form class="search" action="../../../search.html" method="get">
100
<input type="text" name="q" size="18" />
101
<input type="submit" value="Go" />
102
<input type="hidden" name="check_keywords" value="yes" />
103
<input type="hidden" name="area" value="default" />
106
<div class="document">
108
<div class="documentwrapper">
109
<div class="bodywrapper">
112
<div class="section" id="krb5-k-verify-checksum-iov-validate-a-checksum-element-in-iov-array-operates-on-opaque-key">
113
<h1>krb5_k_verify_checksum_iov - Validate a checksum element in IOV array (operates on opaque key).<a class="headerlink" href="#krb5-k-verify-checksum-iov-validate-a-checksum-element-in-iov-array-operates-on-opaque-key" title="Permalink to this headline">¶</a></h1>
114
<dl class="function">
115
<dt id="krb5_k_verify_checksum_iov">
116
<a class="reference internal" href="../types/krb5_error_code.html#krb5_error_code" title="krb5_error_code">krb5_error_code</a> <tt class="descname">krb5_k_verify_checksum_iov</tt><big>(</big><a class="reference internal" href="../types/krb5_context.html#krb5_context" title="krb5_context">krb5_context</a><em> context</em>, <a class="reference internal" href="../types/krb5_cksumtype.html#krb5_cksumtype" title="krb5_cksumtype">krb5_cksumtype</a><em> cksumtype</em>, <a class="reference internal" href="../types/krb5_key.html#krb5_key" title="krb5_key">krb5_key</a><em> key</em>, <a class="reference internal" href="../types/krb5_keyusage.html#krb5_keyusage" title="krb5_keyusage">krb5_keyusage</a><em> usage</em>, const <a class="reference internal" href="../types/krb5_crypto_iov.html#krb5_crypto_iov" title="krb5_crypto_iov">krb5_crypto_iov</a> *<em> data</em>, size_t<em> num_data</em>, <a class="reference internal" href="../types/krb5_boolean.html#krb5_boolean" title="krb5_boolean">krb5_boolean</a> *<em> valid</em><big>)</big><a class="headerlink" href="#krb5_k_verify_checksum_iov" title="Permalink to this definition">¶</a></dt>
119
<table class="docutils field-list" frame="void" rules="none">
120
<col class="field-name" />
121
<col class="field-body" />
123
<tr class="field-odd field"><th class="field-name">param:</th><td class="field-body"><p class="first"><strong>[in]</strong> <strong>context</strong> - Library context</p>
124
<p><strong>[in]</strong> <strong>cksumtype</strong> - Checksum type (0 for mandatory type)</p>
125
<p><strong>[in]</strong> <strong>key</strong> - Encryption key for a keyed checksum</p>
126
<p><strong>[in]</strong> <strong>usage</strong> - Key usage (see <tt class="xref py py-data docutils literal"><span class="pre">KRB5_KEYUSAGE</span></tt> types)</p>
127
<p><strong>[in]</strong> <strong>data</strong> - IOV array</p>
128
<p><strong>[in]</strong> <strong>num_data</strong> - Size of <em>data</em></p>
129
<p class="last"><strong>[out]</strong> <strong>valid</strong> - Non-zero for success, zero for failure</p>
134
<table class="docutils field-list" frame="void" rules="none">
135
<col class="field-name" />
136
<col class="field-body" />
138
<tr class="field-odd field"><th class="field-name">retval:</th><td class="field-body"><ul class="first last simple">
139
<li>0 Success; otherwise - Kerberos error codes</li>
145
<p>Confirm that the checksum in the <a class="reference internal" href="../macros/KRB5_CRYPTO_TYPE_CHECKSUM.html#KRB5_CRYPTO_TYPE_CHECKSUM" title="KRB5_CRYPTO_TYPE_CHECKSUM"><tt class="xref py py-data docutils literal"><span class="pre">KRB5_CRYPTO_TYPE_CHECKSUM</span></tt></a> element is a valid checksum of the <a class="reference internal" href="../macros/KRB5_CRYPTO_TYPE_DATA.html#KRB5_CRYPTO_TYPE_DATA" title="KRB5_CRYPTO_TYPE_DATA"><tt class="xref py py-data docutils literal"><span class="pre">KRB5_CRYPTO_TYPE_DATA</span></tt></a> and <a class="reference internal" href="../macros/KRB5_CRYPTO_TYPE_SIGN_ONLY.html#KRB5_CRYPTO_TYPE_SIGN_ONLY" title="KRB5_CRYPTO_TYPE_SIGN_ONLY"><tt class="xref py py-data docutils literal"><span class="pre">KRB5_CRYPTO_TYPE_SIGN_ONLY</span></tt></a> regions in the iov.</p>
146
<div class="admonition-see-also admonition seealso">
147
<p class="first admonition-title">See also</p>
148
<p class="last"><a class="reference internal" href="krb5_k_make_checksum_iov.html#krb5_k_make_checksum_iov" title="krb5_k_make_checksum_iov"><tt class="xref c c-func docutils literal"><span class="pre">krb5_k_make_checksum_iov()</span></tt></a></p>
150
<div class="admonition note">
151
<p class="first admonition-title">Note</p>
152
<p class="last">This function is similar to <a class="reference internal" href="krb5_c_verify_checksum_iov.html#krb5_c_verify_checksum_iov" title="krb5_c_verify_checksum_iov"><tt class="xref c c-func docutils literal"><span class="pre">krb5_c_verify_checksum_iov()</span></tt></a> , but operates on opaque <em>key</em> .</p>
161
<div class="clearer" ></div>
165
<div class="footer-wrapper" >
166
<div class="footer" >
167
<div class="right" ><i>Release: 1.11.3</i><br />
168
© <a href="../../../copyright.html">Copyright</a> 1985-2013, MIT.
171
<a href="../../../index.html"
172
title="Full Table of Contents"
175
<a href="krb5_k_verify_checksum.html"
176
title="krb5_k_verify_checksum - Verify a checksum (operates on opaque key)."
179
<a href="krb5_recvauth.html"
180
title="krb5_recvauth - Server function for sendauth protocol."
183
<a href="../../../genindex.html"
184
title="General Index"
187
<a href="../../../search.html"
188
title="Enter search criteria"
191
<a href="mailto:krb5-bugs@mit.edu?subject=Documentation__krb5_k_verify_checksum_iov - Validate a checksum element in IOV array (operates on opaque key).">feedback</a>
b'\\ No newline at end of file'