📄 xcr_random.h
字号:
/* Copyright 2003-2006, Voltage Security, all rights reserved.
*/
#include "ictk.h"
#ifndef XCR_RANDOM_H
#define XCR_RANDOM_H
#ifdef __cplusplus
extern "C" {
#endif
/* Generate sz bytes. If modulus is NULL, just generate sz bytes.
* If modulus is not NULL, keep generating bytes until obtaining a
* value less than modulus (which is also sz bytes long).
*/
int xcrRandomBytes (
VoltLibCtx *libCtx,
VoltMpIntCtx *mpCtx,
VtRandomObject userRandom,
unsigned char *modulus,
unsigned char *buf,
unsigned int sz
);
#ifdef __cplusplus
}
#endif
#endif /* XCR_RANDOM_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -