Skip to content

Commit

Permalink
Remove crypto_vrf_ietfdraft03_proofbytes function
Browse files Browse the repository at this point in the history
  • Loading branch information
iquerejeta committed Jan 4, 2023
1 parent 2016376 commit e62d4c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
3 changes: 0 additions & 3 deletions cardano-crypto-praos/cbits/vrf03/crypto_vrf_ietfdraft03.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ SODIUM_EXPORT
size_t crypto_vrf_ietfdraft03_seedbytes(void);

#define crypto_vrf_ietfdraft03_BYTES 80U
SODIUM_EXPORT
size_t crypto_vrf_ietfdraft03_proofbytes(void);

SODIUM_EXPORT
size_t crypto_vrf_ietfdraft03_bytes(void);

Expand Down
7 changes: 0 additions & 7 deletions cardano-crypto-praos/cbits/vrf03/vrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ crypto_vrf_ietfdraft03_bytes(void)
return crypto_vrf_ietfdraft03_BYTES;
}

// Keeping the function `crypto_vrf_ietfdraft03_proofbytes` for backwards compatibility
size_t
crypto_vrf_ietfdraft03_proofbytes(void)
{
return crypto_vrf_ietfdraft03_BYTES;
}

size_t
crypto_vrf_ietfdraft03_outputbytes(void)
{
Expand Down
2 changes: 1 addition & 1 deletion cardano-crypto-praos/src/Cardano/Crypto/VRF/Praos.hs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ newtype Output = Output { unOutput :: ForeignPtr OutputValue }

-- Raw low-level FFI bindings.
--
foreign import ccall "crypto_vrf_ietfdraft03_proofbytes" crypto_vrf_proofbytes :: CSize
foreign import ccall "crypto_vrf_ietfdraft03_bytes" crypto_vrf_proofbytes :: CSize

foreign import ccall "crypto_vrf_ietfdraft03_publickeybytes" crypto_vrf_publickeybytes :: CSize

Expand Down

0 comments on commit e62d4c1

Please sign in to comment.