commit | f3ccc681001b8bc3a74e060597203a682072d6f6 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Thu Mar 18 21:21:02 2010 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Mar 18 21:21:02 2010 +0000 |
tree | bd4d553792b8f9b5e4ab4794404b8ccd6ca494a1 | |
parent | 4fc45522f12793bbce33c1fbb37e15b2818ff72c [diff] [blame] |
- Fixed cipher interface for encrypt/decrypt functions
diff --git a/library/padlock.c b/library/padlock.c index 9d62d0a..4c30ddd 100644 --- a/library/padlock.c +++ b/library/padlock.c
@@ -126,7 +126,7 @@ if( ( (long) input & 15 ) != 0 || ( (long) output & 15 ) != 0 ) - return( 1 ); + return( POLARSSL_ERR_PADLOCK_DATA_MISALIGNED ); rk = ctx->rk; iw = PADLOCK_ALIGN16( buf );