mbed TLS v2.3.0
Macros
bn_mul.h File Reference

Multi-precision integer library. More...

#include "bignum.h"
Include dependency graph for bn_mul.h:

Go to the source code of this file.

Macros

#define asm   __asm
 
#define MULADDC_INIT
 
#define MULADDC_CORE
 
#define MULADDC_STOP   }
 

Detailed Description

Multi-precision integer library.

Copyright (C) 2006-2015, ARM Limited, All Rights Reserved SPDX-License-Identifier: GPL-2.0

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.

This file is part of mbed TLS (https://tls.mbed.org)

Definition in file bn_mul.h.

Macro Definition Documentation

#define asm   __asm

Definition at line 47 of file bn_mul.h.

#define MULADDC_CORE
Value:
r = *(s++) * (mbedtls_t_udbl) b; \
r0 = (mbedtls_mpi_uint) r; \
r1 = (mbedtls_mpi_uint)( r >> biL ); \
r0 += c; r1 += (r0 < c); \
r0 += *d; r1 += (r0 < *d); \
c = r1; *(d++) = r0;
uint64_t mbedtls_t_udbl
Definition: bignum.h:134
uint32_t mbedtls_mpi_uint
Definition: bignum.h:133

Definition at line 848 of file bn_mul.h.

#define MULADDC_INIT
Value:
{ \
uint64_t mbedtls_t_udbl
Definition: bignum.h:134
uint32_t mbedtls_mpi_uint
Definition: bignum.h:133

Definition at line 843 of file bn_mul.h.

#define MULADDC_STOP   }

Definition at line 856 of file bn_mul.h.