X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=rsa%2Frsaes_pkcs1v15.c;h=c1f753fa9220feb3a60f610c544911b2646d2049;hb=e9e07569721b9e005d6b602e26a03e930e796577;hp=4f41546de6dd420a4f7c369e75fc5e3ab834b18f;hpb=3a9f9d918fb95474996af535c225a7e187d88372;p=avr-crypto-lib.git diff --git a/rsa/rsaes_pkcs1v15.c b/rsa/rsaes_pkcs1v15.c index 4f41546..c1f753f 100644 --- a/rsa/rsaes_pkcs1v15.c +++ b/rsa/rsaes_pkcs1v15.c @@ -1,7 +1,7 @@ /* rsa_pkcs1v15.c */ /* This file is part of the ARM-Crypto-Lib. - Copyright (C) 2006-2011 Daniel Otte (daniel.otte@rub.de) + Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -79,7 +79,7 @@ uint8_t rsa_encrypt_pkcs1v15(void *dest, uint16_t *out_length, const void *src, cli_hexdump_block(x.wordv, x.length_W * sizeof(bigint_word_t), 4, 16); #endif bigint_adjust(&x); - rsa_os2ip(&x, NULL, length_B+pad_length+3); + rsa_os2ip(&x, NULL, length_B + pad_length + 3); rsa_enc(&x, key); rsa_i2osp(NULL, &x, out_length); return 0;