Skip to content

Commit

Permalink
remove unnecessary pointer increment
Browse files Browse the repository at this point in the history
  • Loading branch information
geedo0 committed Aug 26, 2024
1 parent ac5f4a1 commit 66fafed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kexoqsx25519.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ static int kex_kem_generic_with_x25519_enc(OQS_KEM *kem, struct kex *kex,
}
client_pub += kem->length_public_key;
public_key += kem->length_ciphertext;
private_key += kem->length_shared_secret;

kexc25519_keygen(server_key, public_key);
if ((r = kexc25519_shared_key_ext(server_key, client_pub, buf, 1)) < 0) {
Expand Down

0 comments on commit 66fafed

Please sign in to comment.