aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cert/cvc/cvc_self.h4
-rw-r--r--src/pubkey/keypair/keypair.h10
2 files changed, 12 insertions, 2 deletions
diff --git a/src/cert/cvc/cvc_self.h b/src/cert/cvc/cvc_self.h
index dac554ee8..6b84e1f55 100644
--- a/src/cert/cvc/cvc_self.h
+++ b/src/cert/cvc/cvc_self.h
@@ -39,6 +39,7 @@ namespace CVC_EAC
/**
* Create a selfsigned CVCA
+* @param rng the rng to use
* @param key the ECDSA private key to be used to sign the certificate
* @param opts used to set several parameters. Necessary are:
* car, holder_auth_templ, hash_alg, ced, cex and hash_alg
@@ -55,6 +56,7 @@ EAC1_1_CVC create_self_signed_cert(Private_Key const& key,
* sequence number)
* @param hash_alg the string defining the hash algorithm to be used for the creation
* of the signature
+* @param rng the rng to use
* @result the new request
*/
EAC1_1_Req create_cvc_req(Private_Key const& priv_key,
@@ -68,6 +70,7 @@ EAC1_1_Req create_cvc_req(Private_Key const& priv_key,
* @param req the request forming the body of the ADO
* @param car the CAR forming the body of the ADO, i.e. the
* CHR of the entity associated with the provided private key
+* @param rng the rng to use
*/
EAC1_1_ADO create_ado_req(Private_Key const& priv_key,
EAC1_1_Req const& req,
@@ -91,6 +94,7 @@ namespace DE_EAC
* shall be entitled to read the biometrical iris image
* @param fingerpr indicates whether the entity associated with the certificate
* shall be entitled to read the biometrical fingerprint image
+* @param rng the rng to use
* @result the CVCA certificate created
*/
EAC1_1_CVC create_cvca(Private_Key const& priv_key,
diff --git a/src/pubkey/keypair/keypair.h b/src/pubkey/keypair/keypair.h
index ead6ae68c..8c42876e8 100644
--- a/src/pubkey/keypair/keypair.h
+++ b/src/pubkey/keypair/keypair.h
@@ -16,21 +16,27 @@ namespace KeyPair {
* Tests whether the specified encryptor and decryptor are related to each other,
* i.e. whether encrypting with the encryptor and consecutive decryption leads to
* the original plaintext.
+* @param rng the rng to use
* @param enc the encryptor to test
* @param dec the decryptor to test
* @throw Self_Test_Failure if the arguments are not related to each other
*/
-BOTAN_DLL void check_key(RandomNumberGenerator&, PK_Encryptor*, PK_Decryptor*);
+BOTAN_DLL void check_key(RandomNumberGenerator& rng,
+ PK_Encryptor* enc,
+ PK_Decryptor* dec);
/**
* Tests whether the specified signer and verifier are related to each other,
* i.e. whether a signature created with the signer and can be
* successfully verified with the verifier.
+* @param rng the rng to use
* @param sig the signer to test
* @param ver the verifier to test
* @throw Self_Test_Failure if the arguments are not related to each other
*/
-BOTAN_DLL void check_key(RandomNumberGenerator&, PK_Signer*, PK_Verifier*);
+BOTAN_DLL void check_key(RandomNumberGenerator& rng,
+ PK_Signer* sig,
+ PK_Verifier* ver);
}