147 | @@ -148,7 +148,10 @@ int main(void) {
148 | * swapping them to disk. Hence, we overwrite the secret key buffer with zeros.
149 | *
150 | * Here we are preventing these writes from being optimized out, as any good compiler
151 | - * will remove any writes that aren't used. */
152 | + * will remove any writes that aren't used.
153 | + *
154 | + * The keypair also holds the secret key, so it is erased too. */
nit: seems unnecessary to explain, it's well-known that a keypair also has a secret component
but you could replace "overwrite the secret key buffer" with "overwrite secret key material" a few lines above (that's how we phrase it in the musig example).