Global Functions in Global Namespace C++
in Sourcefile cipher.h
- rtl_cipher_create
- extern "C"
rtlCipher rtl_cipher_create(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Create a cipher handle for the given algorithm and mode.
- See Also
- rtlCipherAlgorithm
rtlCipherMode
- Parameters
Algorithm |
cipher algorithm.
|
Mode |
cipher mode.
|
- Return
- Cipher handle, or 0 upon failure.
- rtl_cipher_createARCFOUR
- extern "C"
rtlCipher rtl_cipher_createARCFOUR(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Create a RC4 cipher handle for the given mode.
- Description
- The RC4 symmetric stream cipher algorithm is specified in
Bruce Schneier: Applied Cryptography, 2nd edition, ch. 17.1
- See Also
- rtl_cipher_create()
- Parameters
Mode |
cipher mode. Must be rtl_Cipher_ModeStream.
|
- Return
- Cipher handle, or 0 upon failure.
- rtl_cipher_createBF
- extern "C"
rtlCipher rtl_cipher_createBF(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Create a Blowfish cipher handle for the given mode.
- Description
- The Blowfish block cipher algorithm is specified in
Bruce Schneier: Applied Cryptography, 2nd edition, ch. 14.3
- See Also
- rtl_cipher_create()
- rtl_cipher_decode
- extern "C"
rtlCipherError rtl_cipher_decode(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Decode a buffer under a given cipher algorithm.
- Precondition
- Initialized for a compatible cipher direction.
- See Also
- rtl_cipher_init()
- Parameters
Cipher |
cipher handle.
|
pData |
ciphertext buffer.
|
nDatLen |
ciphertext length in bytes.
|
pBuffer |
plaintext buffer.
|
nBufLen |
plaintext length in bytes.
|
- Return
- rtl_Cipher_E_None upon success.
- rtl_cipher_decodeARCFOUR
- extern "C"
rtlCipherError rtl_cipher_decodeARCFOUR(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Decode a buffer under the RC4 cipher algorithm.
- See Also
- rtl_cipher_decode()
- rtl_cipher_decodeBF
- extern "C"
rtlCipherError rtl_cipher_decodeBF(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Decode a buffer under the Blowfish cipher algorithm.
- See Also
- rtl_cipher_decode()
- rtl_cipher_destroy
- extern "C"
void rtl_cipher_destroy(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Destroy a cipher handle.
- Parameters
Cipher |
cipher handle to be destroyed.
|
- Return
- None. Cipher handle destroyed and invalid.
- rtl_cipher_destroyARCFOUR
- extern "C"
void rtl_cipher_destroyARCFOUR(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Destroy a RC4 cipher handle.
- See Also
- rtl_cipher_destroy()
- rtl_cipher_destroyBF
- extern "C"
void rtl_cipher_destroyBF(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Destroy a Blowfish cipher handle.
- See Also
- rtl_cipher_destroy()
- rtl_cipher_encode
- extern "C"
rtlCipherError rtl_cipher_encode(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Encode a buffer under a given cipher algorithm.
- Precondition
- Initialized for a compatible cipher direction.
- See Also
- rtl_cipher_init()
- Parameters
Cipher |
cipher handle.
|
pData |
plaintext buffer.
|
nDatLen |
plaintext length in bytes.
|
pBuffer |
ciphertext buffer.
|
nBufLen |
ciphertext length in bytes.
|
- Return
- rtl_Cipher_E_None upon success.
- rtl_cipher_encodeARCFOUR
- extern "C"
rtlCipherError rtl_cipher_encodeARCFOUR(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Encode a buffer under the RC4 cipher algorithm.
- See Also
- rtl_cipher_encode()
- rtl_cipher_encodeBF
- extern "C"
rtlCipherError rtl_cipher_encodeBF(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Encode a buffer under the Blowfish cipher algorithm.
- See Also
- rtl_cipher_encode()
- rtl_cipher_init
- extern "C"
rtlCipherError rtl_cipher_init(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Inititialize a cipher for the given direction.
- See Also
- rtlCipherDirection
- Parameters
Cipher |
cipher handle.
|
Direction |
cipher direction.
|
pKeyData |
key material buffer.
|
nKeyLen |
key material length in bytes.
|
pArgData |
initialization vector buffer.
|
nArgLen |
initialization vector length in bytes.
|
- Return
- rtl_Cipher_E_None upon success.
- rtl_cipher_initARCFOUR
- extern "C"
rtlCipherError rtl_cipher_initARCFOUR(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Inititialize a RC4 cipher for the given direction.
- See Also
- rtl_cipher_init()
- rtl_cipher_initBF
- extern "C"
rtlCipherError rtl_cipher_initBF(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Inititialize a Blowfish cipher for the given direction.
- See Also
- rtl_cipher_init()
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.