浏览代码

add makefile for rsa-testvectors

Steffen Jaeckel 11 年之前
父节点
当前提交
7c10ec9dd2
共有 1 个文件被更改,包括 11 次插入0 次删除
  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
+