X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=A5_1.c;h=a07b4846483381d15cd224b07098aa371096017c;hb=b246a2a0589f234db6247255555df98f4c281c41;hp=526e6cfdb5aa4aa0b7d0666a5fa33e76514a4bbc;hpb=96ebafd201c9e8441c7677577b24aa402c1defc6;p=avr-crypto-lib.git diff --git a/A5_1.c b/A5_1.c index 526e6cf..a07b484 100644 --- a/A5_1.c +++ b/A5_1.c @@ -1,6 +1,6 @@ /* A5_1.c */ /* - This file is part of the Crypto-avr-lib/microcrypt-lib. + This file is part of the AVR-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify @@ -17,10 +17,11 @@ along with this program. If not, see . */ /* - * File: A5_1.c - * Author: Daniel Otte - * Date: 24.06.2006 - * License: GPL + * File: A5_1.c + * Author: Daniel Otte + * email: daniel.otte@rub.de + * Date: 2006-06-24 + * License: GPLv3 or later * Description: Implementation of the A5/1 stream cipher algorithm, as used in GSM. * ! Warning, this is weak crypto ! * @@ -35,7 +36,7 @@ uint8_t a5_1_clock_core(a5_1_ctx_t *c, uint8_t clockoverride); /* - * length is length of key in bytes! + * length is length of key in bits! */ void a5_1_init(a5_1_ctx_t *c, void* key, uint8_t keylength_b, void* iv, uint8_t ivlength_b){