X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=cscipher%2Fcscipher_small.c;h=9e8b297f7598154b7fc778806699b34e20a4dceb;hb=548902530e99ffda615113aee335956ea92aab7c;hp=9cec6e8a4b3ab132823a851dc6b806a791d5cf1b;hpb=0542221a3e793e4455e84b271b07aa0959d5dfb3;p=avr-crypto-lib.git diff --git a/cscipher/cscipher_small.c b/cscipher/cscipher_small.c index 9cec6e8..9e8b297 100644 --- a/cscipher/cscipher_small.c +++ b/cscipher/cscipher_small.c @@ -146,7 +146,7 @@ void cscipher_dec(void* buffer, const cscipher_ctx_t* ctx){ }while(i--); } -void cscipher_init(void* key, cscipher_ctx_t* ctx){ +void cscipher_init(const void* key, cscipher_ctx_t* ctx){ uint8_t tmp_key[16], tmp[8]; uint8_t i,j,k,t; memcpy(tmp_key, key, 16);