File tree Expand file tree Collapse file tree 6 files changed +57
-3
lines changed
Documentation/platforms/risc-v Expand file tree Collapse file tree 6 files changed +57
-3
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,24 @@ disables the NuttShell to get the best possible score.
163
163
.. note :: As the NSH is disabled, the application will start as soon as the
164
164
system is turned on.
165
165
166
+ crypto
167
+ ------
168
+
169
+ This configuration enables support for the cryptographic hardware and
170
+ the ``/dev/crypto `` device file. Currently, we are supporting SHA-1,
171
+ SHA-224 and SHA-256 algorithms using hardware.
172
+ To test hardware acceleration, you can use `hmac ` example and following output
173
+ should look like this::
174
+
175
+ nsh> hmac
176
+ ...
177
+ hmac sha1 success
178
+ hmac sha1 success
179
+ hmac sha1 success
180
+ hmac sha256 success
181
+ hmac sha256 success
182
+ hmac sha256 success
183
+
166
184
efuse
167
185
-----
168
186
Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ RMT Yes
365
365
RNG Yes
366
366
RSA No
367
367
RTC Yes
368
- SHA No
368
+ SHA Yes
369
369
SPI Yes
370
370
SPIFLASH Yes
371
371
SPIRAM No
Original file line number Diff line number Diff line change @@ -146,6 +146,24 @@ disables the NuttShell to get the best possible score.
146
146
.. note :: As the NSH is disabled, the application will start as soon as the
147
147
system is turned on.
148
148
149
+ crypto
150
+ ------
151
+
152
+ This configuration enables support for the cryptographic hardware and
153
+ the ``/dev/crypto `` device file. Currently, we are supporting SHA-1,
154
+ SHA-224 and SHA-256 algorithms using hardware.
155
+ To test hardware acceleration, you can use `hmac ` example and following output
156
+ should look like this::
157
+
158
+ nsh> hmac
159
+ ...
160
+ hmac sha1 success
161
+ hmac sha1 success
162
+ hmac sha1 success
163
+ hmac sha256 success
164
+ hmac sha256 success
165
+ hmac sha256 success
166
+
149
167
efuse
150
168
-----
151
169
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ RNG Yes
356
356
RSA No
357
357
RTC Yes
358
358
SDIO No
359
- SHA No
359
+ SHA Yes
360
360
SPI Yes
361
361
SPIFLASH Yes
362
362
SPIRAM No
Original file line number Diff line number Diff line change @@ -129,6 +129,24 @@ disables the NuttShell to get the best possible score.
129
129
.. note :: As the NSH is disabled, the application will start as soon as the
130
130
system is turned on.
131
131
132
+ crypto
133
+ ------
134
+
135
+ This configuration enables support for the cryptographic hardware and
136
+ the ``/dev/crypto `` device file. Currently, we are supporting SHA-1,
137
+ SHA-224 and SHA-256 algorithms using hardware.
138
+ To test hardware acceleration, you can use `hmac ` example and following output
139
+ should look like this::
140
+
141
+ nsh> hmac
142
+ ...
143
+ hmac sha1 success
144
+ hmac sha1 success
145
+ hmac sha1 success
146
+ hmac sha256 success
147
+ hmac sha256 success
148
+ hmac sha256 success
149
+
132
150
efuse
133
151
-----
134
152
Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ RMT Yes
357
357
RNG Yes
358
358
RSA No
359
359
RTC Yes
360
- SHA No
360
+ SHA Yes
361
361
SPI Yes
362
362
SPIFLASH Yes
363
363
SPIRAM No
You can’t perform that action at this time.
0 commit comments