lib/rbnacl/one_time_auths/poly1305.rb in rbnacl-5.0.0 vs lib/rbnacl/one_time_auths/poly1305.rb in rbnacl-6.0.0

- old
+ new

@@ -27,14 +27,14 @@ sodium_constant :BYTES sodium_constant :KEYBYTES sodium_function :onetimeauth_poly1305, :crypto_onetimeauth_poly1305, - [:pointer, :pointer, :ulong_long, :pointer] + %i[pointer pointer ulong_long pointer] sodium_function :onetimeauth_poly1305_verify, :crypto_onetimeauth_poly1305_verify, - [:pointer, :pointer, :ulong_long, :pointer] + %i[pointer pointer ulong_long pointer] private def compute_authenticator(authenticator, message) self.class.onetimeauth_poly1305(authenticator, message, message.bytesize, key)