which files should be compiled.
Rev: nettle/der2rsa.c:1.2
Rev: nettle/dsa-keygen.c:1.2
Rev: nettle/dsa-sign.c:1.2
Rev: nettle/dsa-verify.c:1.2
Rev: nettle/dsa.c:1.2
Rev: nettle/pkcs1-rsa-md5.c:1.2
Rev: nettle/pkcs1-rsa-sha1.c:1.2
Rev: nettle/pkcs1-rsa-sha256.c:1.2
Rev: nettle/pkcs1.c:1.2
Rev: nettle/rsa-compat.c:1.2
Rev: nettle/rsa-decrypt.c:1.2
Rev: nettle/rsa-encrypt.c:1.2
Rev: nettle/rsa-keygen.c:1.2
Rev: nettle/rsa-md5-sign.c:1.2
Rev: nettle/rsa-md5-verify.c:1.2
Rev: nettle/rsa-sha1-sign.c:1.2
Rev: nettle/rsa-sha1-verify.c:1.2
Rev: nettle/rsa-sha256-sign.c:1.2
Rev: nettle/rsa-sha256-verify.c:1.2
Rev: nettle/rsa-sign.c:1.2
Rev: nettle/rsa-verify.c:1.2
Rev: nettle/rsa.c:1.2
Rev: nettle/rsa2openpgp.c:1.2
Rev: nettle/rsa2sexp.c:1.2
Rev: nettle/sexp2dsa.c:1.2
Rev: nettle/sexp2rsa.c:1.2
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include "rsa.h"
#include "bignum.h"
else
return rsa_public_key_from_der_iterator(pub, limit, &i);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <stdlib.h>
#include "dsa.h"
return 1;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <stdlib.h>
#include "dsa.h"
dsa_sign_digest(pub, key, random_ctx, random,
digest, signature);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <stdlib.h>
#include "dsa.h"
return dsa_verify_digest(key, digest, signature);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include "dsa.h"
#include "bignum.h"
mpz_clear(signature->r);
mpz_clear(signature->s);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
memcpy(em + length - MD5_DIGEST_SIZE, digest, MD5_DIGEST_SIZE);
nettle_mpz_set_str_256_u(m, length, em);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
memcpy(em + length - SHA1_DIGEST_SIZE, digest, SHA1_DIGEST_SIZE);
nettle_mpz_set_str_256_u(m, length, em);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
memcpy(em + length - SHA256_DIGEST_SIZE, digest, SHA256_DIGEST_SIZE);
nettle_mpz_set_str_256_u(m, length, em);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include <string.h>
memset(buffer + 1, 0xff, length - 1);
buffer[0] = 1;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include "rsa-compat.h"
#include "bignum.h"
return res;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
return 1;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
return 1;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include <limits.h>
#include <stdlib.h>
return 1;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include "rsa.h"
rsa_compute_root(key, s, s);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include "rsa.h"
return res;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include "rsa.h"
rsa_compute_root(key, s, s);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include "rsa.h"
return res;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include "rsa.h"
rsa_compute_root(key, s, s);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <assert.h>
#include "rsa.h"
return res;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include "rsa.h"
#include "bignum.h"
mpz_clear(xp); mpz_clear(xq);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include "rsa.h"
#include "bignum.h"
return res;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include "rsa.h"
#include "bignum.h"
return (key->size > 0);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <string.h>
#include <time.h>
PGP_SIGN_CERTIFICATION,
&signature_hash);
}
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include "rsa.h"
#include "sexp.h"
return sexp_format(buffer, "(public-key(%0s(n%b)(e%b)))",
algorithm_name, pub->n, pub->e);
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <string.h>
#include "dsa.h"
return 1;
}
-
-#endif /* WITH_PUBLIC_KEY */
# include "config.h"
#endif
-#if WITH_PUBLIC_KEY
-
#include <string.h>
#include "rsa.h"
return rsa_keypair_from_sexp_alist(pub, priv, limit, &i);
}
-
-#endif /* WITH_PUBLIC_KEY */