Explorar el Código

add makefile for rsa-testvectors

Steffen Jaeckel hace 11 años
padre
commit
7c10ec9dd2
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      notes/rsa-testvectors/makefile

+ 11 - 0
notes/rsa-testvectors/makefile

@@ -0,0 +1,11 @@
+default: regen
+
+clean:
+	rm -f *.c
+
+regen:
+	python rt.py pss-vect.txt pss > pss-vect.c
+	python rt.py oaep-vect.txt oaep > oaep-vect.c
+	python rt.py pkcs1v15sign-vectors.txt emsa > pkcs1v15sign-vectors.c
+	python rt.py pkcs1v15crypt-vectors.txt eme > pkcs1v15crypt-vectors.c
+