aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-03-24 11:40:35 +0000
committerlloyd <[email protected]>2011-03-24 11:40:35 +0000
commit9170b09315035783ddf710ca87575fc33a11946c (patch)
tree3e15b72a0d260461fa1955b6720ccb428d1a6b74
parent7fd5a8658e3cd4c5a28099725255ae94a2ab9e46 (diff)
Remove some old scripts. Move the PGP key to a txt file. Document
adding back the keylength query functions.
-rw-r--r--doc/api.tex2
-rw-r--r--doc/log.txt2
-rw-r--r--doc/pgpkeys.asc83
-rw-r--r--doc/pgpkeys.txt36
-rwxr-xr-xdoc/scripts/comba.py65
-rwxr-xr-xdoc/scripts/combine_bmarks.pl120
-rwxr-xr-xdoc/scripts/dist.sh69
7 files changed, 39 insertions, 338 deletions
diff --git a/doc/api.tex b/doc/api.tex
index c1ed13b9e..434b717e4 100644
--- a/doc/api.tex
+++ b/doc/api.tex
@@ -2944,7 +2944,7 @@ The lists can be found at
A PGP key with a fingerprint of
\verb|621D AF64 11E1 851C 4CF9 A2E1 6211 EBF1 EFBA DFBC| is used to sign all
-Botan releases. This key can be found in the file \filename{doc/pgpkeys.asc};
+Botan releases. This key can be found in the file \filename{doc/pgpkeys.txt};
PGP keys for the developers are also stored there.
\vskip 5pt \noindent
diff --git a/doc/log.txt b/doc/log.txt
index 636fed104..8ceb13a60 100644
--- a/doc/log.txt
+++ b/doc/log.txt
@@ -4,6 +4,8 @@
- Disable the by-default 'strong' checking of private keys that are
loaded from storage. You can always request key material sanity
checking using check_key.
+ - Bring back removed functions min_keylength_of, max_keylength_of,
+ keylength_multiple_of in lookup.h to avoid breaking applications.
* 1.9.15, 2011-03-21
- First release candidate for 1.10.0
diff --git a/doc/pgpkeys.asc b/doc/pgpkeys.asc
deleted file mode 100644
index 378230f32..000000000
--- a/doc/pgpkeys.asc
+++ /dev/null
@@ -1,83 +0,0 @@
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
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5XzCZRov0z74CnTRKwT5u5hf4zp9doMi+DV
-sjtXTqXDHM8snA2tvPASNW67uK+v7WnZmYkCHAQTAQIABgUCQYPWUgAKCRBcD5bo
-TsFta+r9EACWVis7YcaGkKKgRB/5ox8rM36XVhMXdh/hnnGHt5rapbbRRkRHRcWU
-8WIcFO1A59+TfwNNd8gN1MEt/5aX5KHWVKHBDexJgIxm6Dm1pisYHf/dnYQPM18h
-mqqwNlKY97hFkPpHd7enrtc/SvGbQhhLXYlpwBrdMl76e9xJLnnrRQksxegGPo8c
-r+C9HTs1Lwa8zzBxyBwYBYX+0moDkDShEhuXx6mEOXrGvQanJuIvpoIwGH+62E65
-MbJGlwWpw/MAtm2jFhBIhGV0bqJCFp9zIgdNgfskBaPr0oilbuJQZqP0Iqe/6CCt
-4XkS51yWZqxjLAFpEpvDec4PGw3witKf/koGon9X8C035+nEjLBrWy18Q91vw2US
-yLI+mm9diMAS8pY2gomfxBO2VwYHJryZykjCYQkccRA1tHteRj4gqTObo0Ak47y5
-MnplTWwi40oP7K2cfhCRBmMioxmYES4xsHEupfRBo3xr1Jq9q0t688WTT1NXHPMP
-oueF9mKZCf2pa9aHsqBmWTm3sCaNQKGubCDBEUmJUyndmSatJyYM7NVYoUp6EfqM
-ACFuTNdBsjKMh7aWVikQpbJDfA1BIU3lZeqgjgrghVAWkEOBfhG0IVZj+RVCJpsq
-oTJ8asY2VreArSCyr/VnLEnfuH/QpgvCiCbepo3E34DJt4SaAOO2Zg==
-=QyrG
------END PGP PUBLIC KEY BLOCK-----
diff --git a/doc/pgpkeys.txt b/doc/pgpkeys.txt
new file mode 100644
index 000000000..8da1d1d05
--- /dev/null
+++ b/doc/pgpkeys.txt
@@ -0,0 +1,36 @@
+
+pub 2048R/EFBADFBC 2004-10-30
+ Key fingerprint = 621D AF64 11E1 851C 4CF9 A2E1 6211 EBF1 EFBA DFBC
+uid Botan Distribution Key
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v2.0.17 (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x6mEOXrGvQanJuIvpoIwGH+62E65MbJGlwWp
+w/MAtm2jFhBIhGV0bqJCFp9zIgdNgfskBaPr0oilbuJQZqP0Iqe/6CCt4XkS51yW
+ZqxjLAFpEpvDec4PGw3witKf/koGon9X8C035+nEjLBrWy18Q91vw2USyLI+mm9d
+iMAS8pY2gomfxBO2VwYHJryZykjCYQkccRA1tHteRj4gqTObo0Ak47y5MnplTWwi
+40oP7K2cfhCRBmMioxmYES4xsHEupfRBo3xr1Jq9q0t688WTT1NXHPMPoueF9mKZ
+Cf2pa9aHsqBmWTm3sCaNQKGubCDBEUmJUyndmSatJyYM7NVYoUp6EfqMACFuTNdB
+sjKMh7aWVikQpbJDfA1BIU3lZeqgjgrghVAWkEOBfhG0IVZj+RVCJpsqoTJ8asY2
+VreArSCyr/VnLEnfuH/QpgvCiCbepo3E34DJt4SaAOO2ZohGBBARAgAGBQJMGVc1
+AAoJEKY/LL36AvvMgsoAn2G7kXd09BF7ffk1Sfh174SVrvM9AKC7+R7x0+yV3SCd
+JkkUOo3xR5cOxw==
+=1QuR
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/doc/scripts/comba.py b/doc/scripts/comba.py
deleted file mode 100755
index ce3cfed77..000000000
--- a/doc/scripts/comba.py
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/usr/bin/python
-
-import sys
-
-def comba_indexes(N):
-
- indexes = []
-
- for i in xrange(0, 2*N):
- x = []
-
- for j in xrange(max(0, i-N+1), min(N, i+1)):
- x += [(j,i-j)]
- indexes += [sorted(x)]
-
- return indexes
-
-def comba_sqr_indexes(N):
-
- indexes = []
-
- for i in xrange(0, 2*N):
- x = []
-
- for j in xrange(max(0, i-N+1), min(N, i+1)):
- if j < i-j:
- x += [(j,i-j)]
- else:
- x += [(i-j,j)]
- indexes += [sorted(x)]
-
- return indexes
-
-def comba_multiply_code(N):
- indexes = comba_indexes(N)
-
- for (i,idx) in zip(range(0, len(indexes)), indexes):
- for pair in idx:
- print "word3_muladd(&w2, &w1, &w0, x[%2d], y[%2d]);" % (pair)
- print "z[%2d] = w0; w0 = w1; w1 = w2; w2 = 0;" % (i)
-
-def comba_square_code(N):
- indexes = comba_sqr_indexes(N)
-
- for (rnd,idx) in zip(range(0, len(indexes)), indexes):
- for (i,pair) in zip(range(0, len(idx)), idx):
- if pair[0] == pair[1]:
- print " word3_muladd(&w2, &w1, &w0, x[%2d], x[%2d]);" % (pair)
- elif i % 2 == 0:
- print " word3_muladd_2(&w2, &w1, &w0, x[%2d], x[%2d]);" % (pair[0], pair[1])
- if rnd < len(idx)-2:
- print " z[%2d] = w0; w0 = w1; w1 = w2; w2 = 0;\n" % (rnd)
- elif rnd == len(idx)-1:
- print " z[%2d] = w0;\n" % (rnd)
- else:
- print " z[%2d] = w1;\n" % (rnd)
-
-def main(args = None):
- if args is None:
- args = sys.argv
- #comba_square_code(int(args[1]))
- comba_multiply_code(int(args[1]))
-
-if __name__ == '__main__':
- sys.exit(main())
diff --git a/doc/scripts/combine_bmarks.pl b/doc/scripts/combine_bmarks.pl
deleted file mode 100755
index b6436496e..000000000
--- a/doc/scripts/combine_bmarks.pl
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-
-my %results;
-my %pk;
-
-my %pk_algos;
-my %algos;
-
-my %filename_to_desc;
-
-for my $filename (@ARGV) {
-
- open IN, "<$filename" or die "Couldn't read $filename ($!)\n";
-
- my $desc = <IN>;
- chomp $desc;
-
- $results{$desc} = {};
-
- while(<IN>) {
- if(/(.*): +(.*) Mbytes\/sec/) {
- $results{$desc}{$1} = $2;
- $algos{$1} = undef;
- }
- if(/(.*): (.*) ops \/ second \((.*)\)/) {
- my $alg = "$1";
- $alg = "$alg $3" if defined($3);
- $pk{$desc}{$alg} = $2;
- $pk_algos{$alg} = undef;
- }
- }
-}
-
-
-sub print_table {
- my @columns = sort keys %results;
-
- print "\n<P>All results are in MiB / second:\n";
- print "<TABLE BORDER CELLSPACING=1>\n<THEAD>\n";
-
- my %col_index = ();
-
- my $line = "<TR><TH>Algorithm ";
-
- foreach my $col (@columns) {
- $col_index{$col} = length($line);
- $line .= "<TH>" . $col . " ";
- }
-
- $line .= "\n<TBODY>\n";
-
- print $line;
-
- $line = '';
-
- foreach my $algo (sort keys %algos) {
- $line = " <TR><TH>$algo ";
-
- for my $col (@columns) {
- my $result = $results{$col}{$algo};
- $result = "-" if not defined($result);
-
- $result = "<TH>$result";
-
- $line .= ' ' while(length($line) < ($col_index{$col}));
- $line .= $result;
-
- }
-
- print $line, "\n";
- $line = '';
- }
-
- print "</TABLE>\n";
-}
-
-
-sub print_pk_table {
- my @columns = sort keys %pk;
-
- print "\n<P>All results are in operations per second:\n";
- print "<TABLE BORDER CELLSPACING=1>\n<THEAD>\n";
-
- my %col_index = ();
-
- my $line = "<TR><TH>Algorithm ";
-
- foreach my $col (@columns) {
- $col_index{$col} = length($line);
- $line .= "<TH>" . $col . " ";
- }
-
- $line .= "\n<TBODY>\n";
-
- print $line;
-
- foreach my $algo (sort keys %pk_algos) {
- my $line = " <TR><TH>$algo ";
-
- for my $col (@columns) {
- my $result = $pk{$col}{$algo};
- $result = '-' if not defined($result);
-
- $result = "<TH>$result";
-
- $line .= ' ' while(length($line) < ($col_index{$col}));
- $line .= $result;
-
- }
-
- print $line, "\n";
- }
-
- print "</TABLE>\n";
-}
-
-print_table();
-print_pk_table();
diff --git a/doc/scripts/dist.sh b/doc/scripts/dist.sh
deleted file mode 100755
index 6dffb9ac4..000000000
--- a/doc/scripts/dist.sh
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/bash
-
-# This is probably only useful if run on my machine, which is not
-# exactly ideal
-
-SELECTOR=h:net.randombit.botan
-KEY_ID=EFBADFBC
-MTN_DB=/storage/mtn/botan.mtn
-DIST_DIR=~/Botan-dist
-
-DIST_FILES_DIR=$HOME/projects/www/files/botan/v1.9/
-WEB_DOCS_DIR=$HOME/projects/www/htdocs/botan/htdocs/
-
-# You shouldn't have to change anything after this
-mkdir -p $DIST_DIR
-cd $DIST_DIR
-
-mtn -d $MTN_DB checkout -r $SELECTOR Botan
-
-VERSION=$(Botan/configure.py --version)
-
-mv Botan Botan-$VERSION
-
-cd Botan-$VERSION
-rm -rf _MTN
-rm -f .mtn-ignore
-
-# Build docs
-cd doc
-
-for doc in api tutorial building python
-do
- latex $doc.tex
- latex $doc.tex
- dvips $doc.dvi -o
- pdflatex $doc.tex
- pdflatex $doc.tex
- cp $doc.pdf $DIST_DIR
- mv $doc.ps $DIST_DIR
- # Clean up after TeX
- rm -f $doc.aux $doc.log $doc.dvi $doc.toc
-done
-
-#botan_log_to_html log.txt > ../../log.html
-cp log.txt ../../log.txt
-
-cd .. # topdir
-cd .. # now in DIST_DIR
-
-tar -cf Botan-$VERSION.tar Botan-$VERSION
-
-bzip2 -9 -k Botan-$VERSION.tar
-gzip -9 Botan-$VERSION.tar
-
-rm -rf Botan-$VERSION
-
-mv Botan-$VERSION.tar.gz Botan-$VERSION.tgz
-mv Botan-$VERSION.tar.bz2 Botan-$VERSION.tbz
-
-echo "*****************************************************"
-read -a PASSWORD -p "Enter PGP password (or ^C to skip signatures): "
-
-echo $PASSWORD | gpg --batch --armor -b --passphrase-fd 0 -u $KEY_ID Botan-$VERSION.tgz
-echo $PASSWORD | gpg --batch --armor -b --passphrase-fd 0 -u $KEY_ID Botan-$VERSION.tbz
-
-mv Botan-$VERSION.tgz* Botan-$VERSION.tbz* $DIST_FILES_DIR
-mv log.html $WEB_DOCS_DIR
-
-echo "Now edit download.html, and add a release notice to pyblosxom"