In this question on libsecp256k1 Pieter Wuille stated:
libsecp256k1 provides implementations for all kinds of operations that involve private keys, public keys, or both. That includes key generation (computing public key given private key), key derivation (e.g. BIP32), as well as signing and verifying digital signatures (ECDSA, since recently also BIP340 Schnorr)
In the same vein as libbitcoinkernel attempting to define what is consensus and what isn't is there code in libsecp256k1 that isn't strictly related to secp256k1 operations (and maybe isn't consensus critical e.g. wallet) and could/should be moved to the Core codebase? Or is there a clean separation (as clean it can be)? Examples if they exist would be great.