| c0f1c1f8 | 25-Jan-2017 |
Wojciech Macek <[email protected]> |
Fix SHA256 usage on older CESA versions
Adding SHA256 support to Marvell crypto driver resulted in regression for older SoC's, not capable of handling this mode in hardware.
Submitted by:
Fix SHA256 usage on older CESA versions
Adding SHA256 support to Marvell crypto driver resulted in regression for older SoC's, not capable of handling this mode in hardware.
Submitted by: Emeric Poupon <[email protected]> Obtained from: Stormshield Sponsored by: Stormshield Reviewed by: zbb Differential revision: https://reviews.freebsd.org/D9215
show more ...
|
| 81526b83 | 25-Jan-2017 |
Wojciech Macek <[email protected]> |
Use SoC ID - based detection in CESA
This commit introduces following changes in order to get rid of ifdef's from all around the driver. * Introduce sc_soc_id field in cesa_softc structure - this va
Use SoC ID - based detection in CESA
This commit introduces following changes in order to get rid of ifdef's from all around the driver. * Introduce sc_soc_id field in cesa_softc structure - this value is obtained in cesa_attach() anyway, so make use of it. * Replace ifdefs with SoC ID checks. * Perform PM control status only for relevant SoC's.
Submitted by: Marcin Wojtas <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Reviewed by: zbb Differential revision: https://reviews.freebsd.org/D9247
show more ...
|
| b07df6e5 | 02-Jun-2016 |
Zbigniew Bodek <[email protected]> |
Add HMAC-SHA256 support in CESA
Only HMAC-SHA256 is added as it is the only SHA-2 variant supported by cryptodev. It is not possible to register hardware support for other algorithms in the family i
Add HMAC-SHA256 support in CESA
Only HMAC-SHA256 is added as it is the only SHA-2 variant supported by cryptodev. It is not possible to register hardware support for other algorithms in the family including regular non-keyed SHA256.
Submitted by: Michal Stanek <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential revision: https://reviews.freebsd.org/D6219
show more ...
|
| 1e964f8a | 02-Jun-2016 |
Zbigniew Bodek <[email protected]> |
Truncate HMAC output only if requested by the client
The output of HMAC was previously truncated to 12 bytes. This was only correct in case of one particular crypto client - the new version of IPSEC
Truncate HMAC output only if requested by the client
The output of HMAC was previously truncated to 12 bytes. This was only correct in case of one particular crypto client - the new version of IPSEC. Fix by taking into account the cri_mlen field in cryptoini session request filled in by the client.
Submitted by: Michal Stanek <[email protected]> Obtained from: Semihalf Sponsored by: Stormshield Differential revision: https://reviews.freebsd.org/D6218
show more ...
|