lib: rsa: check algo match in rsa_verify_with_keynode