move hashes, hmac, and kdf to declarative (#11244)

* move hashes, hmac, and kdf to declarative

* libre fix

* unneeded pub
5 files changed