Skip to content

Commit

Permalink
Merge pull request #4 from duckduckgo/brindy/sync-connect
Browse files Browse the repository at this point in the history
expose seal extra bytes size
  • Loading branch information
brindy authored Mar 30, 2023
2 parents cc2b7ba + c62485f commit 2ab6ab6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion native_lib/DDGSyncCrypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ typedef enum : int {
DDGSYNCCRYPTO_ENCRYPTED_EXTRA_BYTES_SIZE = (crypto_secretbox_MACBYTES + crypto_secretbox_NONCEBYTES),
DDGSYNCCRYPTO_PUBLIC_KEY_SIZE = crypto_box_PUBLICKEYBYTES,
DDGSYNCCRYPTO_PRIVATE_KEY_SIZE = crypto_box_SECRETKEYBYTES,
DDGSYNCCRYPTO_SEAL_EXTRA_BYTES_SIZE = crypto_box_SEALBYTES
} DDGSyncCryptoSizes;

typedef enum : int {
Expand Down Expand Up @@ -132,4 +133,4 @@ extern DDGSyncCryptoResult ddgSyncSealOpen(
unsigned char *rawBytes
);

#endif /* DDGSyncCrypto_h */
#endif /* DDGSyncCrypto_h */

0 comments on commit 2ab6ab6

Please sign in to comment.