diff options
author | jbj <devnull@localhost> | 2003-04-25 19:19:48 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-04-25 19:19:48 +0000 |
commit | 6531425e337992aae37b5fd16021c6534ca230df (patch) | |
tree | dd43ce80b9ac551238a30139aac4fe65b903e882 /beecrypt/dhaes.h | |
parent | b52edfb1ed46c2eeb79c63dd9ceba158754257de (diff) | |
download | librpm-tizen-6531425e337992aae37b5fd16021c6534ca230df.tar.gz librpm-tizen-6531425e337992aae37b5fd16021c6534ca230df.tar.bz2 librpm-tizen-6531425e337992aae37b5fd16021c6534ca230df.zip |
beecrypt-3.0.0 merge: grand renaming, mp32number et al.
CVS patchset: 6776
CVS date: 2003/04/25 19:19:48
Diffstat (limited to 'beecrypt/dhaes.h')
-rw-r--r-- | beecrypt/dhaes.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/beecrypt/dhaes.h b/beecrypt/dhaes.h index 8d2df4290..ed6eaa496 100644 --- a/beecrypt/dhaes.h +++ b/beecrypt/dhaes.h @@ -48,8 +48,8 @@ typedef struct typedef struct { dldp_p param; - mp32number pub; - mp32number pri; + mpnumber pub; + mpnumber pri; hashFunctionContext hash; blockCipherContext cipher; keyedHashFunctionContext mac; @@ -80,13 +80,13 @@ int dhaes_pContextInit (dhaes_pContext* ctxt, const dhaes_pParameters* par /** */ BEECRYPTAPI /*@unused@*/ -int dhaes_pContextInitDecrypt(dhaes_pContext* ctxt, const dhaes_pParameters* params, const mp32number* pri) +int dhaes_pContextInitDecrypt(dhaes_pContext* ctxt, const dhaes_pParameters* params, const mpnumber* pri) /*@modifies ctxt */; /** */ BEECRYPTAPI /*@unused@*/ -int dhaes_pContextInitEncrypt(dhaes_pContext* ctxt, const dhaes_pParameters* params, const mp32number* pub) +int dhaes_pContextInitEncrypt(dhaes_pContext* ctxt, const dhaes_pParameters* params, const mpnumber* pub) /*@modifies ctxt */; /** @@ -98,13 +98,13 @@ int dhaes_pContextFree (/*@only@*/ dhaes_pContext* ctxt) /** */ BEECRYPTAPI /*@only@*/ /*@null@*/ /*@unused@*/ -memchunk* dhaes_pContextEncrypt(dhaes_pContext* ctxt, mp32number* ephemeralPublicKey, mp32number* mac, const memchunk* cleartext, randomGeneratorContext* rng) +memchunk* dhaes_pContextEncrypt(dhaes_pContext* ctxt, mpnumber* ephemeralPublicKey, mpnumber* mac, const memchunk* cleartext, randomGeneratorContext* rng) /*@modifies ctxt, ephemeralPublicKey, mac, rng */; /** */ BEECRYPTAPI /*@only@*/ /*@null@*/ /*@unused@*/ -memchunk* dhaes_pContextDecrypt(dhaes_pContext* ctxt, const mp32number* ephemeralPublicKey, const mp32number* mac, const memchunk* ciphertext) +memchunk* dhaes_pContextDecrypt(dhaes_pContext* ctxt, const mpnumber* ephemeralPublicKey, const mpnumber* mac, const memchunk* ciphertext) /*@modifies ctxt */; #ifdef __cplusplus |