Developer Reference for IntelĀ® Integrated Performance Primitives Cryptography
Returns minimal size of work buffer requested for modular exponentiation.
int mbx_exp_BufferSize(int mod_bits);
crypto_mb/exp.h
mod_bits |
Size of modulus in bits. |
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.