Home
last modified time | relevance | path

Searched hist:"35344 cf30f2b080f75b4097eebcd7567e54bce22" (Results 1 – 3 of 3) sorted by relevance

/linux/crypto/
H A Daria_generic.cdiff 35344cf30f2b080f75b4097eebcd7567e54bce22 Sun Jan 01 10:12:50 CET 2023 Taehee Yoo <ap420073@gmail.com> crypto: x86/aria - do not use magic number offsets of aria_ctx

aria-avx assembly code accesses members of aria_ctx with magic number
offset. If the shape of struct aria_ctx is changed carelessly,
aria-avx will not work.
So, we need to ensure accessing members of aria_ctx with correct
offset values, not with magic numbers.

It adds ARIA_CTX_enc_key, ARIA_CTX_dec_key, and ARIA_CTX_rounds in the
asm-offsets.c So, correct offset definitions will be generated.
aria-avx assembly code can access members of aria_ctx safely with
these definitions.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
/linux/arch/x86/crypto/
H A Daria-aesni-avx-asm_64.Sdiff 35344cf30f2b080f75b4097eebcd7567e54bce22 Sun Jan 01 10:12:50 CET 2023 Taehee Yoo <ap420073@gmail.com> crypto: x86/aria - do not use magic number offsets of aria_ctx

aria-avx assembly code accesses members of aria_ctx with magic number
offset. If the shape of struct aria_ctx is changed carelessly,
aria-avx will not work.
So, we need to ensure accessing members of aria_ctx with correct
offset values, not with magic numbers.

It adds ARIA_CTX_enc_key, ARIA_CTX_dec_key, and ARIA_CTX_rounds in the
asm-offsets.c So, correct offset definitions will be generated.
aria-avx assembly code can access members of aria_ctx safely with
these definitions.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
/linux/arch/x86/kernel/
H A Dasm-offsets.cdiff 35344cf30f2b080f75b4097eebcd7567e54bce22 Sun Jan 01 10:12:50 CET 2023 Taehee Yoo <ap420073@gmail.com> crypto: x86/aria - do not use magic number offsets of aria_ctx

aria-avx assembly code accesses members of aria_ctx with magic number
offset. If the shape of struct aria_ctx is changed carelessly,
aria-avx will not work.
So, we need to ensure accessing members of aria_ctx with correct
offset values, not with magic numbers.

It adds ARIA_CTX_enc_key, ARIA_CTX_dec_key, and ARIA_CTX_rounds in the
asm-offsets.c So, correct offset definitions will be generated.
aria-avx assembly code can access members of aria_ctx safely with
these definitions.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>