The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: jag on February 01, 2007, 10:27:28 AM

Title: crypto api constants not included with masm?
Post by: jag on February 01, 2007, 10:27:28 AM
error A2006: undefined symbol : PROV_RSA_FULL
error A2006: undefined symbol : HP_HASHVAL

Am I wrong? If I am not, I reckon I will use a tool to generate the inc files.
Title: Re: crypto api constants not included with masm?
Post by: Tedd on February 01, 2007, 11:27:21 AM
Well I can't find them either :wink

Looks like you'll be having lots of fun with wincrypt.h :bdg
Title: Re: crypto api constants not included with masm?
Post by: jag on February 02, 2007, 09:14:25 AM
Well all I needed was to calculate an md5 hash so I needed 3 constants which I found values for with google:

PROV_RSA_FULL equ 1
CALG_MD5 equ 08003h
HP_HASHVAL equ 2

:bdg
Title: Re: crypto api constants not included with masm?
Post by: sinsi on February 02, 2007, 09:29:08 AM
Quote from: Tedd on February 01, 2007, 11:27:21 AM
Looks like you'll be having lots of fun with wincrypt.h :bdg

Wow, a 640K+ .h file! :dazzled: