mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Review comment
This commit is contained in:
@@ -29,7 +29,7 @@ The `IDE/CRYPTOCELL/main.c` example application provides a function to run the s
|
|||||||
- Hardware RNG
|
- Hardware RNG
|
||||||
- RTC for benchmark timing source
|
- RTC for benchmark timing source
|
||||||
|
|
||||||
Note: All Cryptocell features are not supported. The wolfcrypt RSA API allows import and export of Private/Public keys in DER format. However, this is not possible keys generated with Cryptocell because the reconstruction of the imported keys has not been implemented.
|
Note: All Cryptocell features are not supported. The wolfcrypt RSA API allows import and export of Private/Public keys in DER format. However, this is not possible with key pairs generated with Cryptocell because the importing/exporting Cryptocell keys has not been implemented yet.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
### Setting up Nordic SDK with wolfSSL
|
### Setting up Nordic SDK with wolfSSL
|
||||||
|
@@ -11844,7 +11844,16 @@ int rsa_test(void)
|
|||||||
#ifndef WOLFSSL_RSA_VERIFY_INLINE
|
#ifndef WOLFSSL_RSA_VERIFY_INLINE
|
||||||
|
|
||||||
#if defined(WOLFSSL_CRYPTOCELL)
|
#if defined(WOLFSSL_CRYPTOCELL)
|
||||||
/* Cryptocell requires the input data and signature to verify */
|
/*
|
||||||
|
Cryptocell requires the input data and signature byte array to verify.
|
||||||
|
|
||||||
|
first argument must be the input data
|
||||||
|
second argument must be the length of input data
|
||||||
|
third argument must be the signature byte array or the output from
|
||||||
|
wc_RsaSSL_Sign()
|
||||||
|
fourth argument must be the length of the signature byte array
|
||||||
|
*/
|
||||||
|
|
||||||
ret = wc_RsaSSL_Verify(in, inLen, out, outSz, &key);
|
ret = wc_RsaSSL_Verify(in, inLen, out, outSz, &key);
|
||||||
#else
|
#else
|
||||||
ret = wc_RsaSSL_Verify(out, idx, plain, plainSz, &key);
|
ret = wc_RsaSSL_Verify(out, idx, plain, plainSz, &key);
|
||||||
|
Reference in New Issue
Block a user