@@ -2059,21 +2059,6 @@ typedef enum MimeStatus
20592059} MimeStatus ;
20602060#endif /* HAVE_SMIME */
20612061
2062- WOLFSSL_LOCAL int HashIdAlg (word32 oidSum );
2063- WOLFSSL_TEST_VIS int CalcHashId (const byte * data , word32 len , byte * hash );
2064- WOLFSSL_LOCAL int CalcHashId_ex (const byte * data , word32 len , byte * hash ,
2065- int hashAlg );
2066- WOLFSSL_LOCAL int GetHashId (const byte * id , int length , byte * hash ,
2067- int hashAlg );
2068- WOLFSSL_LOCAL int GetName (DecodedCert * cert , int nameType , int maxIdx );
2069-
2070- #ifdef ASN_BER_TO_DER
2071- WOLFSSL_API int wc_BerToDer (const byte * ber , word32 berSz , byte * der ,
2072- word32 * derSz );
2073- #endif
2074- WOLFSSL_LOCAL int StreamOctetString (const byte * inBuf , word32 inBufSz ,
2075- byte * out , word32 * outSz , word32 * idx );
2076-
20772062#ifdef WOLFSSL_API_PREFIX_MAP
20782063 #define FreeAltNames wc_FreeAltNames
20792064 #define AltNameNew wc_AltNameNew
@@ -2098,8 +2083,24 @@ WOLFSSL_LOCAL int StreamOctetString(const byte* inBuf, word32 inBufSz,
20982083 #define GetASNTag wc_GetASNTag
20992084 #define SetAlgoID wc_SetAlgoID
21002085 #define SetAsymKeyDer wc_SetAsymKeyDer
2086+ #define CalcHashId wc_CalcHashId
21012087#endif /* WOLFSSL_API_PREFIX_MAP */
21022088
2089+ WOLFSSL_LOCAL int HashIdAlg (word32 oidSum );
2090+ WOLFSSL_TEST_VIS int CalcHashId (const byte * data , word32 len , byte * hash );
2091+ WOLFSSL_LOCAL int CalcHashId_ex (const byte * data , word32 len , byte * hash ,
2092+ int hashAlg );
2093+ WOLFSSL_LOCAL int GetHashId (const byte * id , int length , byte * hash ,
2094+ int hashAlg );
2095+ WOLFSSL_LOCAL int GetName (DecodedCert * cert , int nameType , int maxIdx );
2096+
2097+ #ifdef ASN_BER_TO_DER
2098+ WOLFSSL_API int wc_BerToDer (const byte * ber , word32 berSz , byte * der ,
2099+ word32 * derSz );
2100+ #endif
2101+ WOLFSSL_LOCAL int StreamOctetString (const byte * inBuf , word32 inBufSz ,
2102+ byte * out , word32 * outSz , word32 * idx );
2103+
21032104WOLFSSL_ASN_API void FreeAltNames (DNS_entry * altNames , void * heap );
21042105WOLFSSL_ASN_API DNS_entry * AltNameNew (void * heap );
21052106WOLFSSL_ASN_API DNS_entry * AltNameDup (DNS_entry * from , void * heap );
0 commit comments