net/ena/base: fix testing for supported hash function