internal static extern int bbs_create_proof_context_set_nonce_bytes(ulong handle, ByteBuffer *nonce, out ExternError err);
internal static extern int bbs_blind_sign_context_add_message_string(ulong handle, uint index, string message, out ExternError err);
internal static extern int bbs_blind_sign_context_set_secret_key(ulong handle, ByteBuffer *secret_key, out ExternError err);
internal static extern int bbs_blind_commitment_context_set_nonce_string(ulong handle, string value, out ExternError err);
internal static extern ulong bbs_blind_sign_context_init(out ExternError err);
internal static extern ulong bbs_blind_commitment_context_init(out ExternError err);
internal static extern int bbs_blind_commitment_context_add_message_bytes(ulong handle, uint index, ByteBuffer *message, out ExternError err);
internal static extern int bbs_verify_proof_context_add_message_string(ulong handle, string message, out ExternError err);
internal static extern int bbs_verify_proof_context_add_message_prehashed(ulong handle, ByteBuffer *message, out ExternError err);
internal static extern int bbs_verify_proof_context_finish(ulong handle, out ExternError err);
internal static extern int bbs_verify_proof_context_add_revealed_index(ulong handle, uint index, out ExternError err);
internal static extern ulong bbs_verify_proof_context_init(out ExternError err);
internal static extern int bbs_verify_context_set_signature(ulong handle, ByteBuffer *signature, out ExternError err);
internal static extern int bbs_verify_context_add_message_bytes(ulong handle, ByteBuffer *message, out ExternError err);
internal static extern int bls_get_public_key(ByteBuffer *secret_key, out ByteBuffer public_key, out ExternError err);
internal static extern int bbs_verify_proof_context_set_public_key(ulong handle, ByteBuffer *public_key, out ExternError err);
internal static extern int bls_public_key_to_bbs_key(ByteBuffer *d_public_key, uint message_count, out ByteBuffer public_key, out ExternError err);
internal static extern int bbs_verify_proof_context_set_nonce_string(ulong handle, string nonce, out ExternError err);
internal static extern int bbs_blind_commitment_context_finish(ulong handle, out ByteBuffer commitment, out ByteBuffer out_context, out ByteBuffer blinding_factor, out ExternError err);
internal static extern int bbs_verify_proof_context_set_nonce_prehashed(ulong handle, ByteBuffer *nonce, out ExternError err);
internal static extern int bbs_blind_commitment_context_set_public_key(ulong handle, ByteBuffer *value, out ExternError err);
internal static extern int bbs_verify_blind_commitment_context_add_blinded(ulong handle, uint index, out ExternError err);
internal static extern int bbs_blind_commitment_context_set_nonce_prehashed(ulong handle, ByteBuffer *value, out ExternError err);
internal static extern int bbs_verify_blind_commitment_context_set_nonce_bytes(ulong handle, ByteBuffer *nonce, out ExternError err);
internal static extern int bbs_blind_sign_context_finish(ulong handle, out ByteBuffer blinded_signature, out ExternError err);
internal static extern int bbs_verify_blind_commitment_context_set_proof(ulong handle, ByteBuffer *proof, out ExternError err);
internal static extern int bbs_blind_sign_context_add_message_prehashed(ulong handle, uint index, ByteBuffer *message, out ExternError err);
internal static extern int bbs_verify_blind_commitment_context_finish(ulong handle, out ExternError err);
internal static extern int bbs_blind_sign_context_set_commitment(ulong handle, ByteBuffer *commitment, out ExternError err);
internal static extern int bbs_create_proof_context_set_signature(ulong handle, ByteBuffer *signature, out ExternError err);