2017-03-30 17:15, Jasvinder Singh: > +/** > + * CRC compute API > + * > + * @param data > + * Pointer to the packet data for CRC computation > + * @param data_len > + * Data length for CRC computation > + * @param type > + * CRC type (enum rte_net_crc_type) > + * > + * @return > + * CRC value > + */ > +uint32_t > +rte_net_crc_calc(const void *data, > + uint32_t data_len, > + enum rte_net_crc_type type);
I still think returning a value from a data input is a kind of hash. And this is my wikipedia argument: https://en.wikipedia.org/wiki/List_of_hash_functions "This is a list of hash functions, including cyclic redundancy checks, checksum functions, and cryptographic hash functions." Anyway, I must accept the community decision. Now I would like to see a clear explanations of which algos are in librte_hash, and why we have CRC32c and Toeplitz.