Visible to Intel only — GUID: GUID-40BB3CC4-C09E-4636-876C-569277AEEA19
Getting Help and Support
What's New
Notational Conventions
Related Products
Overview
Symmetric Cryptography Primitive Functions
One-Way Hash Primitives
Data Authentication Primitive Functions
Public Key Cryptography Functions
Finite Field Arithmetic
Multi-buffer Cryptography Functions
Appendix A: Support Functions and Classes
Removed Functions
Bibliography
Notices and Disclaimers
AESGetSize
AESInit
AESSetKey
AESPack, AESUnpack
AESEncryptECB
AESDecryptECB
AESEncryptCBC
AESDecryptCBC
AESEncryptCBC_CS
AESDecryptCBC_CS
AESEncryptCFB
AES_EncryptCFB16_MB
AESDecryptCFB
AESEncryptOFB
AESDecryptOFB
AESEncryptCTR
AESDecryptCTR
AESEncryptXTS_Direct, AESDecryptXTS_Direct
Example of Using AES Functions
HashGetSize
HashInit
HashPack, HashUnpack
HashDuplicate
HashUpdate
HashFinal
HashGetTag
HashMethod
HashMethodSet
HashMethodGetSize
SM3GetSize
SM3Init
SM3Pack, SM3Unpack
SM3Duplicate
SM3Update
SM3Final
SM3GetTag
MD5GetSize
MD5Init
MD5Pack, MD5Unpack
MD5Duplicate
MD5Update
MD5Final
MD5GetTag
SHA1GetSize
SHA1Init
SHA1Pack, SHA1Unpack
SHA1Duplicate
SHA1Update
SHA1Final
SHA1GetTag
SHA224GetSize
SHA224Init
SHA224Pack, SHA224Unpack
SHA224Duplicate
SHA224Update
SHA224Final
SHA224GetTag
SHA256GetSize
SHA256Init
SHA256Pack, SHA256Unpack
SHA256Duplicate
SHA256Update
SHA256Final
SHA256GetTag
SHA384GetSize
SHA384Init
SHA384Pack, SHA384Unpack
SHA384Duplicate
SHA384Update
SHA384Final
SHA384GetTag
SHA512GetSize
SHA512Init
SHA512Pack, SHA512Unpack
SHA512Duplicate
SHA512Update
SHA512Final
SHA512GetTag
RSA_GetSizePublicKey, RSA_GetSizePrivateKeyType1, RSA_GetSizePrivateKeyType2
RSA_InitPublicKey, RSA_InitPrivateKeyType1, RSA_InitPrivateKeyType2
RSA_SetPublicKey, RSA_SetPrivateKeyType1, RSA_SetPrivateKeyType2
RSA_GetPublicKey, RSA_GetPrivateKeyType1, RSA_GetPrivateKeyType2
RSA_GetBufferSizePublicKey, RSA_GetBufferSizePrivateKey
RSA_MB_GetBufferSizePublicKey, RSA_MB_GetBufferSizePrivateKey
RSA_GenerateKeys
RSA_ValidateKeys
DLPGetSize
DLPInit
DLPPack, DLPUnpack
DLPSet
DLPGet
DLPSetDP
DLPGetDP
DLPGenKeyPair
DLPPublicKey
DLPValidateKeyPair
DLPSetKeyPair
DLPGenerateDSA
DLPValidateDSA
DLPSignDSA
DLPVerifyDSA
Example of Using Discrete-logarithm Based Primitive Functions
DLPGenerateDH
DLPValidateDH
DLPSharedSecretDH
DLGetResultString
ECCPGetSize
ECCPGetSizeStd
ECCPInit
ECCPInitStd
ECCPBindGxyTblStd
ECCPSet
ECCPSetStd
ECCPGet
ECCPGetOrderBitSize
ECCPValidate
ECCPPointGetSize
ECCPPointInit
ECCPSetPoint
ECCPSetPointAtInfinity
ECCPGetPoint
ECCPCheckPoint
ECCPComparePoint
ECCPNegativePoint
ECCPAddPoint
ECCPMulPointScalar
ECCPGenKeyPair
ECCPPublicKey
ECCPValidateKeyPair
ECCPSetKeyPair
ECCPSharedSecretDH
ECCPSharedSecretDHC
ECCPSignDSA
ECCPVerifyDSA
ECCPSignNR
ECCPVerifyNR
ECCPSignSM2
ECCPVerifySM2
Signing/Verification Using the Elliptic Curve Cryptography Functions over a Prime Finite Field
GFpECGetSize
GFpECInit
GFpECSet
GFpECSetSubgroup
GFpECInitStd
GFpECGet
GFpECGetSubgroup
GFpECScratchBufferSize
GFpECVerify
GFpECPointGetSize
GFpECPointInit
GFpECSetPointAtInfinity
GFpECSetPoint, GFpECSetPointREgular
GFpECSetPointOctString
GFpECSetPointRandom
GFpECMakePoint
GFpECSetPointHash, GFpECSetPointHashBackCompatible, GFpECSetPointHash_rmf, GFpECSetPointHashBackCompatible_rmf
GFpECGetPoint , GFpECGetPointRegular
GFpECGetPointOctString
GFpECTstPoint
GFpECTstPointInSubgroup
GFpECCpyPoint
GFpECCmpPoint
GFpECNegPoint
GFpECAddPoint
GFpECMulPoint
GFpECPrivateKey, GFpECPublicKey, GFpECTstKeyPair
GFpECPublicKey
GFpECTstKeyPair
GFpECPSharedSecretDH, GFpECPSharedSecretDHC
GFpECSharedSecretDHC
GFpECPSignDSA, GFpECPSignNR, GFpECPSignSM2
GFpECPVerifyDSA, GFpECPVerifyNR, GFpECPVerifySM2
GFpECSignNR
GFpECVerifyNR
GFpECSignSM2
GFpECVerifySM2
GFpInit
GFpMethod
GFpGetSize
GFpxInitBinomial
GFpxInit
GFpxMethod
GFpxGetSize
GFpScratchBufferSize
GFpElementGetSize
GFpElementInit
GFpSetElement
GFpSetElementOctString
GFpSetElementRandom
GFpSetElementHash
GFpCpyElement
GFpGetElement
GFpGetElementOctString
GFpCmpElement
GFpIsZeroElement
GFpIsUnityElement
GFpConj
GFpNeg
GFpInv
GFpSqrt
GFpAdd
GFpSub
GFpMul
GFpSqr
GFpExp
GFpMultiExp
GFpAdd_PE
GFpSub_PE
GFpMul_PE
Visible to Intel only — GUID: GUID-40BB3CC4-C09E-4636-876C-569277AEEA19
PRNGen_BN
Generates a pseudorandom positive Big Number of the specified bitlength.
Syntax
IppStatus ippsPRNGen_BN(IppsBigNumState* pRandBN, int nBits, void* pCtx);
Include Files
ippcp.h
Parameters
pRandBN |
Pointer to the output pseudorandom Big Number. |
nBits |
Number of the generated pseudorandom bit. |
pCtx |
Pointer to the IppsPRNGState context. |
Description
The function generates pseudorandom positive Big Number of the specified nBits length.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or warning. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsContextMatchErr |
Indicates an error condition if the context parameter does not match the operation. |
ippStsLengthErr |
Indicates an error condition if nBits is less than 1. |
Parent topic: Pseudorandom Number Generation Functions
Did you find the information on this page useful?
Feedback Message
Characters remaining: