| RSA BSAFE Cert-C Micro Edition |
The power of PKI for the smallest of devices |
Functions | |
| int | R_CR_encrypt_init (R_CR *crypto, R_SKEY *key, R_ITEM *iv) |
| Initializes a cryptographic object for encryption. More... | |
| int | R_CR_encrypt (R_CR *crypto, unsigned char *data, unsigned int dlen, unsigned char *out, unsigned int *olen) |
Encrypts a single block of data and calls the implementations of update and final automatically. More... | |
| int | R_CR_encrypt_update (R_CR *crypto, unsigned char *data, unsigned int dlen, unsigned char *out, unsigned int *olen) |
| Encrypts a single block of data. More... | |
| int | R_CR_encrypt_final (R_CR *crypto, unsigned char *out, unsigned int *olen) |
| Finalizes the encryption process. More... | |
| int | R_CR_decrypt_init (R_CR *crypto, R_SKEY *key, R_ITEM *iv) |
| Initializes a cryptographic operation object for decryption. More... | |
| int | R_CR_decrypt (R_CR *crypto, unsigned char *data, unsigned int dlen, unsigned char *out, unsigned int *olen) |
Decrypts a block of data and calls the implementations of update and final automatically. More... | |
| int | R_CR_decrypt_update (R_CR *crypto, unsigned char *data, unsigned int dlen, unsigned char *out, unsigned int *olen) |
| Decrypts a block of data. More... | |
| int | R_CR_decrypt_final (R_CR *crypto, unsigned char *out, unsigned int *olen) |
| Finalizes the decryption process. More... | |
|
||||||||||||||||||||||||
|
Decrypts a block of data and calls the implementations of
|
|
||||||||||||||||
|
Finalizes the decryption process. Indicates that the last block of data has been passed to the algorithm. It triggers the possible removal of padding Bytes and the return of the last block of plaintext to the caller.
|
|
||||||||||||||||
|
Initializes a cryptographic operation object for decryption.
|
|
||||||||||||||||||||||||
|
Decrypts a block of data. Call R_CR_decrypt_final() after all blocks of data have been processed to complete the decryption process.
|
|
||||||||||||||||||||||||
|
Encrypts a single block of data and calls the implementations of
|
|
||||||||||||||||
|
Finalizes the encryption process. Indicates that the last block of data has been passed to the algorithm and triggers possible padding, and the return of the last block of cipher text to the caller. All data to encrypt must have been processed by calls to R_CR_encrypt_update().
|
|
||||||||||||||||
|
Initializes a cryptographic object for encryption.
|
|
||||||||||||||||||||||||
|
Encrypts a single block of data. Call R_CR_encrypt_final() after all blocks of data have been processed to complete the encryption process.
|