Skip to content

Commit

Permalink
ARM|ARM64: Does not have intrinsic _umul128
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyolee committed Feb 9, 2023
1 parent b2655a9 commit 79f190e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/bn/rsa_sup_mul.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static ossl_inline void _mul_limb(limb_t *hi, limb_t *lo, limb_t a, limb_t b)
*hi = t >> LIMB_BIT_SIZE;
*lo = (limb_t)t;
}
#elif (BN_BYTES == 8) && (defined _MSC_VER)
#elif (BN_BYTES == 8) && (defined _MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64)
/* https://learn.microsoft.com/en-us/cpp/intrinsics/umul128?view=msvc-170 */
#pragma intrinsic(_umul128)
static ossl_inline void _mul_limb(limb_t *hi, limb_t *lo, limb_t a, limb_t b)
Expand Down

0 comments on commit 79f190e

Please sign in to comment.