]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - rsa/rsaes_pkcs1v15.h
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / rsa / rsaes_pkcs1v15.h
index cb127409b5a4d29eb2bc670e4e49774a27e091da..6eaffc2dac726da7639b90f5e9df661b6ca4af18 100644 (file)
@@ -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
 #include <stdint.h>
 #include "bigint.h"
 
-uint16_t rsa_pkcs1v15_compute_padlength_B(bigint_tmodulus, 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_ */