From 56eb45f752baa978a9ea3573faee44857678597d Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 19 Jul 2010 20:10:26 +0200 Subject: Public Keys are being exported to SubjectPublicKeyInfo format, instead of custom formats. For RSA keys the PKCS #1 format can be used as well. --- libtomcrypt/headers/tomcrypt_hash.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libtomcrypt/headers/tomcrypt_hash.h') diff --git a/libtomcrypt/headers/tomcrypt_hash.h b/libtomcrypt/headers/tomcrypt_hash.h index 5eaa97c..417e481 100644 --- a/libtomcrypt/headers/tomcrypt_hash.h +++ b/libtomcrypt/headers/tomcrypt_hash.h @@ -8,11 +8,5 @@ int hash_memory(int hash, int hash_memory_multi(int hash, unsigned char *out, unsigned long *outlen, const unsigned char *in, unsigned long inlen, ...); -typedef struct Oid { - unsigned long OID[16]; - /** Length of DER encoding */ - unsigned long OIDlen; -} oid_st; - int hash_get_oid(int hash, oid_st* st); -- cgit