Branch: refs/heads/master
  Home:   https://github.com/Linaro/odp
  Commit: ac851856893867331ab9f692a135a40677daa351
      
https://github.com/Linaro/odp/commit/ac851856893867331ab9f692a135a40677daa351
  Author: Petri Savolainen <petri.savolai...@linaro.org>
  Date:   2018-06-19 (Tue, 19 Jun 2018)

  Changed paths:
    M platform/linux-generic/Makefile.am
    M platform/linux-generic/include/odp_init_internal.h
    A platform/linux-generic/odp_hash_crc_gen.c
    M platform/linux-generic/odp_init.c

  Log Message:
  -----------
  linux-gen: hash: generic crc implementation

Added implementation of odp_hash_crc_gen64(). CRC widths
of 32, 24 and 16 bits are supported. Only symmetric reflection
setting (in/out: false/false or true/true) is supported.

Currently, 24 bit width with reflection does not work and is
marked as not supported.

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: b1eadcb681dbe7a3d7db4d3ddb18528ebd15211b
      
https://github.com/Linaro/odp/commit/b1eadcb681dbe7a3d7db4d3ddb18528ebd15211b
  Author: Petri Savolainen <petri.savolai...@linaro.org>
  Date:   2018-06-19 (Tue, 19 Jun 2018)

  Changed paths:
    M test/validation/api/hash/hash.c

  Log Message:
  -----------
  validation: hash: change result to 32 bit word

Set results as 32 bit words. Also polynom is represented as
32 bit word in cpu endian. Majority of references list CRC
values in this form (as an exception RFC 7143 lists those
in big endian).

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: 719ac4509920bad7d5c8d563426d21f2a0c9e80e
      
https://github.com/Linaro/odp/commit/719ac4509920bad7d5c8d563426d21f2a0c9e80e
  Author: Petri Savolainen <petri.savolai...@linaro.org>
  Date:   2018-06-19 (Tue, 19 Jun 2018)

  Changed paths:
    M test/validation/api/hash/hash.c

  Log Message:
  -----------
  validation: hash: add generic CRC test cases

Added test cases for odp_hash_crc_gen64(). Test cases are
defined for 32, 24 and 16 bit CRCs. Tests include various
polynoms, init, output XOR and reflection values. Test data
is "123456789" for most of the test cases, since that is
used commonly as the CRC "check" data.

Used CRC names, parameters and check values are listed e.g. here:
http://reveng.sourceforge.net/crc-catalogue

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


Compare: https://github.com/Linaro/odp/compare/492390a79f20...719ac4509920
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

Reply via email to