|
|
|
@ -10,7 +10,7 @@ diff -up openssl-3.0.0/providers/fips/self_test.c.embed-hmac openssl-3.0.0/provi
|
|
|
|
|
+ * The __attribute__ ensures we've created the .rodata1 section
|
|
|
|
|
+ * static ensures it's zero filled
|
|
|
|
|
+*/
|
|
|
|
|
+static const volatile unsigned char __attribute__ ((section (".rodata1"))) fips_hmac_container[HMAC_LEN] = {0};
|
|
|
|
|
+static const unsigned char __attribute__ ((section (".rodata1"))) fips_hmac_container[HMAC_LEN] = {0};
|
|
|
|
|
+
|
|
|
|
|
/*
|
|
|
|
|
* Calculate the HMAC SHA256 of data read using a BIO and read_cb, and verify
|
|
|
|
|