doc: replace asym crypto code with literal includes
authorCiara Power <ciara.power@intel.com>
Fri, 11 Feb 2022 09:29:05 +0000 (09:29 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Sat, 12 Feb 2022 09:26:39 +0000 (10:26 +0100)
commit0438b7dff3f873532894ac14549727f90605f27d
treea1dbcc13410ff67fc07649a9458df0b7a70b3be2
parenta45f37334b8db6b1f2678e84d6529663e7252219
doc: replace asym crypto code with literal includes

The programmer's guide for cryptodev included sample code for using
Asymmetric crypto. This is now replaced with direct code from the test
application, using literal includes. It is broken into snippets as the
test application didn't have all of the required code in one function.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev_asym.c
app/test/test_cryptodev_mod_test_vectors.h
doc/guides/prog_guide/cryptodev_lib.rst