arch/arm64/crypto/sm4-ce.h

Source file repositories/reference/linux-study-clean/arch/arm64/crypto/sm4-ce.h

File Facts

System
Linux kernel
Corpus path
arch/arm64/crypto/sm4-ce.h
Extension
.h
Size
450 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

void sm4_ce_expand_key(const u8 *key, u32 *rkey_enc, u32 *rkey_dec,
		       const u32 *fk, const u32 *ck);

void sm4_ce_crypt_block(const u32 *rkey, u8 *dst, const u8 *src);

void sm4_ce_cbc_enc(const u32 *rkey_enc, u8 *dst, const u8 *src,
		    u8 *iv, unsigned int nblocks);

Annotation

Implementation Notes