1 /* Copyright (c) 2014, Intel Corporation. 2 * 3 * Permission to use, copy, modify, and/or distribute this software for any 4 * purpose with or without fee is hereby granted, provided that the above 5 * copyright notice and this permission notice appear in all copies. 6 * 7 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 10 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 13 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ 14 15 #ifndef OPENSSL_HEADER_EC_ECP_NISTZ384_H 16 #define OPENSSL_HEADER_EC_ECP_NISTZ384_H 17 18 #include "../../limbs/limbs.h" 19 20 #define P384_LIMBS (384u / LIMB_BITS) 21 22 typedef struct { 23 Limb X[P384_LIMBS]; 24 Limb Y[P384_LIMBS]; 25 Limb Z[P384_LIMBS]; 26 } P384_POINT; 27 28 typedef struct { 29 Limb X[P384_LIMBS]; 30 Limb Y[P384_LIMBS]; 31 } P384_POINT_AFFINE; 32 33 34 #endif // OPENSSL_HEADER_EC_ECP_NISTZ384_H 35