![]() |
xilasu
Vitis Drivers API Documentation
|
This structure contains ECIES params info. More...
Data Fields | |
| u64 | RxKeyAddr |
Address of Rx's public key(length: 2 * EccKeyLength) for encryption or Rx private key(length: EccKeyLength) for decryption More... | |
| u64 | TxKeyAddr |
Address of Tx's public key(length: 2 * EccKeyLength): which will be an Output for encryption or input for decryption More... | |
| u64 | InDataAddr |
Input maddress which holds : The plaintext for encryption or ciphertext for decryption More... | |
| u64 | IvAddr |
| IV address. More... | |
| u64 | OutDataAddr |
| Output address: Ciphertext for encryption, Plaintext for decryption. More... | |
| u64 | MacAddr |
| MAC Address: Output for encryption, input for decryption. More... | |
| u64 | ContextAddr |
| Context address which is used for generating the HKDF. More... | |
| u64 | SaltAddr |
| Address of the buffer holding salt used for generating the HKDF. More... | |
| u32 | SaltLen |
| Length of the Salt. More... | |
| u32 | ContextLen |
| Length of the Context. More... | |
| u32 | DataLength |
| Length of the Plaintext/Ciphertext in bytes. More... | |
| u8 | EccCurveType |
| ECC curve type. More... | |
| u8 | ShaType |
| Hash family type (XASU_SHA2_TYPE / XASU_SHA3_TYPE) More... | |
| u8 | ShaMode |
SHA Mode, where XASU_SHA_MODE_SHAKE256 is valid only for SHA3 Type (XASU_SHA_MODE_SHA256 / XASU_SHA_MODE_SHA384 / XASU_SHA_MODE_SHA512 / XASU_SHA_MODE_SHAKE256) More... | |
| u8 | Reserved |
| Reserved. More... | |
| u8 | AesKeySize |
| AES key size XASU_AES_KEY_SIZE_128_BITS: 128 bit key, XASU_AES_KEY_SIZE_256_BITS: 256 bit key. More... | |
| u8 | EccKeyLength |
| Length of the provided ECC curve in bytes. More... | |
| u8 | IvLength |
| Length of the IV in bytes. More... | |
| u8 | MacLength |
| Length of the MAC in bytes. More... | |
This structure contains ECIES params info.
| u8 XAsu_EciesParams::AesKeySize |
AES key size XASU_AES_KEY_SIZE_128_BITS: 128 bit key, XASU_AES_KEY_SIZE_256_BITS: 256 bit key.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u64 XAsu_EciesParams::ContextAddr |
Context address which is used for generating the HKDF.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u32 XAsu_EciesParams::ContextLen |
Length of the Context.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u32 XAsu_EciesParams::DataLength |
Length of the Plaintext/Ciphertext in bytes.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u8 XAsu_EciesParams::EccCurveType |
ECC curve type.
Referenced by main(), XAsu_EciesDecrypt(), and XAsu_ValidateEciesParameters().
| u8 XAsu_EciesParams::EccKeyLength |
Length of the provided ECC curve in bytes.
Referenced by main(), XAsu_EciesDecrypt(), and XAsu_ValidateEciesParameters().
| u64 XAsu_EciesParams::InDataAddr |
Input maddress which holds : The plaintext for encryption or ciphertext
for decryption
Referenced by main(), and XAsu_ValidateEciesParameters().
| u64 XAsu_EciesParams::IvAddr |
IV address.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u8 XAsu_EciesParams::IvLength |
Length of the IV in bytes.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u64 XAsu_EciesParams::MacAddr |
MAC Address: Output for encryption, input for decryption.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u8 XAsu_EciesParams::MacLength |
Length of the MAC in bytes.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u64 XAsu_EciesParams::OutDataAddr |
Output address: Ciphertext for encryption, Plaintext for decryption.
Referenced by main(), and XAsu_ValidateEciesParameters().
| u8 XAsu_EciesParams::Reserved |
Reserved.
| u64 XAsu_EciesParams::RxKeyAddr |
Address of Rx's public key(length: 2 * EccKeyLength) for encryption or
Rx private key(length: EccKeyLength) for decryption
Referenced by main(), and XAsu_ValidateEciesParameters().
| u64 XAsu_EciesParams::SaltAddr |
Address of the buffer holding salt used for generating the HKDF.
Referenced by main().
| u32 XAsu_EciesParams::SaltLen |
Length of the Salt.
Referenced by main().
| u8 XAsu_EciesParams::ShaMode |
SHA Mode, where XASU_SHA_MODE_SHAKE256 is valid only for SHA3 Type
(XASU_SHA_MODE_SHA256 / XASU_SHA_MODE_SHA384 / XASU_SHA_MODE_SHA512 / XASU_SHA_MODE_SHAKE256)
Referenced by main(), and XAsu_ValidateEciesParameters().
| u8 XAsu_EciesParams::ShaType |
Hash family type (XASU_SHA2_TYPE / XASU_SHA3_TYPE)
Referenced by main(), XAsu_EciesDecrypt(), XAsu_EciesEncrypt(), and XAsu_ValidateEciesParameters().
| u64 XAsu_EciesParams::TxKeyAddr |
Address of Tx's public key(length: 2 * EccKeyLength):
which will be an Output for encryption or input for decryption
Referenced by main(), and XAsu_ValidateEciesParameters().