[btls] Fix function declaration and add it to btls-key.h header