[][src]Function boringtun::ffi::check_base64_encoded_x25519_key

#[no_mangle]
pub unsafe extern "C" fn check_base64_encoded_x25519_key(
    key: *const c_char
) -> i32

Check if the input C-string represents a valid base64 encoded x25519 key. Return 1 if valid 0 otherwise.