/usr/lib/ruby/vendor_ruby/net/ssh/transport/hmac/sha2_256_96.rb is in ruby-net-ssh 1:2.5.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | require 'net/ssh/transport/hmac/abstract'
module Net::SSH::Transport::HMAC
if defined?(SHA2_256) # need openssl support
# The SHA256-96 HMAC algorithm. This returns only the first 12 bytes of
# the digest.
class SHA2_256_96 < SHA2_256
mac_length 12
end
end
end
|