summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorThara Gopinath <thara.gopinath@linaro.org>2021-04-29 11:07:02 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2021-05-14 19:07:55 +0800
commit6c34e446b2e2b7d26e83c4c391e89d7cf6824093 (patch)
treec42f219bbc6fd1803cae62018b09366bb1be79c8 /samples
parenta9ca8eacb3204208863b9175baae8ac7ee6b2a64 (diff)
crypto: qce - Make result dump optional
Qualcomm crypto engine allows for IV registers and status register to be concatenated to the output. This option is enabled by setting the RESULTS_DUMP field in GOPROC register. This is useful for most of the algorithms to either retrieve status of operation or in case of authentication algorithms to retrieve the mac. But for ccm algorithms, the mac is part of the output stream and not retrieved from the IV registers, thus needing a separate buffer to retrieve it. Make enabling RESULTS_DUMP field optional so that algorithms can choose whether or not to enable the option. Note that in this patch, the enabled algorithms always choose RESULTS_DUMP to be enabled. But later with the introduction of ccm algorithms, this changes. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions