From eb9cfca42bfc0cefda25929bb19cea9764d5c7cc Mon Sep 17 00:00:00 2001 From: Geir Istad Date: Fri, 3 Mar 2017 19:12:29 +0100 Subject: crypto_math.h: Removed unused forward declarations There are no implementations or users for these functions. --- crypto/include/crypto_math.h | 67 -------------------------------------------- 1 file changed, 67 deletions(-) (limited to 'crypto') diff --git a/crypto/include/crypto_math.h b/crypto/include/crypto_math.h index 68ec303..2d1c203 100644 --- a/crypto/include/crypto_math.h +++ b/crypto/include/crypto_math.h @@ -51,73 +51,6 @@ extern "C" { #endif -unsigned char -v32_weight(v32_t a); - -unsigned char -v32_distance(v32_t x, v32_t y); - -unsigned int -v32_dot_product(v32_t a, v32_t b); - -char * -v16_bit_string(v16_t x); - -char * -v32_bit_string(v32_t x); - -char * -v64_bit_string(const v64_t *x); - -char * -octet_hex_string(uint8_t x); - -char * -v16_hex_string(v16_t x); - -char * -v32_hex_string(v32_t x); - -char * -v64_hex_string(const v64_t *x); - -int -hex_char_to_nibble(uint8_t c); - -int -is_hex_string(char *s); - -v16_t -hex_string_to_v16(char *s); - -v32_t -hex_string_to_v32(char *s); - -v64_t -hex_string_to_v64(char *s); - -void -v16_copy_octet_string(v16_t *x, const uint8_t s[2]); - -void -v32_copy_octet_string(v32_t *x, const uint8_t s[4]); - -void -v64_copy_octet_string(v64_t *x, const uint8_t s[8]); - -void -v128_add(v128_t *z, v128_t *x, v128_t *y); - -int -octet_string_is_eq(uint8_t *a, uint8_t *b, int len); - -/* - * the matrix A[] is stored in column format, i.e., A[i] is the ith - * column of the matrix -*/ -uint8_t -A_times_x_plus_b(uint8_t A[8], uint8_t x, uint8_t b); - #ifdef __cplusplus } #endif -- cgit v1.2.3