projects
/
crypto_lab2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Encrypting should be OK.
[crypto_lab2.git]
/
rapport
/
main.tex
diff --git
a/rapport/main.tex
b/rapport/main.tex
index
22e7f92
..
526fcc9
100644
(file)
--- a/
rapport/main.tex
+++ b/
rapport/main.tex
@@
-50,7
+50,7
@@
mutable, if, then, else, cloud, async, static, use, abstract, interface, inherit
\begin{itemize}
\item \emph{RSA-2048} pour la signature ainsi que pour le chiffrage des clefs \emph{AES} et \emph{HMAC}. Le padding \emph{PKCS\#1 v1.5} est utilisé ;
\item \emph{HMAC-SHA256} pour la vérification de l'intégrité ;
\begin{itemize}
\item \emph{RSA-2048} pour la signature ainsi que pour le chiffrage des clefs \emph{AES} et \emph{HMAC}. Le padding \emph{PKCS\#1 v1.5} est utilisé ;
\item \emph{HMAC-SHA256} pour la vérification de l'intégrité ;
- \item \emph{AES-CBC256} pour le chiffrement symétrique du contenu du fichier et des méta-données.
+ \item \emph{AES-CBC256} pour le chiffrement symétrique du contenu du fichier et des méta-données
associées. Le padding \emph{PKCS7} est utilisé
.
\end{itemize}
\end{itemize}
@@
-61,7
+61,7
@@
Le format est définit comme suit en \emph{EBNF}. Les valeurs entre crochets cor
\begin{lstlisting}[frame=single, breaklines, basicstyle=\ttfamily\footnotesize]
container = header, ciphertext ;
\begin{lstlisting}[frame=single, breaklines, basicstyle=\ttfamily\footnotesize]
container = header, ciphertext ;
-header =
file-content-size[int64],
mac[256], signature[2048], keys[2048] ;
+header = mac[256], signature[2048], keys[2048] ;
ciphertext = AES(plaintext) ;
plaintext = meta-data, file-content ;
meta-data = meta-data-size[int32], { key-value-pair } ;
ciphertext = AES(plaintext) ;
plaintext = meta-data, file-content ;
meta-data = meta-data-size[int32], { key-value-pair } ;