diff options
| author | Jiapeng Chong <[email protected]> | 2024-06-14 03:09:12 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2024-06-21 12:04:18 +0000 |
| commit | b44327ebc1c926e4b55a7721e3d91313fcf188b1 (patch) | |
| tree | 2726680f50a140baf8f7d9b4d42d6cab203fc233 /lib/crypto/utils.c | |
| parent | crypto: lib/mpi - Use swap() in mpi_ec_mul_point() (diff) | |
| download | kernel-b44327ebc1c926e4b55a7721e3d91313fcf188b1.tar.gz kernel-b44327ebc1c926e4b55a7721e3d91313fcf188b1.zip | |
crypto: lib/mpi - Use swap() in mpi_powm()
Use existing swap() function rather than duplicating its implementation.
./lib/crypto/mpi/mpi-pow.c:211:11-12: WARNING opportunity for swap().
./lib/crypto/mpi/mpi-pow.c:239:12-13: WARNING opportunity for swap().
Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9327
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/crypto/utils.c')
0 files changed, 0 insertions, 0 deletions
