MACOne_BNU_I

Computes multiplication of unsigned integer big number by 32-bit integer and accumulates the result with another integer big number.

Syntax

IppStatus ippsMACOne_BNU_I(const Ipp32u *a, Ipp32u *r, int n, Ipp32u w, Ipp32u *carry);

Parameters

a

Multiplicand, an unsigned integer big number.

w

32-bit unsigned long integer multiplier.

n

Size specified for the input parameters a and the result parameter r. The size is expressed in the number of 32-bit words.

r

Unsigned integer big number accumulator.

carry

Operation carry.

Description

This function is declared in the ippcp.h file. The function computes the multiplication of an unsigned integer big number a by a 32-bit integer w and accumulates the result with another integer big number r of same length. The result of the operation is returned to r, and the carry of the result is returned as carry.

The following pseudocode represents this function:

(carry|(*r)) (*r) + (*a)w.

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 n is less than or equal to 0.

Submit feedback on this help topic

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