Cryptography for Intel(R) Integrated Performance Primitives Developer Reference

ID 768738
Date 12/16/2022
Public
Document Table of Contents

mbx_exp_BufferSize

Returns minimal size of work buffer requested for modular exponentiation.

Syntax

int mbx_exp_BufferSize(int mod_bits);

Include Files

crypto_mb/exp.h

Parameters

mod_bits

Size of modulus in bits.
Description

The function returns minimal size of work buffer requested for 1Kb, 2Kb, 3Kb or 4Kb modular exponentiation depending on mod_bits parameter. If the mod_bits parameter does not match the supported range of modulo size, it returns 0.

Did you find the information on this page useful?

Characters remaining:

Feedback Message