open-quantum-safe / liboqs

C library for prototyping and experimenting with quantum-resistant cryptography
https://openquantumsafe.org/
Other
1.77k stars 435 forks source link

Remove 'extern' keyword in OQS wrapper header files #357

Closed truth-quark closed 5 years ago

truth-quark commented 6 years ago

Using 'extern' in the OQS algorithm wrapper header files isn't necessary for the keypair, encaps & decaps funcs.

extern OQS_STATUS OQS_KEM_[alg]_cca_std_keypair(uint8_t *public_key, uint8_t *secret_key); can be: OQS_STATUS OQS_KEM_[alg]_cca_std_keypair(uint8_t *public_key, uint8_t *secret_key);

dstebila commented 5 years ago

Resolved by #387