mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
crypto: Avoid unused parameter warnings
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
824c56067b
commit
5bdb7a5079
@@ -705,6 +705,7 @@ evp_cipher_aead_get_length(struct ssh_cipher_struct *cipher,
|
|||||||
size_t len,
|
size_t len,
|
||||||
uint64_t seq)
|
uint64_t seq)
|
||||||
{
|
{
|
||||||
|
(void)cipher;
|
||||||
(void)seq;
|
(void)seq;
|
||||||
|
|
||||||
/* The length is not encrypted: Copy it to the result buffer */
|
/* The length is not encrypted: Copy it to the result buffer */
|
||||||
|
|||||||
@@ -422,6 +422,7 @@ aes_aead_get_length(struct ssh_cipher_struct *cipher,
|
|||||||
size_t len,
|
size_t len,
|
||||||
uint64_t seq)
|
uint64_t seq)
|
||||||
{
|
{
|
||||||
|
(void)cipher;
|
||||||
(void)seq;
|
(void)seq;
|
||||||
|
|
||||||
/* The length is not encrypted: Copy it to the result buffer */
|
/* The length is not encrypted: Copy it to the result buffer */
|
||||||
|
|||||||
@@ -853,6 +853,7 @@ cipher_gcm_get_length(struct ssh_cipher_struct *cipher,
|
|||||||
size_t len,
|
size_t len,
|
||||||
uint64_t seq)
|
uint64_t seq)
|
||||||
{
|
{
|
||||||
|
(void)cipher;
|
||||||
(void)seq;
|
(void)seq;
|
||||||
|
|
||||||
/* The length is not encrypted: Copy it to the result buffer */
|
/* The length is not encrypted: Copy it to the result buffer */
|
||||||
|
|||||||
Reference in New Issue
Block a user