Sha256: f8790fbce14b46dfe9c51b79e47f56f89c370474c8c8e814228a5c42355acc22
Contents?: true
Size: 620 Bytes
Versions: 1
Compression:
Stored size: 620 Bytes
Contents
#ifndef HEADER_FPE_LOCL_H # define HEADER_FPE_LOCL_H #include <string.h> #include <openssl/bn.h> // ceil and floor for x / (2 ^ bit) # define ceil2(x, bit) ( ((x) >> (bit)) + ( ((x) & ((1 << (bit)) - 1)) > 0 ) ) # define floor2(x, bit) ( (x) >> (bit) ) void pow_uv(BIGNUM *pow_u, BIGNUM *pow_v, unsigned int x, int u, int v, BN_CTX *ctx); void map_chars(char str[], unsigned int result[]); void inverse_map_chars(unsigned int result[], char str[], int len); void hex2chars(const char hex[], unsigned char result[]); void display_as_hex(char *name, unsigned char *k, unsigned int klen); //int log2(int x); #endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_clang_fpe-0.1.0 | vendor/clang-fpe/src/fpe_locl.h |