📄 fips140_8h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Crypto++: fips140.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.2 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div><h1>fips140.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>FIPS-140 related functions and classes.<p>Definition in file <a class="el" href="fips140_8h-source.html">fips140.h</a>.<p><code>#include "<a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>"</code><br><p><a href="fips140_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Compounds</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="class_self_test_failure.html">SelfTestFailure</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">exception thrown when a crypto algorithm is used after a self test fails </em> <a href="class_self_test_failure.html#_details">More...</a><em><br><br></td></tr><tr><td colspan=2><br><h2>Typedefs</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a0" doxytag="fips140.h::PGetPowerUpSelfTestStatus"></a>typedef <a class="el" href="fips140_8h.html#a14">PowerUpSelfTestStatus</a>(* </td><td class="memItemRight" valign=bottom><b>PGetPowerUpSelfTestStatus</b> )()</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a1" doxytag="fips140.h::PGetActualMacAndLocation"></a>typedef const byte *(* </td><td class="memItemRight" valign=bottom><b>PGetActualMacAndLocation</b> )(unsigned int &macSize, unsigned int &fileLocation)</td></tr><tr><td colspan=2><br><h2>Enumerations</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="fips140_8h.html#a14">PowerUpSelfTestStatus</a> { <b>POWER_UP_SELF_TEST_NOT_DONE</b>, <b>POWER_UP_SELF_TEST_FAILED</b>, <b>POWER_UP_SELF_TEST_PASSED</b> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">enum values representing status of the power-up self test <br><br></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a5" doxytag="fips140.h::FIPS_140_2_ComplianceEnabled"></a>bool </td><td class="memItemRight" valign=bottom><a class="el" href="fips140_8h.html#a5">FIPS_140_2_ComplianceEnabled</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">returns whether FIPS-140-2 compliance features were enabled at compile time <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a6" doxytag="fips140.h::DoPowerUpSelfTest"></a>void </td><td class="memItemRight" valign=bottom><a class="el" href="fips140_8h.html#a6">DoPowerUpSelfTest</a> (const char *moduleFilename, const byte *expectedModuleMac)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">perform the power-up self test, and set the self test status <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a7" doxytag="fips140.h::SimulatePowerUpSelfTestFailure"></a>void </td><td class="memItemRight" valign=bottom><a class="el" href="fips140_8h.html#a7">SimulatePowerUpSelfTestFailure</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">set the power-up self test status to POWER_UP_SELF_TEST_FAILED <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a8" doxytag="fips140.h::GetPowerUpSelfTestStatus"></a><a class="el" href="fips140_8h.html#a14">PowerUpSelfTestStatus</a> </td><td class="memItemRight" valign=bottom><a class="el" href="fips140_8h.html#a8">GetPowerUpSelfTestStatus</a> ()</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">return the current power-up self test status <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a9" doxytag="fips140.h::GetActualMacAndLocation"></a>const byte * </td><td class="memItemRight" valign=bottom><b>GetActualMacAndLocation</b> (unsigned int &macSize, unsigned int &fileLocation)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a10" doxytag="fips140.h::PowerUpSelfTestInProgressOnThisThread"></a>bool </td><td class="memItemRight" valign=bottom><b>PowerUpSelfTestInProgressOnThisThread</b> ()</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a11" doxytag="fips140.h::SetPowerUpSelfTestInProgressOnThisThread"></a>void </td><td class="memItemRight" valign=bottom><b>SetPowerUpSelfTestInProgressOnThisThread</b> (bool inProgress)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a12" doxytag="fips140.h::SignaturePairwiseConsistencyTest"></a>void </td><td class="memItemRight" valign=bottom><b>SignaturePairwiseConsistencyTest</b> (const <a class="el" href="class_p_k___signer.html">PK_Signer</a> &signer, const <a class="el" href="class_p_k___verifier.html">PK_Verifier</a> &verifier)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a name="a13" doxytag="fips140.h::EncryptionPairwiseConsistencyTest"></a>void </td><td class="memItemRight" valign=bottom><b>EncryptionPairwiseConsistencyTest</b> (const <a class="el" href="class_p_k___encryptor.html">PK_Encryptor</a> &encryptor, const <a class="el" href="class_p_k___decryptor.html">PK_Decryptor</a> &decryptor)</td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Tue Jul 8 23:34:29 2003 for Crypto++ by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -