SX Macro
C
#define SX_PK_CMD_MOD_ADD ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_ADD))
Description
Modular addition of operands A and B
SX Macro
C
#define SX_PK_CMD_MOD_SUB ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_SUB))
Description
Modular substraction of operands A and B
SX Macro
C
#define SX_PK_CMD_MOD_MULT ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_MULT))
Description
Modular multiplication of operands A and B with odd modulo
SX Macro
C
#define SX_PK_CMD_EVEN_MOD_INV ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EVEN_MOD_INV))
Description
Modular inversion of an operand with even modulo
SX Macro
C
#define SX_PK_CMD_EVEN_MOD_REDUCE ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EVEN_MOD_REDUCE))
Description
Modular inversion of an operand with even modulo
SX Macro
C
#define SX_PK_CMD_ODD_MOD_REDUCE ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ODD_MOD_REDUCE))
Description
Modular reduction of an operand with odd modulo
SX Macro
C
#define SX_PK_CMD_ODD_MOD_DIV ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ODD_MOD_DIV))
Description
Modular division of operands A and B with odd modulo
SX Macro
C
#define SX_PK_CMD_ODD_MOD_INV ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ODD_MOD_INV))
Description
Modular inversion of an operand with odd modulo
SX Macro
C
#define SX_PK_CMD_MOD_SQRT ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_SQRT))
Description
Modular square root *
SX Macro
C
#define SX_PK_CMD_MULT ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MULT))
Description
Multiplication *
SX Macro
C
#define SX_PK_CMD_MOD_EXP ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_EXP))
Description
Modular exponentiation operation
SX Macro
C
#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))
Description
Diffie Hellman modular exponentiation operation with countermeasures * The modulus must be a prime number.
SX Macro
C
#define SX_PK_CMD_RSA_MOD_EXP_CM ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_RSA_MOD_EXP_CM))
Description
RSA modular exponentiation operation with countermeasures
SX Macro
C
#define SX_PK_CMD_MOD_EXP_CRT ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MOD_EXP_CRT))
Description
Modular exponentiation operation (for RSA) with Chinese Remainder Theorem
SX Macro
C
#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))
Description
Modular exponentiation operation (for RSA) with Chinese Remainder Theorem * With blinding factor for countermeasures.
SX Macro
C
#define SX_PK_CMD_RSA_KEYGEN ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_RSA_KEYGEN))
Description
RSA private key including lambda(n) computation from primes * Lambda(n) is also called the Carmichael's totient function or Carmichael function.
SX Macro
C
#define SX_PK_CMD_RSA_CRT_KEYPARAMS ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_RSA_CRT_KEYPARAMS))
Description
RSA CRT private key parameters computation
SX Macro
C
#define SX_PK_CMD_MONTGOMERY_PTMUL ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_MONTGOMERY_PTMUL))
Description
Montgomery point multiplication for X25519 and X448 All operands for this command use a little endian representation. Operands should be decoded and clamped as defined in specifications for X25519 and X448.
SX Macro
C
#define SX_PK_CMD_ECDSA_VER ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECDSA_VER))
Description
Elliptic curve ECDSA signature verification operation
SX Macro
C
#define SX_PK_CMD_ECDSA_GEN ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECDSA_GEN))
Description
Elliptic curve ECDSA signature generation operation
SX Macro
C
#define SX_PK_CMD_ECC_PT_ADD ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PT_ADD))
Description
Elliptic curve point addition operation
SX Macro
C
#define SX_PK_CMD_ECC_PTMUL ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PTMUL))
Description
Elliptic curve point multiplication operation
SX Macro
C
#define SX_PK_CMD_ECC_PTMUL_CM ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PTMUL_CM))
Description
Elliptic curve point multiplication operation with countermeasures
SX Macro
C
#define SX_PK_CMD_ECC_PT_DECOMP ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PT_DECOMP))
Description
Elliptic curve point decompression operation
SX Macro
C
#define SX_PK_CMD_CHECK_PARAM_AB ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_CHECK_PARAM_AB))
Description
Elliptic curve check parameters a & b
SX Macro
C
#define SX_PK_CMD_CHECK_PARAM_N ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_CHECK_PARAM_N))
Description
Elliptic curve check parameter n != p
SX Macro
C
#define SX_PK_CMD_CHECK_XY ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_CHECK_XY))
Description
Elliptic curve check x,y point < p
SX Macro
C
#define SX_PK_CMD_ECC_PT_DOUBLE ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PT_DOUBLE))
Description
Elliptic curve point doubling
SX Macro
C
#define SX_PK_CMD_ECC_PTONCURVE ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_ECC_PTONCURVE))
Description
Elliptic curve point on curve check
SX Macro
C
#define SX_PK_CMD_EDDSA_PTMUL ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EDDSA_PTMUL))
Description
EDDSA point multiplication operation All operands for this command use a little endian representation. Operands should be decoded and clamped as defined in specifications for ED25519.
SX Macro
C
#define SX_PK_CMD_EDDSA_SIGN ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EDDSA_SIGN))
Description
EDDSA 2nd part of signature operation All operands for this command use a little endian representation. Operands should be decoded and clamped as defined in specifications for ED25519.
SX Macro
C
#define SX_PK_CMD_EDDSA_VER ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_EDDSA_VER))
Description
EDDSA signature verification operation All operands for this command use a little endian representation. Operands should be decoded and clamped as defined in specifications for ED25519.
SX Macro
C
#define SX_PK_CMD_DSA_SIGN ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_DSA_SIGN))
Description
DSA signature generation
SX Macro
C
#define SX_PK_CMD_DSA_VER ((SX_CMD_PTR)**(uint32_t **)(API_TABLE_BASE_ADDRESS + ATO_SX_PK_CMD_DSA_VER))
Description
DSA signature verification