GetOctString_BNU

Converts unsigned integer big number into octet string.

Syntax

IppStatus ippsGetOctString_BNU(const Ipp32u* pBNU, int bnuSize, Ipp8u* pOctStr, int strLen);

Parameters

pBNU

Pointer to the source unsigned integer big number BNU.

bnuSize

Unsigned integer big number size (in 32-bit intems)

pOctStr

Pointer to the source octet string OctStr.

strLen

Length of the octet string.

Description

The function is declared in the ippcp.h file. This function converts unsigned integer big number BNU into octet string OctStr.

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.

ippStsLengthErr

Indicates an error condition if specified bnuSize is less than 1.

ippStsRangeErr

Indicates an error condition if 256^strLen is less than the unsigned integer big number.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.