X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=rsa%2Frsa_basic.h;h=54854a6db60c980e89b8e3b09de23136da3d98c9;hp=4dc705d1b8cb151d6e37b92ea6dee07cf78bb9e5;hb=7715ef86b09869014eb5afd319e4acc2ce157b00;hpb=cc6b183296a5852449e3324737e2a2dece788786 diff --git a/rsa/rsa_basic.h b/rsa/rsa_basic.h index 4dc705d..54854a6 100644 --- a/rsa/rsa_basic.h +++ b/rsa/rsa_basic.h @@ -23,14 +23,14 @@ #include "bigint.h" typedef struct { - bigint_t* exponent; - bigint_t* modulus; + bigint_t exponent; + bigint_t modulus; } rsa_publickey_t; typedef struct { uint8_t n; - bigint_t* modulus; - bigint_t** components; + bigint_t modulus; + bigint_t* components; } rsa_privatekey_t;