text: #include <stdlib.h>
  
  #include <oqs/sig_sphincs.h>
  
  #ifdef OQS_ENABLE_SIG_sphincs_haraka_128f_simple
  
  OQS_SIG *OQS_SIG_sphincs_haraka_128f_simple_new() {
  
  	OQS_SIG *sig = malloc(sizeof(OQS_SIG));
  	if (sig == NULL) {
  		return NULL;
  	}
  	sig->method_name = OQS_SIG_alg_sphincs_haraka_128f_simple;
  	sig->alg_version = "https://github.com/sphincs/sphincsplus/commit/77755c94d0bc744478044d6efbb888dc13156441";
  
  	sig->claimed_nist_level = 1;
  	sig->euf_cma = true;
  
  	sig->length_public_key = OQS_SIG_sphincs_haraka_128f_simple_length_public_key;
  	sig->length_secret_key = OQS_SIG_sphincs_haraka_128f_simple_length_secret_key;
  	sig->length_signature = OQS_SIG_sphincs_haraka_128f_simple_length_signature;
  
  	sig->keypair = OQS_SIG_sphincs_haraka_128f_simple_keypair;
  	sig->sign = OQS_SIG_sphincs_haraka_128f_simple_sign;
  	sig->verify = OQS_SIG_sphincs_haraka_128f_simple_verify;
  
  	return sig;
  }
  
  int PQCLEAN_SPHINCSHARAKA128FSIMPLE_CLEAN_crypto_sign_keypair(uint8_t *pk, uint8_t *sk);
  int PQCLEAN_SPHINCSHARAKA128FSIMPLE_CLEAN_crypto_sign_signature(uint8_t *sig, size_t *siglen, const uint8_t *m, size_t mlen, const uint8_t *sk);
  int PQCLEAN_SPHINCSHARAKA128FSIMPLE_CLEAN_crypto_sign_verify(const uint8_t *sig, size_t siglen, const uint8_t *m, size_t mlen, const uint8_t *pk);
  
  OQS_API OQS_STATUS OQS_SIG_sphincs_haraka_128f_simple_keypair(uint8_t *public_key, uint8_t *secret_key) {
  	return (OQS_STATUS) PQCLEAN_SPHINCSHARAKA128FSIMPLE_CLEAN_crypto_sign_keypair(public_key, secret_key);
  }
  OQS_API OQS_STATUS OQS_SIG_sphincs_haraka_128f_simple_sign(uint8_t *signature, size_t *signature_len, const uint8_t *message, size_t message_len, const uint8_t *secret_key) {
  	return (OQS_STATUS) PQCLEAN_SPHINCSHARAKA128FSIMPLE_CLEAN_crypto_sign_signature(signature, signature_len, message, message_len, secret_key);
  }
  OQS_API OQS_STATUS OQS_SIG_sphincs_haraka_128f_simple_verify(const uint8_t *message, size_t message_len, const uint8_t *signature, size_t signature_len, const uint8_t *public_key) {
  	return (OQS_STATUS) PQCLEAN_SPHINCSHARAKA128FSIMPLE_CLEAN_crypto_sign_verify(signature, signature_len, message, message_len, public_key);
  }
  
  #endif
  