X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=keccak%2Fkeccak-stub.c;fp=keccak%2Fkeccak-stub.c;h=c8467460a9ff8ccac2168ec102ba47f8404788f2;hp=de93cf81eea23ed1f68631ef7682986d8606a172;hb=2ef97287a9ad083781a540bedf8e86fba17f9265;hpb=5b6783aa504630809dc982fd92e5a09f6f0d0e63 diff --git a/keccak/keccak-stub.c b/keccak/keccak-stub.c index de93cf8..c846746 100644 --- a/keccak/keccak-stub.c +++ b/keccak/keccak-stub.c @@ -170,6 +170,7 @@ void keccak512_ctx2hash(void* dest, keccak_ctx_t* ctx){ 3. SHA3-384: ⌊Keccak[r = 832, c = 768, d = 48]⌋384 4. SHA3-512: ⌊Keccak[r = 576, c = 1024, d = 64]⌋512 */ +/* void keccak_init(uint16_t r, keccak_ctx_t* ctx){ memset(ctx->a, 0x00, 5 * 5 * 8); ctx->r = r; @@ -191,3 +192,5 @@ void keccak384_init(keccak_ctx_t* ctx){ void keccak512_init(keccak_ctx_t* ctx){ keccak_init( 576, ctx); } + +*/