X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=rsa%2Frsaes_pkcs1v15.h;h=6eaffc2dac726da7639b90f5e9df661b6ca4af18;hp=cb127409b5a4d29eb2bc670e4e49774a27e091da;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=cc6b183296a5852449e3324737e2a2dece788786 diff --git a/rsa/rsaes_pkcs1v15.h b/rsa/rsaes_pkcs1v15.h index cb12740..6eaffc2 100644 --- a/rsa/rsaes_pkcs1v15.h +++ b/rsa/rsaes_pkcs1v15.h @@ -1,7 +1,7 @@ /* rsa_pkcs1v15.h */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 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 @@ -23,13 +23,13 @@ #include #include "bigint.h" -uint16_t rsa_pkcs1v15_compute_padlength_B(bigint_t* modulus, uint16_t msg_length_B); +uint16_t rsa_pkcs1v15_compute_padlength_B(bigint_t *modulus, uint16_t msg_length_B); -uint8_t rsa_encrypt_pkcs1v15(void* dest, uint16_t* out_length, const void* src, - uint16_t length_B, rsa_publickey_t* key, const void* pad); +uint8_t rsa_encrypt_pkcs1v15(void *dest, uint16_t *out_length, const void *src, + uint16_t length_B, rsa_publickey_t *key, const void *pad); -uint8_t rsa_decrypt_pkcs1v15(void* dest, uint16_t* out_length, const void* src, - uint16_t length_B, rsa_privatekey_t* key, void* pad); +uint8_t rsa_decrypt_pkcs1v15(void *dest, uint16_t *out_length, const void *src, + uint16_t length_B, rsa_privatekey_t *key, void *pad); #endif /* RSA_PKCS1V15_H_ */