mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
- Fixed cipher interface for encrypt/decrypt functions
This commit is contained in:
parent
4fc45522f1
commit
f3ccc68100
21 changed files with 286 additions and 170 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue