X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=A5_1.c;h=7a59e1414ad193b7e42e7630ca423eb005bace73;hb=86af17284402f8198778fcb63a67f0503c1e48c8;hp=526e6cfdb5aa4aa0b7d0666a5fa33e76514a4bbc;hpb=96ebafd201c9e8441c7677577b24aa402c1defc6;p=avr-crypto-lib.git diff --git a/A5_1.c b/A5_1.c index 526e6cf..7a59e14 100644 --- a/A5_1.c +++ b/A5_1.c @@ -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){