mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-24 17:41:01 +03:00
- Fixed cipher interface for encrypt/decrypt functions
This commit is contained in:
@@ -126,7 +126,7 @@ int padlock_xcryptcbc( aes_context *ctx,
|
||||
|
||||
if( ( (long) input & 15 ) != 0 ||
|
||||
( (long) output & 15 ) != 0 )
|
||||
return( 1 );
|
||||
return( POLARSSL_ERR_PADLOCK_DATA_MISALIGNED );
|
||||
|
||||
rk = ctx->rk;
|
||||
iw = PADLOCK_ALIGN16( buf );
|
||||
|
||||
Reference in New Issue
Block a user