
|
| B_RandomUpdate |
|
| |
B_RandomUpdate |
| |
|
| |
int B_RandomUpdate ( |
| |
B_ALGORITHM_OBJ randomAlgorithm, | /* random algorithm */ | |
unsigned char | *input, | /* block values to mix in */ |
unsigned int | inputLen, | /* length of input block */ |
A_SURRENDER_CTX *surrenderContext | /* surrender context */ | |
); |
|
|
|
|
|
Description
B_RandomUpdate mixes inputLen bytes from input into randomAlgorithm. The surrender context for processing and canceling during lengthy operations is surrenderContext; if
its value is (A_SURRENDER_CTX *)NULL_PTR,
Return value
Value | Description |
0 | Operation was successful. |
see Appendix A, | |
|
|
C h a p t e r 4 D e t a i l s o f C r y p t o - C F u n c t i o n s | 329 |