Browse Source

old versions of clang can only handle a single argument

pyupdate
John-Mark Gurney 2 years ago
parent
commit
347057c10b
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      src/per_curve/eddsa.tmpl.h

+ 2
- 4
src/per_curve/eddsa.tmpl.h View File

@@ -143,8 +143,7 @@ void DECAF_API_VIS decaf_ed$(gf_shortname)_sign (
uint8_t context_len
) __attribute__((nonnull(1,2,3))) DECAF_NOINLINE
#if DECAF_EDDSA_NON_KEYPAIR_API_IS_DEPRECATED
__attribute__((deprecated("Passing the pubkey and privkey separately is unsafe",
"decaf_ed$(gf_shortname)_keypair_sign")))
__attribute__((deprecated("Passing the pubkey and privkey separately is unsafe decaf_ed$(gf_shortname)_keypair_sign")))
#endif
;

@@ -171,8 +170,7 @@ void DECAF_API_VIS decaf_ed$(gf_shortname)_sign_prehash (
uint8_t context_len
) __attribute__((nonnull(1,2,3,4))) DECAF_NOINLINE
#if DECAF_EDDSA_NON_KEYPAIR_API_IS_DEPRECATED
__attribute__((deprecated("Passing the pubkey and privkey separately is unsafe",
"decaf_ed$(gf_shortname)_keypair_sign_prehash")))
__attribute__((deprecated("Passing the pubkey and privkey separately is unsafe decaf_ed$(gf_shortname)_keypair_sign_prehash")))
#endif
;



Loading…
Cancel
Save