native.intel.packet.cbc_pc.cbc_pc.h Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-lts8on Show documentation
Show all versions of bcprov-lts8on Show documentation
The Long Term Stable (LTS) Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains the JCA/JCE provider and low-level API for the BC LTS version 2.73.7 for Java 8 and later.
#ifndef BC_LTS_C_CBC_PC_H
#define BC_LTS_C_CBC_PC_H
#include
#include
#include
#include "../packet_utils.h"
size_t cbc_pc_encrypt(unsigned char *src, uint32_t blocks, unsigned char *dest, __m128i *chainblock, __m128i *roundKeys,
int num_rounds);
size_t cbc_pc_decrypt(unsigned char *src, uint32_t blocks, unsigned char *dest, __m128i *chainblock, __m128i *roundKeys,
int num_rounds);
packet_err *
cbc_pc_process_packet(bool encryption, uint8_t *key, size_t keysize, uint8_t *iv, uint8_t *p_in,
size_t inLen, uint8_t *p_out, size_t *outputLen);
#endif //BC_LTS_C_CBC_PC_H
© 2015 - 2024 Weber Informatics LLC | Privacy Policy