|
void | dsaInitDomainParameters (DsaDomainParameters *params) |
| Initialize DSA domain parameters. More...
|
|
void | dsaFreeDomainParameters (DsaDomainParameters *params) |
| Release DSA domain parameters. More...
|
|
void | dsaInitPublicKey (DsaPublicKey *key) |
| Initialize a DSA public key. More...
|
|
void | dsaFreePublicKey (DsaPublicKey *key) |
| Release a DSA public key. More...
|
|
void | dsaInitPrivateKey (DsaPrivateKey *key) |
| Initialize a DSA private key. More...
|
|
void | dsaFreePrivateKey (DsaPrivateKey *key) |
| Release a DSA private key. More...
|
|
void | dsaInitSignature (DsaSignature *signature) |
| Initialize a DSA signature. More...
|
|
void | dsaFreeSignature (DsaSignature *signature) |
| Release a DSA signature. More...
|
|
error_t | dsaWriteSignature (const DsaSignature *signature, uint8_t *data, size_t *length) |
| Encode DSA signature using ASN.1. More...
|
|
error_t | dsaReadSignature (const uint8_t *data, size_t length, DsaSignature *signature) |
| Read an ASN.1 encoded DSA signature. More...
|
|
error_t | dsaGenerateSignature (const PrngAlgo *prngAlgo, void *prngContext, const DsaPrivateKey *key, const uint8_t *digest, size_t digestLen, DsaSignature *signature) |
| DSA signature generation. More...
|
|
error_t | dsaVerifySignature (const DsaPublicKey *key, const uint8_t *digest, size_t digestLen, const DsaSignature *signature) |
| DSA signature verification. More...
|
|
|
const uint8_t | DSA_OID [7] = {0x2A, 0x86, 0x48, 0xCE, 0x38, 0x04, 0x01} |
|
const uint8_t | DSA_WITH_SHA1_OID [7] = {0x2A, 0x86, 0x48, 0xCE, 0x38, 0x04, 0x03} |
|
const uint8_t | DSA_WITH_SHA224_OID [9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x01} |
|
const uint8_t | DSA_WITH_SHA256_OID [9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x02} |
|
const uint8_t | DSA_WITH_SHA384_OID [9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x03} |
|
const uint8_t | DSA_WITH_SHA512_OID [9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x04} |
|
const uint8_t | DSA_WITH_SHA3_224_OID [9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x05} |
|
const uint8_t | DSA_WITH_SHA3_256_OID [9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x06} |
|
const uint8_t | DSA_WITH_SHA3_384_OID [9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x07} |
|
const uint8_t | DSA_WITH_SHA3_512_OID [9] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x08} |
|
DSA (Digital Signature Algorithm)
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneCRYPTO Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Description
The Digital Signature Algorithm (DSA) is a an algorithm developed by the NSA to generate a digital signature for the authentication of electronic documents. Refer to FIPS 186-3 for more details
- Author
- Oryx Embedded SARL (www.oryx-embedded.com)
- Version
- 2.4.4
Definition in file dsa.c.