1238438Sdteske/* 2238438Sdteske * Copyright 2017-2022 The OpenSSL Project Authors. All Rights Reserved. 3238438Sdteske * Copyright 2016 Cryptography Research, Inc. 4238438Sdteske * 5238438Sdteske * Licensed under the Apache License 2.0 (the "License"). You may not use 6238438Sdteske * this file except in compliance with the License. You can obtain a copy 7238438Sdteske * in the file LICENSE in the source distribution or at 8238438Sdteske * https://www.openssl.org/source/license.html 9238438Sdteske * 10238438Sdteske * Originally written by Mike Hamburg 11238438Sdteske */ 12238438Sdteske 13238438Sdteske#ifndef OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H 14238438Sdteske# define OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H 15238438Sdteske 16238438Sdteske# include "internal/constant_time.h" 17 18# define ARCH_WORD_BITS 64 19 20# define word_is_zero(a) constant_time_is_zero_64(a) 21 22static ossl_inline uint128_t widemul(uint64_t a, uint64_t b) 23{ 24 return ((uint128_t) a) * b; 25} 26 27#endif /* OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H */ 28