diff options
author | Devel <acompagn+fdio@cisco.com> | 2018-04-16 16:52:31 +0200 |
---|---|---|
committer | Alberto Compagno <acompagn+fdio@cisco.com> | 2018-04-16 15:23:49 +0000 |
commit | 799484812a3fdd9d5d6e71c5fc4b483043347bca (patch) | |
tree | 40993aeb725715bbb97bc353351e718639ba0d53 /libparc/parc/security/parc_CryptoSuite.h | |
parent | e4fcd260cb99434033a8ccfba12eee12dab190b9 (diff) |
Added method to retrieve the signature length from the signer. Fixed bug on parc-publickey
Change-Id: If188601e83d0cebf42d2e868e1dce430eabfa1f2
Signed-off-by: Devel <acompagn+fdio@cisco.com>
Diffstat (limited to 'libparc/parc/security/parc_CryptoSuite.h')
-rwxr-xr-x | libparc/parc/security/parc_CryptoSuite.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libparc/parc/security/parc_CryptoSuite.h b/libparc/parc/security/parc_CryptoSuite.h index 0276287b..366bcb11 100755 --- a/libparc/parc/security/parc_CryptoSuite.h +++ b/libparc/parc/security/parc_CryptoSuite.h @@ -60,23 +60,6 @@ typedef enum { PARCCryptoHashType parcCryptoSuite_GetCryptoHash(PARCCryptoSuite suite); /** - * Given a PARCCryptoSuite value and the key length, return the expected length in bits of the signature. - * For ECDSA the result is the maximum length - * - * @param [in] suite A PARCCryptoSuite value. - * - * @return A PARCCryptoHashType value - * - * Example: - * @code - * { - * int bits = parcCryptoSuite_GetSignatureSizeBits(PARCCryptoSuite_RSA_SHA256, 1024); - * } - * @endcode - */ -int parcCryptoSuite_GetSignatureSizeBits(PARCCryptoSuite suite, int keyLengthBits); - -/** * Given a PARCCryptoSuite value and the key length, return the expected length in bytes of the signature. * For ECDSA the result is the maximum length * |