Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\crypto\des.c Create Date:2022-07-28 06:47:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:des_encrypt

Proto:void des_encrypt(const struct des_ctx *ctx, u8 *dst, const u8 *src)

Type:void

Parameter:

TypeParameterName
const struct des_ctx *ctx
u8 *dst
const u8 *src
783  K = expkey
787  L = get_unaligned_le32(src)
788  R = get_unaligned_le32(src + 4)
791  When i < 8 cycle
797  put_unaligned_le32(R, dst)
798  put_unaligned_le32(L, dst + 4)