X-Git-Url: http://git.euphorik.ch/?p=crypto_lab2.git;a=blobdiff_plain;f=rapport%2Fmain.tex;h=526fcc97bd071f772f1cef578c914f29deb6543f;hp=22e7f9207e0ea214b50b068b9e0ff31b0b63c713;hb=137157b6dbd5efb99b486a30da6e10b0a175f530;hpb=beda8d83dc421c479bdcf5ee626ec85ee8555a80 diff --git a/rapport/main.tex b/rapport/main.tex index 22e7f92..526fcc9 100644 --- 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é ; - \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} @@ -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 ; -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 } ;