mbed TLS v1.3.11
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 MULADDC_INIT
 
#define MULADDC_CORE
 
#define MULADDC_STOP   }
 

Detailed Description

Multi-precision integer library.

Copyright (C) 2006-2010, ARM Limited, All Rights Reserved

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

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.

Definition in file bn_mul.h.

Macro Definition Documentation

#define MULADDC_CORE
Value:
r = *(s++) * (t_udbl) b; \
r0 = (t_uint) r; \
r1 = (t_uint)( r >> biL ); \
r0 += c; r1 += (r0 < c); \
r0 += *d; r1 += (r0 < *d); \
c = r1; *(d++) = r0;
uint32_t t_uint
Definition: bignum.h:160
unsigned long long t_udbl
Definition: bignum.h:166

Definition at line 831 of file bn_mul.h.

#define MULADDC_INIT
Value:
{ \
t_uint r0, r1;
uint32_t t_uint
Definition: bignum.h:160
unsigned long long t_udbl
Definition: bignum.h:166

Definition at line 826 of file bn_mul.h.

#define MULADDC_STOP   }

Definition at line 839 of file bn_mul.h.