diff --git a/lib/cookies/alg_sha.h b/lib/cookies/alg_sha.h
index 7dad6a8792636f9859ada716ea57f770e9a5daf0..2eecc5f6f09cc29a54d930711286e809836faec6 100644
--- a/lib/cookies/alg_sha.h
+++ b/lib/cookies/alg_sha.h
@@ -21,10 +21,10 @@
 
 #include "lib/defines.h"
 
+/* These structures are not meant to be part of public interface. */
+
 /** HMAC-SHA256-64 client cookie algorithm. */
-KR_EXPORT
 extern const struct knot_cc_alg knot_cc_alg_hmac_sha256_64;
 
 /** HMAC-SHA256-64 server cookie algorithm. */
-KR_EXPORT
 extern const struct knot_sc_alg knot_sc_alg_hmac_sha256_64;