libidav/crypto.h

changeset 689
b1f7d83f6e69
parent 688
d405d2ac78e6
child 747
efbd59642577
equal deleted inserted replaced
688:d405d2ac78e6 689:b1f7d83f6e69
55 BCRYPT_ALG_HANDLE hAlg; 55 BCRYPT_ALG_HANDLE hAlg;
56 BCRYPT_KEY_HANDLE hKey; 56 BCRYPT_KEY_HANDLE hKey;
57 void *pbKeyObject; 57 void *pbKeyObject;
58 unsigned char pbIV[16]; 58 unsigned char pbIV[16];
59 59
60 char buf[16]; 60 unsigned char buf[16];
61 size_t buflen; 61 ULONG buflen;
62 } WinBCryptCTX; 62 } WinBCryptCTX;
63 63
64 typedef struct WinBCryptSHACTX { 64 typedef struct WinBCryptSHACTX {
65 BCRYPT_ALG_HANDLE hAlg; 65 BCRYPT_ALG_HANDLE hAlg;
66 BCRYPT_HASH_HANDLE hHash; 66 BCRYPT_HASH_HANDLE hHash;

mercurial