pic32cx_sg_crypto_pkc.h File Reference

PIC32CX SG41/SG60/SG61 public-key hardware accelerator (PUKCC) 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 PIC32CX_SG_CRYPTO_PKC_SUPPORT   DISABLED
 
#define PUKCC_CRYPTO_RAM_BASE   0x02011000UL
 
#define PUKCC_FAR_TO_NEAR(p)   ((uint16_t) ((uint32_t) (p)))
 

Functions

error_t pukccInit (void)
 Initialize PUKCC module. More...
 

Detailed Description

PIC32CX SG41/SG60/SG61 public-key hardware accelerator (PUKCC)

License

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

Copyright (C) 2010-2024 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.4.2

Definition in file pic32cx_sg_crypto_pkc.h.

Macro Definition Documentation

◆ PIC32CX_SG_CRYPTO_PKC_SUPPORT

#define PIC32CX_SG_CRYPTO_PKC_SUPPORT   DISABLED

Definition at line 39 of file pic32cx_sg_crypto_pkc.h.

◆ PUKCC_CRYPTO_RAM_BASE

#define PUKCC_CRYPTO_RAM_BASE   0x02011000UL

Definition at line 45 of file pic32cx_sg_crypto_pkc.h.

◆ PUKCC_FAR_TO_NEAR

#define PUKCC_FAR_TO_NEAR (   p)    ((uint16_t) ((uint32_t) (p)))

Definition at line 48 of file pic32cx_sg_crypto_pkc.h.

Function Documentation

◆ pukccInit()

error_t pukccInit ( void  )

Initialize PUKCC module.

Definition at line 59 of file pic32cx_bz_crypto_pkc.c.