SAM4C public-key hardware accelerator (CPKCC) More...

#include "core/crypto.h"

Go to the source code of this file.

Data Structures

struct  PukccEcPoint
Elliptic curve point. More...
 
struct  PukccFmultParams
Fmult service parameters. More...
 
struct  PukccGcdParams
GCD service parameters. More...
 
struct  PukccRedModParams
RedMod service parameters. More...
 
struct  PukccExpModParams
ExpMod service parameters. More...
 
struct  PukccPrimeGenParams
PrimeGen service parameters. More...
 
struct  PukccCrtParams
CRT service parameters. More...
 
struct  PukccZpEcPointIsOnCurveParams
ZpEcPointIsOnCurve service parameters. More...
 
struct  PukccZpEcConvProjToAffineParams
ZpEcConvProjToAffine service parameters. More...
 
struct  PukccZpEccMulParams
ZpEccMul service parameters. More...
 
struct  PukccZpEcDsaGenerateParams
ZpEcDsaGenerate service parameters. More...
 
struct  PukccZpEcDsaVerifyParams
ZpEcDsaVerify service parameters. More...
 

Macros

#define SAM4C_CRYPTO_PKC_SUPPORT   DISABLED
 
#define CPKCC_CRYPTO_RAM_BASE   0x20191000UL
 
#define CPKCC_FAR_TO_NEAR(p)   ((uint16_t) ((uint32_t) (p)))
 

Functions

error_t cpkccInit (void)
Initialize CPKCC module. More...
 

Detailed Description

SAM4C public-key hardware accelerator (CPKCC)

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2025 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneCRYPTO Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.5.0

Definition in file sam4c_crypto_pkc.h.

Macro Definition Documentation

◆ CPKCC_CRYPTO_RAM_BASE

#define CPKCC_CRYPTO_RAM_BASE   0x20191000UL

Definition at line 45 of file sam4c_crypto_pkc.h.

◆ CPKCC_FAR_TO_NEAR

#define CPKCC_FAR_TO_NEAR (   p)    ((uint16_t) ((uint32_t) (p)))

Definition at line 48 of file sam4c_crypto_pkc.h.

◆ SAM4C_CRYPTO_PKC_SUPPORT

#define SAM4C_CRYPTO_PKC_SUPPORT   DISABLED

Definition at line 39 of file sam4c_crypto_pkc.h.

Function Documentation

◆ cpkccInit()

error_t cpkccInit ( void  )

Initialize CPKCC module.

Definition at line 60 of file pic32cx_mt_crypto_pkc.c.