Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Sat Nov 22 22:32:39 UTC 2025

Modified Files:
        src/sys/arch/x86/x86: via_padlock.c
        src/sys/crypto/aes: aes.h aes_impl.c files.aes
        src/sys/crypto/aes/arch/x86: aes_via.c
        src/tests/sys/crypto/aes: Makefile
Added Files:
        src/sys/crypto/aes: aes_keysched.c aes_keysched.h

Log Message:
aes(9): New aes_keysched_enc/dec.

These implement the standard key schedule.  They are named
independently of any particular AES implementation, so that:

(a) we can swap between the BearSSL aes_ct and aes_ct64 code without
    changing all the callers who don't care which one they get, and

(b) we could push it into the aes_impl abstraction if we wanted.

This eliminates all br_aes_* references outside aes_bear.c, aes_ct*.c,
and the new aes_keysched.c wrappers.

Preparation for:

PR kern/59774: bearssl 32-bit AES is too slow, want 64-bit optimized
version in kernel


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/x86/x86/via_padlock.c
cvs rdiff -u -r1.4 -r1.5 src/sys/crypto/aes/aes.h
cvs rdiff -u -r1.10 -r1.11 src/sys/crypto/aes/aes_impl.c
cvs rdiff -u -r0 -r1.1 src/sys/crypto/aes/aes_keysched.c \
    src/sys/crypto/aes/aes_keysched.h
cvs rdiff -u -r1.3 -r1.4 src/sys/crypto/aes/files.aes
cvs rdiff -u -r1.9 -r1.10 src/sys/crypto/aes/arch/x86/aes_via.c
cvs rdiff -u -r1.7 -r1.8 src/tests/sys/crypto/aes/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index