@file
#define CMDDEFS_HEADER_FILE
typedef const struct sx_pk_cmd_def const SX_CMD_PTR; / @addtogroup SX_PK_CMDS @{ / Modular addition of operands A and B / #define SX_PK_CMD_MOD_ADD ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_ADD))
/ Copyright (c) 2018-2020 Silex Insight sa Copyright (c) 2014-2020 Beerten Engineering scs SPDX-License-Identifier: BSD-3-Clause
#define SX_PK_CMD_ODD_MOD_MULT ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ODD_MOD_MULT))
#define SX_PK_CMD_EVEN_MOD_REDUCE ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EVEN_MOD_REDUCE))
#define SX_PK_CMD_ODD_MOD_DIV ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ODD_MOD_DIV))
#define SX_PK_CMD_MOD_SQRT ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_SQRT))
#define SX_PK_CMD_MOD_EXP ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_EXP))
#define SX_PK_CMD_DH_MOD_EXP_CM ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_DH_MOD_EXP_CM))
The modulus must be a prime number.
#define SX_PK_CMD_MOD_EXP_CRT ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_EXP_CRT))
#define SX_PK_CMD_MOD_EXP_CRT_CM ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_EXP_CRT_CM))
With blinding factor for countermeasures.
#define SX_PK_CMD_RSA_KEYGEN ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_RSA_KEYGEN))
Lambda(n) is also called the Carmichael's totient function or Carmichael function.
#define SX_PK_CMD_MONTGOMERY_PTMUL ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MONTGOMERY_PTMUL))
All operands for this command use a little endian representation. Operands should be decoded and clamped as defined in specifications for X25519 and X448.
#define SX_PK_CMD_ECDSA_GEN ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECDSA_GEN))
#define SX_PK_CMD_ECC_PTMUL ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PTMUL))
#define SX_PK_CMD_ECC_PT_DECOMP ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PT_DECOMP))
#define SX_PK_CMD_CHECK_PARAM_N ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_CHECK_PARAM_N))
#define SX_PK_CMD_ECC_PT_DOUBLE ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PT_DOUBLE))
#define SX_PK_CMD_EDDSA_PTMUL ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EDDSA_PTMUL))
All operands for this command use a little endian representation. Operands should be decoded and clamped as defined in specifications for ED25519.
#define SX_PK_CMD_EDDSA_SIGN ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EDDSA_SIGN))
All operands for this command use a little endian representation. Operands should be decoded and clamped as defined in specifications for ED25519.
#define SX_PK_CMD_EDDSA_VER ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EDDSA_VER))
All operands for this command use a little endian representation. Operands should be decoded and clamped as defined in specifications for ED25519.
#define SX_PK_CMD_DSA_VER ((SX_CMD_PTR)(uint32_t )(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_DSA_VER))
}