mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-02 10:00:47 -04:00
padlock.c: guard mbedtls_padlock_xcryptcbc by CIPHER_MODE_CBC
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
cd25d22526
commit
0287b9d260
@ -108,6 +108,7 @@ int mbedtls_padlock_xcryptecb(mbedtls_aes_context *ctx,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_CBC)
|
||||||
/*
|
/*
|
||||||
* PadLock AES-CBC buffer en(de)cryption
|
* PadLock AES-CBC buffer en(de)cryption
|
||||||
*/
|
*/
|
||||||
@ -161,6 +162,7 @@ int mbedtls_padlock_xcryptcbc(mbedtls_aes_context *ctx,
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_CBC */
|
||||||
|
|
||||||
#endif /* MBEDTLS_VIA_PADLOCK_HAVE_CODE */
|
#endif /* MBEDTLS_VIA_PADLOCK_HAVE_CODE */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user