mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
gcm_get_funcs(): Add missing fallback for ghash on x86_64
Fixes #19673 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19674)
This commit is contained in:
parent
cc910f1b31
commit
be0161ff10
@ -457,6 +457,11 @@ static void gcm_get_funcs(struct gcm_funcs_st *ctx)
|
||||
ctx->gmult = gcm_gmult_4bit_x86;
|
||||
ctx->ghash = gcm_ghash_4bit_x86;
|
||||
return;
|
||||
# else
|
||||
/* x86_64 fallback defaults */
|
||||
ctx->gmult = gcm_gmult_4bit;
|
||||
ctx->ghash = gcm_ghash_4bit;
|
||||
return;
|
||||
# endif
|
||||
#elif defined(GHASH_ASM_ARM)
|
||||
/* ARM defaults */
|
||||
|
Loading…
Reference in New Issue
Block a user