*/
struct gcm_padlock_aes_ctx GCM_CTX(struct padlock_ctx);
-static void padlock_aes_encrypt(void *_ctx,
- unsigned length, uint8_t * dst,
+static void padlock_aes_encrypt(const void *_ctx,
+ size_t length, uint8_t * dst,
const uint8_t * src)
{
struct padlock_ctx *ctx = _ctx;
*/
struct gcm_x86_aes_ctx GCM_CTX(AES_KEY);
-static void x86_aes_encrypt(void *_ctx,
- unsigned length, uint8_t * dst,
+static void x86_aes_encrypt(const void *_ctx,
+ size_t length, uint8_t * dst,
const uint8_t * src)
{
AES_KEY *ctx = _ctx;
*/
struct gcm_x86_aes_ctx GCM_CTX(AES_KEY);
-static void x86_aes_encrypt(void *_ctx,
- unsigned length, uint8_t * dst,
+static void x86_aes_encrypt(const void *_ctx,
+ size_t length, uint8_t * dst,
const uint8_t * src)
{
AES_KEY *ctx = _ctx;