credentials: Added void *params to public_key encrypt() and private_key decrypt() methods
This commit is contained in:
@@ -141,7 +141,7 @@ METHOD(private_key_t, sign, bool,
|
||||
|
||||
METHOD(private_key_t, decrypt, bool,
|
||||
private_botan_ec_private_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t crypto, chunk_t *plain)
|
||||
void *params, chunk_t crypto, chunk_t *plain)
|
||||
{
|
||||
DBG1(DBG_LIB, "EC private key decryption not implemented");
|
||||
return FALSE;
|
||||
|
||||
@@ -190,7 +190,7 @@ METHOD(public_key_t, verify, bool,
|
||||
|
||||
METHOD(public_key_t, encrypt, bool,
|
||||
private_botan_ec_public_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t crypto, chunk_t *plain)
|
||||
void *params, chunk_t crypto, chunk_t *plain)
|
||||
{
|
||||
DBG1(DBG_LIB, "EC public key encryption not implemented");
|
||||
return FALSE;
|
||||
|
||||
@@ -74,7 +74,7 @@ METHOD(private_key_t, sign, bool,
|
||||
|
||||
METHOD(private_key_t, decrypt, bool,
|
||||
private_private_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t crypto, chunk_t *plain)
|
||||
void *params, chunk_t crypto, chunk_t *plain)
|
||||
{
|
||||
DBG1(DBG_LIB, "EdDSA private key decryption not implemented");
|
||||
return FALSE;
|
||||
|
||||
@@ -82,7 +82,7 @@ METHOD(public_key_t, verify, bool,
|
||||
|
||||
METHOD(public_key_t, encrypt, bool,
|
||||
private_public_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t crypto, chunk_t *plain)
|
||||
void *params, chunk_t crypto, chunk_t *plain)
|
||||
{
|
||||
DBG1(DBG_LIB, "EdDSA public key encryption not implemented");
|
||||
return FALSE;
|
||||
|
||||
@@ -159,7 +159,7 @@ METHOD(private_key_t, sign, bool,
|
||||
|
||||
METHOD(private_key_t, decrypt, bool,
|
||||
private_botan_rsa_private_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t crypto, chunk_t *plain)
|
||||
void *params, chunk_t crypto, chunk_t *plain)
|
||||
{
|
||||
botan_pk_op_decrypt_t decrypt_op;
|
||||
const char *padding;
|
||||
|
||||
@@ -139,7 +139,7 @@ METHOD(public_key_t, verify, bool,
|
||||
|
||||
METHOD(public_key_t, encrypt, bool,
|
||||
private_botan_rsa_public_key_t *this, encryption_scheme_t scheme,
|
||||
chunk_t plain, chunk_t *crypto)
|
||||
void *params, chunk_t plain, chunk_t *crypto)
|
||||
{
|
||||
botan_pk_op_encrypt_t encrypt_op;
|
||||
botan_rng_t rng;
|
||||
|
||||
Reference in New Issue
Block a user