Use the generic crypto_authenc_extractkeys helper instead of custom parsing code that is slightly broken. Also fix a number of memory leaks by moving memory allocation from setkey to init_tfm (setkey can be called multiple times over the life of a tfm). Finally accept all hash key lengths by running the digest over extra-long keys. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> |
||
|---|---|---|
| .. | ||
| cn10k_cpt.c | ||
| cn10k_cpt.h | ||
| Makefile | ||
| otx2_cpt_common.h | ||
| otx2_cpt_devlink.c | ||
| otx2_cpt_devlink.h | ||
| otx2_cpt_hw_types.h | ||
| otx2_cpt_mbox_common.c | ||
| otx2_cpt_reqmgr.h | ||
| otx2_cptlf.c | ||
| otx2_cptlf.h | ||
| otx2_cptpf.h | ||
| otx2_cptpf_main.c | ||
| otx2_cptpf_mbox.c | ||
| otx2_cptpf_ucode.c | ||
| otx2_cptpf_ucode.h | ||
| otx2_cptvf.h | ||
| otx2_cptvf_algs.c | ||
| otx2_cptvf_algs.h | ||
| otx2_cptvf_main.c | ||
| otx2_cptvf_mbox.c | ||
| otx2_cptvf_reqmgr.c | ||