mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +00:00
- Fixed argument types
This commit is contained in:
parent
34d8dbcc6d
commit
43ae298410
@ -104,7 +104,7 @@ int pkcs11_decrypt( pkcs11_context *ctx,
|
|||||||
int mode, size_t *olen,
|
int mode, size_t *olen,
|
||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
unsigned char *output,
|
unsigned char *output,
|
||||||
unsigned int output_max_len );
|
size_t output_max_len );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Do a private RSA to sign a message digest
|
* \brief Do a private RSA to sign a message digest
|
||||||
@ -134,7 +134,7 @@ int pkcs11_sign( pkcs11_context *ctx,
|
|||||||
*/
|
*/
|
||||||
static inline int ssl_pkcs11_decrypt( void *ctx, int mode, size_t *olen,
|
static inline int ssl_pkcs11_decrypt( void *ctx, int mode, size_t *olen,
|
||||||
const unsigned char *input, unsigned char *output,
|
const unsigned char *input, unsigned char *output,
|
||||||
unsigned int output_max_len )
|
size_t output_max_len )
|
||||||
{
|
{
|
||||||
return pkcs11_decrypt( (pkcs11_context *) ctx, mode, olen, input, output,
|
return pkcs11_decrypt( (pkcs11_context *) ctx, mode, olen, input, output,
|
||||||
output_max_len );
|
output_max_len );
|
||||||
|
@ -115,7 +115,7 @@ int pkcs11_decrypt( pkcs11_context *ctx,
|
|||||||
int mode, size_t *olen,
|
int mode, size_t *olen,
|
||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
unsigned char *output,
|
unsigned char *output,
|
||||||
unsigned int output_max_len )
|
size_t output_max_len )
|
||||||
{
|
{
|
||||||
size_t input_len, output_len;
|
size_t input_len, output_len;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user