projects
/
crypto_lab2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put the API in an seperate library assembly and create an assembly for testing.
[crypto_lab2.git]
/
notes.txt
diff --git
a/notes.txt
b/notes.txt
index
c577848
..
31f7e2b
100644
(file)
--- a/
notes.txt
+++ b/
notes.txt
@@
-50,11
+50,12
@@
inputs:
* Génération d'une clef 256 bits pour AES -> kc
* Génération d'une clef 256 bits pour MAC -> ka
* Génération d'une clef 256 bits pour AES -> kc
* Génération d'une clef 256 bits pour MAC -> ka
+* Génération d'un IV pour le mode CBC -> iv
* Construction du plaintext, voir format ci dessous
* Construction du plaintext, voir format ci dessous
-* Chiffrement du plaintext avec AES-CBC256 et kc -> ciphertext
+* Chiffrement du plaintext avec AES-CBC256 et kc
et iv
-> ciphertext
* Calcul de MAC de ciphertext -> mac
* Signature de mac -> sig
* Calcul de MAC de ciphertext -> mac
* Signature de mac -> sig
-* Chiffrement de kc + ka avec kpub (RSA) -> keys
+* Chiffrement de kc + ka
+ iv
avec kpub (RSA) -> keys
* Renvoie mac + sig + keys + ciphertext
* Renvoie mac + sig + keys + ciphertext