Skip to content

Quick.Crypto functions do not work on 64bits Windows #155

@infpmandin

Description

@infpmandin

All the types are defined as Cardinal (32 bits).

They should be declared as this:

type
  HCRYPTPROV  = ULONG_PTR;
  HCRYPTKEY   = ULONG_PTR;
  ALG_ID      = NativeUInt;
  HCRYPTHASH  = ULONG_PTR;

As a side note, those functions from advapi32.dll are listed as deprecated by Microsoft.
They should be replaced by https://learn.microsoft.com/fr-fr/windows/win32/seccng/cng-portal (but requires Vista/2008 or above).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions