RetroArch
Macros
bn_mul.h File Reference

Multi-precision integer library. More...

#include "bignum.h"
Include dependency graph for bn_mul.h:
This graph shows which files directly or indirectly include this file:

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: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

Macro Definition Documentation

◆ asm

#define asm   __asm

◆ MULADDC_CORE

#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;
#define biL
Definition: bignum.c:67
GLdouble GLdouble GLdouble r
Definition: glext.h:6406
GLdouble s
Definition: glext.h:6390
bf_uint8_t r1
Definition: connect_ps4.c:74
const GLubyte * c
Definition: glext.h:9812
GLboolean GLboolean GLboolean b
Definition: glext.h:6844
uint64_t mbedtls_t_udbl
Definition: bignum.h:167
uint32_t mbedtls_mpi_uint
Definition: bignum.h:165

◆ MULADDC_INIT

#define MULADDC_INIT
Value:
{ \
mbedtls_t_udbl r; \
mbedtls_mpi_uint r0, r1;
GLdouble GLdouble GLdouble r
Definition: glext.h:6406
bf_uint8_t r1
Definition: connect_ps4.c:74

◆ MULADDC_STOP

#define MULADDC_STOP   }