do openssl fingerprinting/encoding directly, openssl provides all functions

This commit is contained in:
Martin Willi
2009-08-27 09:58:38 +02:00
parent 2ee8cd04bd
commit b12c6d163d
7 changed files with 153 additions and 242 deletions
@@ -65,14 +65,4 @@ bool openssl_bn_cat(int len, BIGNUM *a, BIGNUM *b, chunk_t *chunk);
*/
bool openssl_bn_split(chunk_t chunk, BIGNUM *a, BIGNUM *b);
/**
* Fingerprinting/encdoing of PKCS#1/ASN.1 encoded keys.
*
* @param type type of the fingerprint/encoding to create.
* @param encoding receives fingerprint/encoding, allocated
* @param args variable argument list of encoding parts
*/
bool openssl_encode(key_encoding_type_t type, chunk_t *encoding, va_list args);
#endif /** OPENSSL_UTIL_H_ @}*/