diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-07-21 18:32:28 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-07-21 18:38:43 +0200 |
commit | cbf5c2c61c4441af5f73c99dc8ae9ba2e99fd0b4 (patch) | |
tree | 27a84002c8ae214fe36371cc5401f2c43a1ac960 /src/libstrongswan/credentials/keys/public_key.h | |
parent | 92032fd4d620bf7f92edb6fd13e6aef47962c3fc (diff) | |
download | strongswan-cbf5c2c61c4441af5f73c99dc8ae9ba2e99fd0b4.tar.bz2 strongswan-cbf5c2c61c4441af5f73c99dc8ae9ba2e99fd0b4.tar.xz |
Readded docs for some arguments to global functions.
Those were overzealously removed in 28623fc5389829858c78c759a214aa5c64ea26c6.
Diffstat (limited to 'src/libstrongswan/credentials/keys/public_key.h')
-rw-r--r-- | src/libstrongswan/credentials/keys/public_key.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libstrongswan/credentials/keys/public_key.h b/src/libstrongswan/credentials/keys/public_key.h index 79765ef5c..fdbe17f2c 100644 --- a/src/libstrongswan/credentials/keys/public_key.h +++ b/src/libstrongswan/credentials/keys/public_key.h @@ -151,7 +151,7 @@ struct public_key_t { * @param scheme encryption scheme to use * @param plain chunk containing plaintext data * @param crypto where to allocate encrypted data - * @return TRUE if data successfully encrypted + * @return TRUE if data successfully encrypted */ bool (*encrypt)(public_key_t *this, encryption_scheme_t scheme, chunk_t plain, chunk_t *crypto); @@ -215,18 +215,20 @@ struct public_key_t { /** * Generic public key equals() implementation, usable by implementors. * + * @param public public key to check * @param other key to compare * @return TRUE if this is equal to other */ -bool public_key_equals(public_key_t *this, public_key_t *other); +bool public_key_equals(public_key_t *public, public_key_t *other); /** * Generic public key has_fingerprint() implementation, usable by implementors. * + * @param public public key to check * @param fingerprint fingerprint to check * @return TRUE if key has given fingerprint */ -bool public_key_has_fingerprint(public_key_t *this, chunk_t fingerprint); +bool public_key_has_fingerprint(public_key_t *public, chunk_t fingerprint); /** * Conversion of ASN.1 signature or hash OID to signature scheme. |