crypto/cryptodev: export ivlen to support different cipher algs

Add ivlen field to crypt_op and crp_ivlen to cryptop structure to support
cipher algorithms with different IV lengths.

Signed-off-by: makejian <makejian@xiaomi.com>
This commit is contained in:
makejian 2025-05-21 14:25:51 +08:00 committed by Xiang Xiao
parent 143547128b
commit 66f9329839
2 changed files with 3 additions and 0 deletions

View file

@ -476,6 +476,7 @@ static int cryptodev_op(FAR struct csession *cse,
}
crp->crp_iv = cop->iv;
crp->crp_ivlen = cop->ivlen;
}
if (cop->dst)