diff options
Diffstat (limited to 'crypto/modes/gcm128.c')
-rw-r--r-- | crypto/modes/gcm128.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/modes/gcm128.c b/crypto/modes/gcm128.c index 8af79e8726..39994eeb95 100644 --- a/crypto/modes/gcm128.c +++ b/crypto/modes/gcm128.c @@ -453,6 +453,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 */ |