CINXE.COM
Cryptographic Algorithm Validation Program | CSRC
<!DOCTYPE html> <html lang="en-us" xml:lang="en-us"> <head> <meta charset="utf-8" /> <title>Cryptographic Algorithm Validation Program | CSRC</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="content-script-type" content="text/javascript" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="msapplication-config" content="/CSRC/Media/images/favicons/browserconfig.xml" /> <meta name="theme-color" content="#000000" /> <meta name="google-site-verification" content="xbrnrVYDgLD-Bd64xHLCt4XsPXzUhQ-4lGMj4TdUUTA" /> <meta name="description" content="Algorithm Specifications Algorithm specifications for current FIPS-approved and NIST-recommended digital signature algorithms are available from the Cryptographic Toolkit. Current testing includes the following algorithms:..." /> <!-- dcterms meta information --> <meta name="dcterms.title" content="Digital Signatures - Cryptographic Algorithm Validation Program | CSRC | CSRC" /> <meta name="dcterms.description" content="Algorithm Specifications Algorithm specifications for current FIPS-approved and NIST-recommended digital signature algorithms are available from the Cryptographic Toolkit. Current testing includes the following algorithms:..." /> <meta name="dcterms.creator" content="Computer Security Division, Information Technology Laboratory, National Institute of Standards and Technology, U.S. Department of Commerce" /> <meta name="dcterms.date.created" scheme="ISO8601" content="2016-10-05" /> <meta name="dcterms.date.reviewed" scheme="ISO8601" content="2024-08-08" /> <meta name="dcterms.language" scheme="DCTERMS.RFC1766" content="EN-US" /> <!-- Facebook OpenGraph Tags --> <meta name="og:site_name" content="CSRC | NIST" /> <meta name="og:type" content="article" /> <meta name="og:url" content="https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/digital-signatures" /> <meta name="og:title" content="Digital Signatures - Cryptographic Algorithm Validation Program | CSRC | CSRC" /> <meta name="og:description" content="Algorithm Specifications Algorithm specifications for current FIPS-approved and NIST-recommended digital signature algorithms are available from the Cryptographic Toolkit. Current testing includes the following algorithms: DSA | ECDSA | RSA (in FIPS 186-4) DSA | ECDSA | RSA (in FIPS 186-2) Algorithm Validation Testing Requirements FIPS 186-4 Digital Signature Algorithm (DSA) Digital Signature Algorithm Validation System (DSA2VS) specifies validation testing requirements for the DSA algorithm in FIPS 186-4. Testing Notes Prerequisites for DSA testing are listed in the CAVP Frequently Asked Questions (CAVP FAQ) General Question GEN.5. Elliptic Curve Digital Signature Algorithm (ECDSA) Elliptic Curve Digital Signature Algorithm (ECDSA) Validation System (ECDSA2VS) specifies validation testing requirements for the ECDSA algorithm in FIPS 186-4. Testing Notes Prerequisites for ECDSA testing are listed in the CAVP Frequently Asked Questions (CAVP..." /> <meta name="article:tag" content="assurance; cryptography; testing & validation" /> <meta name="article:published_time" content="2016-10-05" /> <meta name="article:modified_time" content="2024-08-08" /> <link rel="apple-touch-icon" sizes="180x180" href="/images/icons/apple-touch-icon.png" /> <link rel="icon" type="image/png" href="/images/icons/favicon-32x32.png" sizes="32x32" /> <link rel="icon" type="image/png" href="/images/icons/favicon-16x16.png" sizes="16x16" /> <link rel="manifest" href="/images/icons/manifest.json" /> <link rel="mask-icon" href="/images/icons/safari-pinned-tab.svg" color="#000000" /> <link href="/CSRC/Media/images/favicons/favicon.ico" type="image/x-icon" rel="shortcut icon" /> <link href="/CSRC/Media/images/favicons/favicon.ico" type="image/x-icon" rel="icon" /> <link href="/dist/app.css" rel="stylesheet" /> <!-- Highlight.js --> <link href="/dist/highlight-js/github.css" rel="stylesheet" /> <!-- USWDS Top --> <link href="/dist/uswds/css/uswds.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="/dist/uswds/js/uswds-init.min.js"></script> <!-- reCAPTCHA v3 --> <style> .grecaptcha-badge { visibility: hidden; } </style> <script async type="text/javascript" id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=nist&subagency=csrc&pua=UA-66610693-15&yt=true&exts=xsd,xml,wav,mpg,mpeg,avi,rtf,webm,ogg,ogv,oga,map,otf,eot,svg,ttf,woff"></script> <style id="antiClickjackCss"> body > * { display: none !important; } #antiClickjack { display: block !important; } </style> <noscript> <style id="antiClickjackNoScript"> body > * { display: block !important; } #antiClickjack { display: none !important; } </style> </noscript> <script type="text/javascript" id="antiClickjackScript"> if (self === top) { // no clickjacking var antiClickjack = document.getElementById("antiClickjackCss"); antiClickjack.parentNode.removeChild(antiClickjack); } else { setTimeout(tryForward(), 5000); } function tryForward() { top.location = self.location; } </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-TSQ0PLGJZP"></script> <script> 聽聽window.dataLayer = window.dataLayer || []; 聽聽function gtag(){dataLayer.push(arguments);} 聽聽gtag('js', new Date()); 聽聽gtag('config', 'G-TSQ0PLGJZP'); </script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-MZQC4NCJ');</script> <!-- End Google Tag Manager --> </head> <body> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MZQC4NCJ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <div id="antiClickjack" style="display: none;"> <strong style="font-size: 1.6rem;">You are viewing this page in an unauthorized frame window.</strong> <p>This is a potential security issue, you are being redirected to <a href="https://csrc.nist.gov">https://csrc.nist.gov</a>.</p> </div> <section class="usa-banner" aria-label="Official website of the United States government"> <div class="usa-accordion"> <header class="usa-banner__header"> <noscript> <p style="font-size: 0.85rem; font-weight: bold;">You have JavaScript disabled. This site requires JavaScript to be enabled for complete site functionality.</p> </noscript> <div class="usa-banner__inner"> <div class="grid-col-auto"> <img aria-hidden="true" class="usa-banner__header-flag" src="/dist/uswds/img/us_flag_small.png" alt=""/> </div> <div class="grid-col-fill tablet:grid-col-auto" aria-hidden="true"> <p class="usa-banner__header-text"> An official website of the United States government </p> <p class="usa-banner__header-action">Here鈥檚 how you know</p> </div> <button type="button" class="usa-accordion__button usa-banner__button" aria-expanded="false" aria-controls="gov-banner-default"> <span class="usa-banner__button-text">Here鈥檚 how you know</span> </button> </div> </header> <div class="usa-banner__content usa-accordion__content" id="gov-banner-default"> <div class="grid-row grid-gap-lg"> <div class="usa-banner__guidance tablet:grid-col-6"> <img class="usa-banner__icon usa-media-block__img" src="/dist/uswds/img/icon-dot-gov.svg" role="img" alt="" aria-hidden="true"/> <div class="usa-media-block__body"> <p> <strong>Official websites use .gov</strong><br/>A <strong>.gov</strong> website belongs to an official government organization in the United States. </p> </div> </div> <div class="usa-banner__guidance tablet:grid-col-6"> <img class="usa-banner__icon usa-media-block__img" src="/dist/uswds/img/icon-https.svg" role="img" alt="" aria-hidden="true"/> <div class="usa-media-block__body"> <p> <strong>Secure .gov websites use HTTPS</strong><br/>A <strong>lock</strong> ( <span class="icon-lock"> <svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" class="usa-banner__lock-image" role="img" aria-labelledby="banner-lock-description-default" focusable="false"> <title id="banner-lock-title-default">Lock</title> <desc id="banner-lock-description-default">Locked padlock icon</desc> <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z"/> </svg> </span >) or <strong>https://</strong> means you鈥檝e safely connected to the .gov website. Share sensitive information only on official, secure websites. </p> </div> </div> </div> </div> </div> </section> <nav id="navbar" class="navbar"> <div id="nist-menu-container" class="container"> <div class="row"> <!-- Brand --> <div class="col-xs-6 col-md-4 navbar-header"> <a class="navbar-brand" href="https://www.nist.gov" target="_blank" id="navbar-brand-image"> <img src="/CSRC/media/images/svg/nist-logo.svg" alt="National Institute of Standards and Technology" width="110" height="30"> </a> </div> <div class="col-xs-6 col-md-8 navbar-nist-logo"> <div class="form-inline hidden-sm hidden-xs"> <form name="site-search" id="site-search-form" action="/search" method="GET"> <label for="search-csrc-query" class="element-invisible">Search</label> <input autocomplete="off" class="form-control" id="search-csrc-query" name="keywords" type="text" size="15" maxlength="128" placeholder="Search CSRC" /> <input type="hidden" name="ipp" value="25" /> <input type="hidden" name="sortBy" value="relevance" /> <input type="hidden" name="showOnly" value="publications,projects,news,events,presentations,glossary,topics" /> <input type="hidden" name="topicsMatch" value="ANY" /> <input type="hidden" name="status" value="Final,Draft" /> <button type="submit" id="search-csrc-submit-btn" class="form-submit"> <span class="element-invisible">Search</span> <i class="fa fa-search"></i> </button> </form> </div> <span id="nvd-menu-button" class="pull-right"> <a href="#" id="nvd-menu-button-link"> <span class="fa fa-bars"></span> <span id="nvd-menu-full-text">CSRC MENU</span> </a> </span> </div> </div> </div> <div class="form-inline hidden-md hidden-lg"> <form name="site-search-mobile" id="site-search-form-mobile" action="/search" method="GET"> <label for="search-csrc-query-mobile" class="element-invisible">Search</label> <input autocomplete="off" class="form-control" id="search-csrc-query-mobile" name="keywords" type="text" size="15" maxlength="128" placeholder="Search CSRC" /> <button type="submit" id="search-csrc-submit-btn-mobile" class="form-submit"> <span class="element-invisible">Search</span> <i class="fa fa-search"></i> </button> </form> </div> <div class="main-menu-row container"> <!-- Collect the nav links, forms, and other content for toggling --> <div id="main-menu-drop" class="col-lg-12" style="display: none;"> <ul> <li><a href="/projects">Projects</a></li> <li> <a href="/publications"> Publications <span class="expander fa fa-plus" id="main-menu-pubs-expander" data-expander-name="publications" data-expanded="false"> <span class="element-invisible">Expand or Collapse</span> </span> </a> <div style="display: none;" class="sub-menu" data-expander-trigger="publications" id="main-menu-pubs-expanded"> <div class="row"> <div class="col-lg-4"> <p><a href="/publications/drafts-open-for-comment">Drafts for Public Comment</a></p> <p><a href="/publications/draft-pubs">All Public Drafts</a></p> <p><a href="/publications/final-pubs">Final Pubs</a></p> <p><a href="/publications/fips">FIPS <small>(standards)</small></a></p> </div> <div class="col-lg-4"> <p><a href="/publications/sp">Special Publications (SP<small>s</small>)</a></p> <p><a href="/publications/ir">IR <small>(interagency/internal reports)</small></a></p> <p><a href="/publications/cswp">CSWP <small>(cybersecurity white papers)</small></a></p> <p><a href="/publications/itl-bulletin">ITL Bulletins</a></p> </div> <div class="col-lg-4"> <p><a href="/publications/project-description">Project Descriptions</a></p> <p><a href="/publications/journal-article">Journal Articles</a></p> <p><a href="/publications/conference-paper">Conference Papers</a></p> <p><a href="/publications/book">Books</a></p> </div> </div> </div> </li> <li> <a href="/topics"> Topics <span class="expander fa fa-plus" id="main-menu-topics-expander" data-expander-name="topics" data-expanded="false"> <span class="element-invisible">Expand or Collapse</span> </span> </a> <div style="display: none;" class="sub-menu" data-expander-trigger="topics" id="main-menu-topics-expanded"> <div class="row"> <div class="col-lg-4"> <p><a href="/Topics/Security-and-Privacy">Security & Privacy</a></p> <p><a href="/Topics/Applications">Applications</a></p> </div> <div class="col-lg-4"> <p><a href="/Topics/Technologies">Technologies</a></p> <p><a href="/Topics/Sectors">Sectors</a></p> </div> <div class="col-lg-4"> <p><a href="/Topics/Laws-and-Regulations">Laws & Regulations</a></p> <p><a href="/Topics/Activities-and-Products">Activities & Products</a></p> </div> </div> </div> </li> <li><a href="/news">News & Updates</a></li> <li><a href="/events">Events</a></li> <li><a href="/glossary">Glossary</a></li> <li> <a href="/about"> About CSRC <span class="expander fa fa-plus" id="main-menu-about-expander" data-expander-name="about" data-expanded="false"> <span class="element-invisible">Expand or Collapse</span> </span> </a> <div style="display: none;" class="sub-menu" data-expander-trigger="about" id="main-menu-about-expanded"> <div class="row"> <div class="col-lg-6"> <p> <strong><a href="/Groups/Computer-Security-Division">Computer Security Division</a></strong><br /> <ul> <li><a href="/Groups/Computer-Security-Division/Cryptographic-Technology">Cryptographic Technology</a></li> <li><a href="/Groups/Computer-Security-Division/Secure-Systems-and-Applications">Secure Systems and Applications</a></li> <li><a href="/Groups/Computer-Security-Division/Security-Components-and-Mechanisms">Security Components and Mechanisms</a></li> <li><a href="/Groups/Computer-Security-Division/Security-Engineering-and-Risk-Management">Security Engineering and Risk Management</a></li> <li><a href="/Groups/Computer-Security-Division/Security-Testing-Validation-and-Measurement">Security Testing, Validation, and Measurement</a></li> </ul> </p> </div> <div class="col-lg-6"> <p> <strong><a href="/Groups/Applied-Cybersecurity-Division">Applied Cybersecurity Division</a></strong><br /> <ul> <li><a href="/Groups/Applied-Cybersecurity-Division/Cybersecurity-and-Privacy-Applications">Cybersecurity and Privacy Applications</a></li> <li><a href="/Groups/Applied-Cybersecurity-Division/National-Cybersecurity-Center-of-Excellence">National Cybersecurity Center of Excellence (NCCoE)</a></li> <li><a href="https://www.nist.gov/nice/">National Initiative for Cybersecurity Education (NICE)</a></li> </ul> </p> <p> <a href="/contact"> Contact Us </a> </p> </div> </div> </div> </li> </ul> </div><!-- /#mobile-nav-container --> </div> </nav> <section id="itl-header" class="has-menu"> <div class="container"> <div class="row"> <div class="col-sm-12 col-md-8"> <div class="hidden-xs hidden-sm" id="itl-header-lg"> <a href="https://www.nist.gov/itl" target="_blank" id="itl-header-link">Information Technology Laboratory</a> </div> <div class="hidden-xs hidden-sm" id="csrc-header-lg"> <a href="/" id="csrc-header-link-lg">Computer Security Resource Center</a> </div> </div> <div class="col-sm-12 col-md-4"> <div class="hidden-xs hidden-sm hidden-md"> <a id="logo-csrc-lg" href="/"><img id="img-logo-csrc-lg" src="/CSRC/Media/images/nist-logo-csrc-white.svg" alt="CSRC Logo" class="csrc-header-logo"></a> </div> <div class="hidden-lg"> <a id="logo-csrc-sm" href="/"><img id="img-logo-csrc-sm" src="/CSRC/Media/images/nist-logo-csrc-white.svg" alt="CSRC Logo" class="csrc-header-logo"></a> </div> </div> </div> </div> </section> <div id="body-section" class="container"> <div class="breadcrumb"> <a href="/projects" class="breadcrumb-link">Projects</a> <a href="/projects/cryptographic-algorithm-validation-program" class="breadcrumb-link">Cryptographic Algorithm Validation Program</a> </div> <h1 id="projectName">Cryptographic Algorithm Validation Program <small id="project-acronym">CAVP</small></h1> <div class="page-social-buttons" id="news-social-buttons"> <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Fcryptographic-algorithm-validation-program%2Fdigital-signatures" class="social-facebook"><i class="fa fa-facebook fa-fw" aria-hidden="true"></i><span class="sr-only">Share to Facebook</span></a> <a href="https://twitter.com/share?url=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Fcryptographic-algorithm-validation-program%2Fdigital-signatures" class="social-twitter"><i class="fa fa-twitter fa-fw" aria-hidden="true"></i><span class="sr-only">Share to Twitter</span></a> <a href="https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcsrc.nist.gov%2Fprojects%2Fcryptographic-algorithm-validation-program%2Fdigital-signatures&source=csrc.nist.gov" class="social-linked-in"><i class="fa fa-linkedin fa-fw" aria-hidden="true"></i><span class="sr-only">Share to LinkedIn</span></a> <a href="mailto:?subject=csrc.nist.gov&body=Check out this site https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/digital-signatures" class="social-email"><i class="fa fa-envelope fa-fw" aria-hidden="true"></i><span class="sr-only">Share ia Email</span></a> </div> <div class="row visible-sm visible-xs visible-md"> <div class="col-sm-12"> <div class="bs-callout bs-callout-subnav" id="projectLinksContainer-sm"> <h4><i class="fa fa-link"></i> Project Links</h4> <div class="project-icons-container"> <span> <a href="/projects/cryptographic-algorithm-validation-program" id="NavOverviewLink-sm"> <i class="fa fa-info-circle"></i> Overview </a> </span> <span> <a href="/Projects/cryptographic-algorithm-validation-program/presentations" id="NavPresLink-sm" data-count="35"> <i class="fa fa-desktop"></i> Presentations </a> </span> </div> </div> </div> </div> <div class="row"> <div class="col-lg-8 col-sm-12"> <h3 id="pageName">CAVP Testing: Digital Signatures</h3> <p id="content"> <h3><a id="Top" name="Top"></a>Algorithm Specifications</h3> <p>Algorithm specifications for current FIPS-approved and NIST-recommended digital signature algorithms are available from the <a data-csrc-link="true" data-node-guid="5fe10d16-699e-42c5-afa7-6c04e1ba95d2" href="/projects/digital-signatures">Cryptographic Toolkit</a>.</p> <p>Current testing includes the following algorithms:</p> <table align="center"> <tbody> <tr> <td> <p><a href="#dsa2vs">DSA</a> | <a href="#ecdsa2vs">ECDSA</a> | <a href="#rsa2vs">RSA</a> (in FIPS 186-4)</p> </td> </tr> <tr> <td> <p><a href="#dsavs">DSA</a> | <a href="#ecdsavs">ECDSA</a> | <a href="#rsavs">RSA</a> (in FIPS 186-2)</p> </td> </tr> </tbody> </table> <hr> <h3><a id="Testing" name="Testing"></a>Algorithm Validation Testing Requirements</h3> <h4><em>FIPS 186-4</em></h4> <h4><em><a id="dsa2vs" name="dsa2vs"></a>Digital Signature Algorithm (DSA)</em></h4> <p><strong><a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss2/dsa2vs.pdf">Digital Signature Algorithm Validation System (DSA2VS)</a></strong> specifies validation testing requirements for the DSA algorithm in FIPS 186-4.</p> <p><strong>Testing Notes</strong></p> <ul> <li>Prerequisites for DSA testing are listed in the <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/CAVPFAQ.pdf">CAVP Frequently Asked Questions (CAVP FAQ)</a> General Question GEN.5.</li> </ul> <h4><em><a id="ecdsa2vs" name="ecdsa2vs"></a>Elliptic Curve Digital Signature Algorithm (ECDSA)</em></h4> <p><strong><a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss2/ecdsa2vs.pdf">Elliptic Curve Digital Signature Algorithm (ECDSA) Validation System (ECDSA2VS)</a></strong> specifies validation testing requirements for the ECDSA algorithm in FIPS 186-4.</p> <p><strong>Testing Notes</strong></p> <ul> <li>Prerequisites for ECDSA testing are listed in the <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/CAVPFAQ.pdf">CAVP Frequently Asked Questions (CAVP FAQ)</a> General Question GEN.5.</li> </ul> <h4><em><a id="rsa2vs" name="rsa2vs"></a>RSA Algorithm</em></h4> <p><strong><a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss2/rsa2vs.pdf">RSA Validation System (RSA2VS) </a></strong>specifies validation testing requirements for the RSA algorithm in FIPS 186-4.</p> <p><strong>Testing Notes</strong></p> <ul> <li>Prerequisites for RSA testing are listed in the <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/CAVPFAQ.pdf">CAVP Frequently Asked Questions (CAVP FAQ)</a> General Question GEN.5.</li> </ul> <hr> <h4><em>FIPS 186-2</em></h4> <p>The following documents specify the algorithm validation testing requirements for FIPS 186-2 (with Change Notice 1, October 5, 2001) and two other versions of the RSA algorithm specified in <em>PKCS#1 v2.1: RSA Cryptography Standard, RSA Laboratories, June 2002</em>:</p> <h4><em><a id="dsavs" name="dsavs"></a>Digital Signature Algorithm (DSA)</em></h4> <p><strong><a href="/presentations/2004/the-digital-signature-algorithm-validation-system">Digital Signature Algorithm Validation System (DSAVS)</a></strong> specifies validation testing requirements for the DSA algorithm in FIPS 186-2.</p> <p><strong>Testing Notes</strong></p> <ul> <li>Prerequisites for DSA testing are listed in the <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/CAVPFAQ.pdf">CAVP Frequently Asked Questions (CAVP FAQ)</a> General Question GEN.5.</li> </ul> <h4><em><a id="ecdsavs" name="ecdsavs"></a>Elliptic Curve Digital Signature Algorithm (ECDSA)</em></h4> <p><strong><a href="/presentations/2004/the-elliptic-curve-digital-signature-algorithm-val">Elliptic Curve Digital Signature Algorithm Validation System (ECDSAVS)</a> </strong>specifies validation testing requirements for the ECDSA algorithm in FIPS 186-2.</p> <p><strong>Testing Notes</strong></p> <ul> <li>Prerequisites for ECDSA testing are listed in the <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/CAVPFAQ.pdf">CAVP Frequently Asked Questions (CAVP FAQ)</a> General Question GEN.5.</li> </ul> <h4><em><a id="rsavs" name="rsavs"></a>RSA Algorithm</em></h4> <p><strong><a href="/presentations/2004/the-rsa-validation-system-(rsavs)">RSA Validation System (RSAVS)</a></strong> specifies validation testing requirements for the RSA algorithm in FIPS 186-2 and PKCS 1.5 and PKCS PSS, two other versions of the RSA algorithm specified in <strong><a href="http://www.cryptrec.go.jp/english/cryptrec_03_spec_cypherlist_files/PDF/pkcs-1v2-12.pdf">PKCS#1 v2.1: RSA Cryptography Standard, RSA Laboratories, June 2002.</a></strong></p> <p><strong>Testing Notes</strong></p> <ul> <li>Prerequisites for RSA testing are listed in the <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/CAVPFAQ.pdf">CAVP Frequently Asked Questions (CAVP FAQ)</a> General Question GEN.5.</li> </ul> <h6 style="text-align:right"><a href="#Top">Back to Top</a></h6> <hr> <h3>Test Vectors</h3> <p><strong>Use of these test vectors does not replace validation obtained through the CAVP.</strong></p> <p>The test vectors linked below can be used to informally verify the correctness of digital signature algorithm implementations (in FIPS 186-2 and FIPS 186-4) using the validation systems <a href="#Testing">listed above</a>.</p> <p><strong>Response files (.rsp)</strong>: the test vectors are properly formatted in response (.rsp) files. Vendor response files must match this format exactly.</p> <p><strong>Intermediate results files (.txt)</strong>: files with intermediate results (.txt) are supplied to help with debugging.</p> <p>See the README file in each zip file for details.<br> </p> <table align="center" border="1" cellpadding="1" cellspacing="1" style="width:500px"> <tbody> <tr> <td style="background-color:#999999; text-align:center"><strong>Publication</strong></td> <td style="background-color:#999999; text-align:center"><strong>Algorithm Test Vectors</strong></td> </tr> <tr> <td> <p style="margin-left:40px">FIPS 186-4</p> </td> <td> <p style="margin-left:40px"><a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss/186-3dsatestvectors.zip">DSA</a> | <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss/186-4ecdsatestvectors.zip">ECDSA</a> | <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss/186-3rsatestvectors.zip">RSA</a></p> </td> </tr> <tr> <td> <p style="margin-left:40px">FIPS 186-2</p> </td> <td> <p style="margin-left:40px"><a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss/186-2dsatestvectors.zip">DSA</a> | <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss/186-2ecdsatestvectors.zip">ECDSA</a> | <a href="/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/dss/186-2rsatestvectors.zip">RSA</a></p> </td> </tr> </tbody> </table> <h6 style="text-align:right"><a href="#Top">Back to Top</a></h6> </p> </div> <div class="col-lg-4 hidden-xs hidden-sm hidden-md"> <div class="project-nav-container"> <div class="bs-callout bs-callout-subnav" id="projectLinksContainer-lg"> <h4><i class="fa fa-link"></i> Project Links</h4> <div class="project-icons-container"> <span> <a href="/projects/cryptographic-algorithm-validation-program" id="SideNavOverviewLink"> <i class="fa fa-info-circle"></i> Overview </a> </span> <span> <a href="/Projects/cryptographic-algorithm-validation-program/presentations" id="SideNavPresLink" data-count="35"> <i class="fa fa-desktop"></i> Presentations </a> </span> </div> <h4>Additional Pages</h4> <div id="projectPagesCallout-lg"> <a class="csrc-add-page" data-node-level="0" data-node-order="1" href="/Projects/cryptographic-algorithm-validation-program/how-to-access-acvts" id="projPage0" style="border-left: solid 0rem transparent;">Accessing the ACVTS</a> <a class="csrc-add-page" data-node-level="0" data-node-order="2" href="/Projects/cryptographic-algorithm-validation-program/prerequisites" id="projPage1" style="border-left: solid 0rem transparent;">Algorithm Prerequisite Testing</a> <a class="csrc-add-page" data-node-level="0" data-node-order="5" href="/Projects/cryptographic-algorithm-validation-program/validation-search" id="projPage2" style="border-left: solid 0rem transparent;">Validation Search</a> <a class="csrc-add-page" data-node-level="0" data-node-order="9" href="/Projects/cryptographic-algorithm-validation-program/Block-Ciphers" id="projPage3" style="border-left: solid 0rem transparent;">Block Ciphers</a> <a class="csrc-add-page" data-node-level="0" data-node-order="11" href="/Projects/cryptographic-algorithm-validation-program/cavp-testing-block-cipher-modes" id="projPage4" style="border-left: solid 0rem transparent;">Block Cipher Modes</a> <a class="csrc-add-page" data-node-level="0" data-node-order="12" href="/Projects/cryptographic-algorithm-validation-program/digital-signatures" id="projPage5" style="border-left: solid 0rem transparent;">Digital Signatures</a> <a class="csrc-add-page" data-node-level="0" data-node-order="13" href="/Projects/cryptographic-algorithm-validation-program/key-derivation" id="projPage6" style="border-left: solid 0rem transparent;">Key Derivation</a> <a class="csrc-add-page" data-node-level="0" data-node-order="14" href="/Projects/cryptographic-algorithm-validation-program/Key-Management" id="projPage7" style="border-left: solid 0rem transparent;">Key Management</a> <a class="csrc-add-page" data-node-level="1" data-node-order="1" href="/Projects/cryptographic-algorithm-validation-program/Key-Management/Key-Establishment" id="projPage8" style="border-left: solid 1rem transparent;">Key Establishment</a> <a class="csrc-add-page" data-node-level="0" data-node-order="15" href="/Projects/cryptographic-algorithm-validation-program/Message-Authentication" id="projPage9" style="border-left: solid 0rem transparent;">Message Authentication</a> <a class="csrc-add-page" data-node-level="0" data-node-order="16" href="/Projects/cryptographic-algorithm-validation-program/Random-Number-Generators" id="projPage10" style="border-left: solid 0rem transparent;">Random Number Generators</a> <a class="csrc-add-page" data-node-level="0" data-node-order="17" href="/Projects/cryptographic-algorithm-validation-program/Secure-Hashing" id="projPage11" style="border-left: solid 0rem transparent;">Secure Hashing</a> <a class="csrc-add-page" data-node-level="0" data-node-order="18" href="/Projects/cryptographic-algorithm-validation-program/Component-Testing" id="projPage12" style="border-left: solid 0rem transparent;">Component Testing</a> <a class="csrc-add-page" data-node-level="0" data-node-order="19" href="/Projects/cryptographic-algorithm-validation-program/Retired-Testing" id="projPage13" style="border-left: solid 0rem transparent;">Retired Testing</a> </div> </div> </div> <div class="bs-callout bs-callout-success" id="contactsCallout-lg"> <h4><i class="fa fa-user"></i> Contacts</h4> <p id="projContact0"><span class='contact-display'><strong data-field='full-name'> <span data-field='firstname'>Chris</span> <span data-field='lastname'>Celi</span> </strong> - <strong data-field='position'><span data-field='position'>Program Manager</span></strong> - <strong data-field='affiliation'><span data-field='affiliation'>NIST</span></strong><br/><a href='mailto:cavp@nist.gov' data-field='email'>cavp@nist.gov</a><br/></span></p> </div> <div class="bs-callout bs-callout-danger" id="owningGroupCallout-lg"> <h4><i class="fa fa-sitemap"></i> Group</h4> <a href="/Groups/Computer-Security-Division/Security-Testing-Validation-and-Measurement">Security Testing, Validation and Measurement</a> </div> <div class="bs-callout bs-callout-danger" id="topicsCallout-lg"> <h4><i class="fa fa-tag"></i> Topics</h4> <p> <strong id="catName0-lg">Security and Privacy:</strong> <a id="catTopLink0-0-lg" href="/Topics/Security-and-Privacy/security-measurement/assurance">assurance</a>, <a id="catTopLink0-1-lg" href="/Topics/Security-and-Privacy/cryptography">cryptography</a>, <a id="catTopLink0-2-lg" href="/Topics/Security-and-Privacy/security-measurement/testing-and-validation">testing & validation</a> </p> </div> <div class="bs-callout bs-callout-warning" id="relatedProjectsCallout-lg"> <h4>Related Projects</h4> <a href="/Projects/automated-cryptographic-validation-testing" id="relProjLink0">Automated Cryptographic Validation Testing</a><br/> <a href="/Projects/cryptographic-module-validation-program" id="relProjLink1">Cryptographic Module Validation Program</a><br/> <a href="/Projects/cryptographic-standards-and-guidelines" id="relProjLink2">Cryptographic Standards and Guidelines</a><br/> <a href="/Projects/fips-140-3-transition-effort" id="relProjLink3">FIPS 140-3 Transition Effort</a><br/> <a href="/Projects/testing-laboratories" id="relProjLink4">Testing Laboratories</a><br/> </div> </div> </div> <div class="row visible-sm visible-xs visible-md"> <div class="col-sm-12"> <div class="bs-callout bs-callout-subnav" id="projectPagesCallout-sm"> <h4>Additional Pages</h4> <p> <a class="csrc-add-page" data-node-level="0" data-node-order="1" href="/Projects/cryptographic-algorithm-validation-program/how-to-access-acvts" id="projPage0-sm" style="border-left: solid 0rem transparent;">Accessing the ACVTS</a> <a class="csrc-add-page" data-node-level="0" data-node-order="2" href="/Projects/cryptographic-algorithm-validation-program/prerequisites" id="projPage1-sm" style="border-left: solid 0rem transparent;">Algorithm Prerequisite Testing</a> <a class="csrc-add-page" data-node-level="0" data-node-order="5" href="/Projects/cryptographic-algorithm-validation-program/validation-search" id="projPage2-sm" style="border-left: solid 0rem transparent;">Validation Search</a> <a class="csrc-add-page" data-node-level="0" data-node-order="9" href="/Projects/cryptographic-algorithm-validation-program/Block-Ciphers" id="projPage3-sm" style="border-left: solid 0rem transparent;">Block Ciphers</a> <a class="csrc-add-page" data-node-level="0" data-node-order="11" href="/Projects/cryptographic-algorithm-validation-program/cavp-testing-block-cipher-modes" id="projPage4-sm" style="border-left: solid 0rem transparent;">Block Cipher Modes</a> <a class="csrc-add-page" data-node-level="0" data-node-order="12" href="/Projects/cryptographic-algorithm-validation-program/digital-signatures" id="projPage5-sm" style="border-left: solid 0rem transparent;">Digital Signatures</a> <a class="csrc-add-page" data-node-level="0" data-node-order="13" href="/Projects/cryptographic-algorithm-validation-program/key-derivation" id="projPage6-sm" style="border-left: solid 0rem transparent;">Key Derivation</a> <a class="csrc-add-page" data-node-level="0" data-node-order="14" href="/Projects/cryptographic-algorithm-validation-program/Key-Management" id="projPage7-sm" style="border-left: solid 0rem transparent;">Key Management</a> <a class="csrc-add-page" data-node-level="1" data-node-order="1" href="/Projects/cryptographic-algorithm-validation-program/Key-Management/Key-Establishment" id="projPage8-sm" style="border-left: solid 1rem transparent;">Key Establishment</a> <a class="csrc-add-page" data-node-level="0" data-node-order="15" href="/Projects/cryptographic-algorithm-validation-program/Message-Authentication" id="projPage9-sm" style="border-left: solid 0rem transparent;">Message Authentication</a> <a class="csrc-add-page" data-node-level="0" data-node-order="16" href="/Projects/cryptographic-algorithm-validation-program/Random-Number-Generators" id="projPage10-sm" style="border-left: solid 0rem transparent;">Random Number Generators</a> <a class="csrc-add-page" data-node-level="0" data-node-order="17" href="/Projects/cryptographic-algorithm-validation-program/Secure-Hashing" id="projPage11-sm" style="border-left: solid 0rem transparent;">Secure Hashing</a> <a class="csrc-add-page" data-node-level="0" data-node-order="18" href="/Projects/cryptographic-algorithm-validation-program/Component-Testing" id="projPage12-sm" style="border-left: solid 0rem transparent;">Component Testing</a> <a class="csrc-add-page" data-node-level="0" data-node-order="19" href="/Projects/cryptographic-algorithm-validation-program/Retired-Testing" id="projPage13-sm" style="border-left: solid 0rem transparent;">Retired Testing</a> </p> </div> <div class="bs-callout bs-callout-subnav" id="contactsCallout-sm"> <h4><i class="fa fa-user"></i> Contacts</h4> <p style="padding-left: 15px;"> <span id="projContact0-sm"><span class='contact-display'><strong data-field='full-name'> <span data-field='firstname'>Chris</span> <span data-field='lastname'>Celi</span> </strong> - <strong data-field='position'><span data-field='position'>Program Manager</span></strong> - <strong data-field='affiliation'><span data-field='affiliation'>NIST</span></strong><br/><a href='mailto:cavp@nist.gov' data-field='email'>cavp@nist.gov</a><br/></span></span><br/> </p> </div> <div class="bs-callout bs-callout-danger" id="owningGroupCallout-sm"> <h4><i class="fa fa-sitemap"></i> Group</h4> <a href="/Groups/Computer-Security-Division/Security-Testing-Validation-and-Measurement">Security Testing, Validation and Measurement</a> </div> <div class="bs-callout bs-callout-danger" id="topicsCallout-sm"> <h4><i class="fa fa-tag"></i> Topics</h4> <p> <strong id="catName0-sm">Security and Privacy:</strong> <a id="catTopLink0-0-sm" href="/Topics/Security-and-Privacy/security-measurement/assurance">assurance</a>, <a id="catTopLink0-1-sm" href="/Topics/Security-and-Privacy/cryptography">cryptography</a>, <a id="catTopLink0-2-sm" href="/Topics/Security-and-Privacy/security-measurement/testing-and-validation">testing & validation</a> </p> </div> <div class="bs-callout bs-callout-warning" id="relatedProjectsCallout-sm"> <h4>Related Projects</h4> <p> <a href="/Projects/automated-cryptographic-validation-testing" id="relProjLink0-sm">Automated Cryptographic Validation Testing</a><br/> <a href="/Projects/cryptographic-module-validation-program" id="relProjLink1-sm">Cryptographic Module Validation Program</a><br/> <a href="/Projects/cryptographic-standards-and-guidelines" id="relProjLink2-sm">Cryptographic Standards and Guidelines</a><br/> <a href="/Projects/fips-140-3-transition-effort" id="relProjLink3-sm">FIPS 140-3 Transition Effort</a><br/> <a href="/Projects/testing-laboratories" id="relProjLink4-sm">Testing Laboratories</a><br/> </p> </div> </div> </div> <div class="row"> <div class="col-md-12 historical-data-area" id="historical-data-area"> <span>Created <span id="page-created-date">October 05, 2016</span>, Updated <span id="page-updated-date">August 08, 2024</span></span> </div> </div> <div id="footer-pusher"></div> </div> <footer id="footer"> <div class="container"> <div class="row"> <div class="col-sm-6"> <span class="hidden-xs"> <a href="https://www.nist.gov" title="National Institute of Standards and Technology" rel="home" target="_blank" class="footer-nist-logo" id="footer-nist-logo-link"> <img src="/CSRC/Media/images/nist-logo-brand-white.svg" alt="National Institute of Standards and Technology logo" id="footer-nist-logo" /> </a> </span> <div class="row footer-contact-container"> <div class="col-sm-12" id="footer-address"> <strong>HEADQUARTERS</strong><br> 100 Bureau Drive<br> Gaithersburg, MD 20899 </div> </div> </div> <div class="col-sm-6"> <ul class="social-list text-right" style="display: block;"> <li class="field-item service-twitter list-horiz"> <a href="https://twitter.com/NISTCyber" class="social-btn social-btn--large extlink ext" id="footer-social-twitter-link"> <i class="fa fa-twitter fa-fw"><span class="element-invisible">twitter</span></i><span class="ext"><span class="element-invisible"> (link is external)</span></span> </a> </li> <li class="field-item service-facebook list-horiz"> <a href="https://www.facebook.com/NIST" class="social-btn social-btn--large extlink ext" id="footer-social-facebook-link"> <i class="fa fa-facebook fa-fw"><span class="element-invisible">facebook</span></i><span class="ext"><span class="element-invisible"> (link is external)</span></span> </a> </li> <li class="field-item service-linkedin list-horiz"> <a href="https://www.linkedin.com/company/nist" class="social-btn social-btn--large extlink ext" id="footer-social-linkedin-link"> <i class="fa fa-linkedin fa-fw"><span class="element-invisible">linkedin</span></i><span class="ext"><span class="element-invisible"> (link is external)</span></span> </a> </li> <li class="field-item service-instagram list-horiz"> <a href="https://www.instagram.com/usnistgov/" class="social-btn social-btn--large extlink ext" id="footer-social-instagram-link"> <i class="fa fa-instagram fa-fw"><span class="element-invisible">instagram</span></i> <span class="ext"><span class="element-invisible"> (link is external)</span></span> </a> </li> <li class="field-item service-youtube list-horiz"> <a href="https://www.youtube.com/user/USNISTGOV" class="social-btn social-btn--large extlink ext" id="footer-social-youtube-link"> <i class="fa fa-youtube fa-fw"><span class="element-invisible">youtube</span></i><span class="ext"><span class="element-invisible"> (link is external)</span></span> </a> </li> <li class="field-item service-rss list-horiz"> <a href="https://www.nist.gov/news-events/nist-rss-feeds" class="social-btn social-btn--large extlink" id="footer-social-rss-link"> <i class="fa fa-rss fa-fw"><span class="element-invisible">rss</span></i> </a> </li> <li class="field-item service-govdelivery list-horiz last"> <a href="https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3" class="social-btn social-btn--large extlink ext" title="Subscribe to CSRC and publication updates, and other NIST cybersecurity news" id="footer-social-govdelivery-link"> <i class="fa fa-envelope fa-fw"><span class="element-invisible">govdelivery</span></i><span class="ext"><span class="element-invisible"> (link is external)</span></span> </a> </li> </ul> <p class="text-right"> Want updates about CSRC and our publications? <a href="https://public.govdelivery.com/accounts/USNIST/subscriber/new?qsp=USNIST_3" class="btn btn-lg btn-primary" style="background-color: #12659c!important; border-color: #12659c!important;" id="footer-subscribe-link">Subscribe</a> </p> </div> </div> <div class="row hidden-sm hidden-md hidden-lg"> <div class="col-sm-12"> <a href="https://www.nist.gov" title="National Institute of Standards and Technology" rel="home" target="_blank" class="footer-nist-logo" id="footer-bottom-nist-logo-link"> <img src="/CSRC/Media/images/logo_rev.png" alt="National Institute of Standards and Technology logo" id="footer-bottom-nist-logo" /> </a> </div> </div> <div class="row"> <div class="col-sm-6"> <p> <a href="/about/contact" id="footer-contact-us-link">Contact Us</a> | <a href="https://www.nist.gov/about-nist/visit" style="display: inline-block;" id="footer-org-link">Our Other Offices</a> </p> </div> <div class="col-sm-6"> <span class="pull-right text-right"> Send inquiries to <a href="mailto:csrc-inquiry@nist.gov?subject=CSRC Inquiry" style="display: inline-block;" id="footer-inquiries-link">csrc-inquiry@nist.gov</a> </span> </div> </div> <div class="row"> <div class="footer-bottom-links-container" id="footer-bottom-links-container"> <ul> <li><a href="https://www.nist.gov/privacy-policy">Site Privacy</a></li> <li><a href="https://www.nist.gov/oism/accessibility">Accessibility</a></li> <li><a href="https://www.nist.gov/privacy">Privacy Program</a></li> <li><a href="https://www.nist.gov/oism/copyrights">Copyrights</a></li> <li><a href="https://www.commerce.gov/vulnerability-disclosure-policy">Vulnerability Disclosure</a></li> <li><a href="https://www.nist.gov/no-fear-act-policy">No Fear Act Policy</a></li> <li><a href="https://www.nist.gov/foia">FOIA</a></li> <li><a href="https://www.nist.gov/environmental-policy-statement">Environmental Policy</a></li> <li><a href="https://www.nist.gov/summary-report-scientific-integrity">Scientific Integrity</a></li> <li><a href="https://www.nist.gov/nist-information-quality-standards">Information Quality Standards</a></li> <li><a href="https://www.commerce.gov/">Commerce.gov</a></li> <li><a href="https://www.science.gov/">Science.gov</a></li> <li><a href="https://www.usa.gov/">USA.gov</a></li> <li><a href="https://vote.gov/">Vote.gov</a></li> </ul> </div> </div> </div> </footer> <script type="text/javascript" src="/dist/js/quick-collapse.js"></script> <script type="text/javascript" src="/dist/app.bundle.js"></script> <!-- USWDS Bottom --> <script type="text/javascript" src="/dist/uswds/js/uswds.min.js"></script> <script type="text/javascript" src="/dist/projects.bundle.js"></script> </body> </html>