Searched refs:diglen (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/test/zfs-tests/tests/functional/checksum/sha2/ |
H A D | sha2_test.c | 196 #define SHA2_ALGO_TEST(_m, mode, diglen, testdigest) \ 199 uint8_t digest[diglen / 8]; \ 205 if (bcmp(digest, testdigest, diglen / 8) == 0) { \ 214 #define SHA2_PERF_TEST(mode, diglen) \ 217 uint8_t digest[diglen / 8]; \
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_crypt.c | 88 CK_ULONG diglen = MD_DIGEST_LEN; local 118 rv = C_SignFinal(hSession, (CK_BYTE_PTR)digest, &diglen); 126 if (diglen != MD_DIGEST_LEN) {
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/checksum/skein/ |
H A D | skein_test.c | 272 #define SKEIN_ALGO_TEST(_m, mode, diglen, testdigest) \ 275 uint8_t digest[diglen / 8]; \ 276 (void) Skein ## mode ## _Init(&ctx, diglen); \ 279 (void) printf("Skein" #mode "/" #diglen \ 281 if (bcmp(digest, testdigest, diglen / 8) == 0) { \ 290 #define SKEIN_PERF_TEST(mode, diglen) \ 293 uint8_t digest[diglen / 8]; \ 301 (void) Skein ## mode ## _Init(&ctx, diglen); \ 314 (void) printf("Skein" #mode "/" #diglen "\t%llu us " \
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netr_auth.c | 275 CK_ULONG diglen = MD_DIGEST_LEN; local 326 rv = C_DigestFinal(hSession, (CK_BYTE_PTR)md5digest, &diglen); 330 rc = smb_auth_hmac_md5(md5digest, diglen, ntlmhash, SMBAUTH_HASH_SZ,
|
Completed in 150 milliseconds