mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Make chacha20 go faster
This commit is contained in:
parent
c0bec24fa2
commit
0ecd71f697
7 changed files with 232 additions and 309 deletions
4
third_party/mbedtls/error.c
vendored
4
third_party/mbedtls/error.c
vendored
|
@ -496,10 +496,6 @@ const char * mbedtls_low_level_strerr( int error_code )
|
|||
#if defined(MBEDTLS_CHACHA20_C)
|
||||
case -(MBEDTLS_ERR_CHACHA20_BAD_INPUT_DATA):
|
||||
return( "CHACHA20 - Invalid input parameter(s)" );
|
||||
case -(MBEDTLS_ERR_CHACHA20_FEATURE_UNAVAILABLE):
|
||||
return( "CHACHA20 - Feature not available. For example, s part of the API is not implemented" );
|
||||
case -(MBEDTLS_ERR_CHACHA20_HW_ACCEL_FAILED):
|
||||
return( "CHACHA20 - Chacha20 hardware accelerator failed" );
|
||||
#endif /* MBEDTLS_CHACHA20_C */
|
||||
|
||||
#if defined(MBEDTLS_CHACHAPOLY_C)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue