| RSA BSAFE Cert-C |
Certificate Components for C |
| Crypto-C 6.2.1 Developer's Guide | ||
| Search |
#include "bsfmacro.h"
#include "bsfplatf.h"
#include "aglobal.h"
Go to the source code of this file.
Functions | |
| void | T_memset (POINTER, int, unsigned int) |
| Sets a block of memory to a given value. More... | |
| void | T_memcpy (POINTER, POINTER, unsigned int) |
| Copies a block of memory. More... | |
| void | T_memmove (POINTER, POINTER, unsigned int) |
| Copies a block of memory. More... | |
| int | T_memcmp (POINTER, POINTER, unsigned int) |
| Compares the first len of firstBlock and secondBlock by scanning the blocks from the lowest address to the highest until a difference is found. More... | |
| POINTER | T_malloc (unsigned int) |
| Allocates a block of memory of at least len Bytes. More... | |
| POINTER | T_realloc (POINTER, unsigned int) |
| Changes the size of block to len. More... | |
| void | T_free (POINTER) |
| Frees an allocated block of memory. More... | |
| void | T_strcpy (char *, char *) |
Copies all Bytes of input, up to and including the first NULL Byte, to output. More... | |
| int | T_strcmp (char *, char *) |
| Compares firstString and secondString by scanning the strings, from the lowest address to the highest, until a difference is found. More... | |
| unsigned int | T_strlen (char *) |
Computes the length of a string (the number of Bytes up to, but not including, the first NULL Byte). More... | |
| void | T_time (UINT4 *) |
| Obtains the current time in seconds since 12:00 A.M. More... | |
|
|
Frees an allocated block of memory. Call T_malloc() to allocate the value of block. Call T_realloc() to reallocate the memory, or set it to
|
|
|
Allocates a block of memory of at least len Bytes. The value of len can be
|
|
||||||||||||||||
|
Compares the first len of firstBlock and secondBlock by scanning the blocks from the lowest address to the highest until a difference is found. The smaller-valued block is the one with the smaller-valued Byte at the point of difference. If no difference is found, the blocks are equal.If the value of len is
|
|
||||||||||||||||
|
Copies a block of memory. The first len Bytes of input are copied to output. The value of len can be
|
|
||||||||||||||||
|
Copies a block of memory. The first len Bytes of input are copied to output. The input and output blocks may overlap. The value of len can be
|
|
||||||||||||||||
|
Sets a block of memory to a given value. The first len Bytes of output are set to value. If the value of len is
|
|
||||||||||||
|
Changes the size of block to len. Allocates a memory block of length len Bytes. Copies as many Bytes as possible from the old memory block to the new one and frees the old block. The address of the new block can be different from the address of the old block. The value of len may be
On error, call T_free() to free block. Call T_malloc() to allocate the value of block. Call T_realloc() to reallocate, or set to
|
|
||||||||||||
|
Compares firstString and secondString by scanning the strings, from the lowest address to the highest, until a difference is found. The smaller-valued string is the one with the smaller-valued Byte at the point of difference. If no difference is found up to the length of the shortest string, the strings are equal if they have the same length. Otherwise, the longer string has the larger value. The strings are not considered equal if their lengths differ.
The data in firstString and secondString must be
|
|
||||||||||||
|
Copies all Bytes of input, up to and including the first
|
|
|
Computes the length of a string (the number of Bytes up to, but not including, the first
|
|
|
Obtains the current time in seconds since 12:00 A.M. GMT, January 1, 1970, and stores the result in theTime.
|