extern const void *FIPS_text_start(), *FIPS_text_end();
extern const unsigned char FIPS_rodata_start[], FIPS_rodata_end[];
unsigned char FIPS_signature [20] = { 0 };
+__fips_constseg
static const char FIPS_hmac_key[]="etaonrishdlcupfm";
unsigned int FIPS_incore_fingerprint(unsigned char *sig,unsigned int len)
int FIPS_module_mode_set(int onoff)
{
- int fips_set_owning_thread();
- int fips_clear_owning_thread();
int ret = 0;
fips_w_lock();
return FIPS_signature;
}
+unsigned long FIPS_module_version(void)
+ {
+ return FIPS_MODULE_VERSION_NUMBER;
+ }
+
+const char *FIPS_module_version_text(void)
+ {
+ return FIPS_MODULE_VERSION_TEXT;
+ }
+
#if 0
/* The purpose of this is to ensure the error code exists and the function
* name is to keep the error checking script quiet