All Downloads are FREE. Search and download functionalities are using the official Maven repository.

native.intel.common.h Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.73.7
Show newest version


#ifndef BCN_COMMON_H
#define BCN_COMMON_H

#include 
#include 
#include 

#define ROUNDS_128 10
#define ROUNDS_192 12
#define ROUNDS_256 14


void init_256(__m128i *rk, uint8_t *uk, bool enc);
void init_192(__m128i *rk, uint8_t *uk, bool enc);
void init_128(__m128i *rk, uint8_t *uk, bool enc);

extern void _schedule_128(uint8_t *key, __m128i *roundKeys);
extern void _schedule_192(uint8_t *key, __m128i *roundKeys);
extern void _schedule_256(uint8_t *key, __m128i *roundKeys);

extern void _inv_256(__m128i *roundKeys);
extern void _inv_192(__m128i *roundKeys);
extern void _inv_128(__m128i *roundKeys);

#endif //BCN_COMMON_H




© 2015 - 2024 Weber Informatics LLC | Privacy Policy