common/cnxk: add hash generation API
authorTejasree Kondoj <ktejasree@marvell.com>
Wed, 1 Sep 2021 10:19:23 +0000 (15:49 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 3 Sep 2021 15:00:22 +0000 (17:00 +0200)
commitd85f9749f915302d1c26564578809ec27ebaf2ed
tree5ee66116cf3570f0232fde1a63e19ef9ee3d7ae0
parentb344eb5d941a7522ff27b6b7b5419f68c3fea9a0
common/cnxk: add hash generation API

Adding functions for hash generation that can be used
in hmac opad/ipad calculation.

Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_api.h
drivers/common/cnxk/roc_hash.c [new file with mode: 0644]
drivers/common/cnxk/roc_hash.h [new file with mode: 0644]
drivers/common/cnxk/version.map