Lines Matching defs:newdigest
67 unsigned char newdigest[ISC_SHA1_DIGESTLENGTH];
71 RUNTIME_CHECK(HMAC_Final(ctx->ctx, newdigest, NULL) == 1);
74 memmove(digest, newdigest, len);
75 isc_safe_memwipe(newdigest, sizeof(newdigest));
105 unsigned char newdigest[ISC_SHA224_DIGESTLENGTH];
109 RUNTIME_CHECK(HMAC_Final(ctx->ctx, newdigest, NULL) == 1);
112 memmove(digest, newdigest, len);
113 isc_safe_memwipe(newdigest, sizeof(newdigest));
143 unsigned char newdigest[ISC_SHA256_DIGESTLENGTH];
147 RUNTIME_CHECK(HMAC_Final(ctx->ctx, newdigest, NULL) == 1);
150 memmove(digest, newdigest, len);
151 isc_safe_memwipe(newdigest, sizeof(newdigest));
181 unsigned char newdigest[ISC_SHA384_DIGESTLENGTH];
185 RUNTIME_CHECK(HMAC_Final(ctx->ctx, newdigest, NULL) == 1);
188 memmove(digest, newdigest, len);
189 isc_safe_memwipe(newdigest, sizeof(newdigest));
219 unsigned char newdigest[ISC_SHA512_DIGESTLENGTH];
223 RUNTIME_CHECK(HMAC_Final(ctx->ctx, newdigest, NULL) == 1);
226 memmove(digest, newdigest, len);
227 isc_safe_memwipe(newdigest, sizeof(newdigest));
321 CK_BYTE newdigest[ISC_SHA1_DIGESTLENGTH];
326 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
331 memmove(digest, newdigest, len);
332 isc_safe_memwipe(newdigest, sizeof(newdigest));
393 CK_BYTE newdigest[ISC_SHA1_DIGESTLENGTH];
401 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
412 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
413 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
415 memmove(digest, newdigest, len);
416 isc_safe_memwipe(newdigest, sizeof(newdigest));
491 CK_BYTE newdigest[ISC_SHA224_DIGESTLENGTH];
496 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
501 memmove(digest, newdigest, len);
502 isc_safe_memwipe(newdigest, sizeof(newdigest));
563 CK_BYTE newdigest[ISC_SHA224_DIGESTLENGTH];
571 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
582 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
583 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
585 memmove(digest, newdigest, len);
586 isc_safe_memwipe(newdigest, sizeof(newdigest));
661 CK_BYTE newdigest[ISC_SHA256_DIGESTLENGTH];
666 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
671 memmove(digest, newdigest, len);
672 isc_safe_memwipe(newdigest, sizeof(newdigest));
733 CK_BYTE newdigest[ISC_SHA256_DIGESTLENGTH];
741 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
752 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
753 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
755 memmove(digest, newdigest, len);
756 isc_safe_memwipe(newdigest, sizeof(newdigest));
831 CK_BYTE newdigest[ISC_SHA384_DIGESTLENGTH];
836 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
841 memmove(digest, newdigest, len);
842 isc_safe_memwipe(newdigest, sizeof(newdigest));
903 CK_BYTE newdigest[ISC_SHA384_DIGESTLENGTH];
911 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
922 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
923 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
925 memmove(digest, newdigest, len);
926 isc_safe_memwipe(newdigest, sizeof(newdigest));
1001 CK_BYTE newdigest[ISC_SHA512_DIGESTLENGTH];
1006 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
1011 memmove(digest, newdigest, len);
1012 isc_safe_memwipe(newdigest, sizeof(newdigest));
1073 CK_BYTE newdigest[ISC_SHA512_DIGESTLENGTH];
1081 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
1092 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
1093 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
1095 memmove(digest, newdigest, len);
1096 isc_safe_memwipe(newdigest, sizeof(newdigest));
1154 unsigned char newdigest[ISC_SHA1_DIGESTLENGTH];
1158 isc_sha1_final(&ctx->sha1ctx, newdigest);
1166 isc_sha1_update(&ctx->sha1ctx, newdigest, ISC_SHA1_DIGESTLENGTH);
1167 isc_sha1_final(&ctx->sha1ctx, newdigest);
1169 memmove(digest, newdigest, len);
1170 isc_safe_memwipe(newdigest, sizeof(newdigest));
1221 unsigned char newdigest[ISC_SHA224_DIGESTLENGTH];
1225 isc_sha224_final(newdigest, &ctx->sha224ctx);
1233 isc_sha224_update(&ctx->sha224ctx, newdigest, ISC_SHA224_DIGESTLENGTH);
1234 isc_sha224_final(newdigest, &ctx->sha224ctx);
1235 memmove(digest, newdigest, len);
1236 isc_safe_memwipe(newdigest, sizeof(newdigest));
1287 unsigned char newdigest[ISC_SHA256_DIGESTLENGTH];
1291 isc_sha256_final(newdigest, &ctx->sha256ctx);
1299 isc_sha256_update(&ctx->sha256ctx, newdigest, ISC_SHA256_DIGESTLENGTH);
1300 isc_sha256_final(newdigest, &ctx->sha256ctx);
1301 memmove(digest, newdigest, len);
1302 isc_safe_memwipe(newdigest, sizeof(newdigest));
1353 unsigned char newdigest[ISC_SHA384_DIGESTLENGTH];
1357 isc_sha384_final(newdigest, &ctx->sha384ctx);
1365 isc_sha384_update(&ctx->sha384ctx, newdigest, ISC_SHA384_DIGESTLENGTH);
1366 isc_sha384_final(newdigest, &ctx->sha384ctx);
1367 memmove(digest, newdigest, len);
1368 isc_safe_memwipe(newdigest, sizeof(newdigest));
1419 unsigned char newdigest[ISC_SHA512_DIGESTLENGTH];
1423 isc_sha512_final(newdigest, &ctx->sha512ctx);
1431 isc_sha512_update(&ctx->sha512ctx, newdigest, ISC_SHA512_DIGESTLENGTH);
1432 isc_sha512_final(newdigest, &ctx->sha512ctx);
1433 memmove(digest, newdigest, len);
1434 isc_safe_memwipe(newdigest, sizeof(newdigest));
1444 unsigned char newdigest[ISC_SHA1_DIGESTLENGTH];
1447 isc_hmacsha1_sign(ctx, newdigest, ISC_SHA1_DIGESTLENGTH);
1448 return (isc_safe_memequal(digest, newdigest, len));
1457 unsigned char newdigest[ISC_SHA224_DIGESTLENGTH];
1460 isc_hmacsha224_sign(ctx, newdigest, ISC_SHA224_DIGESTLENGTH);
1461 return (isc_safe_memequal(digest, newdigest, len));
1470 unsigned char newdigest[ISC_SHA256_DIGESTLENGTH];
1473 isc_hmacsha256_sign(ctx, newdigest, ISC_SHA256_DIGESTLENGTH);
1474 return (isc_safe_memequal(digest, newdigest, len));
1483 unsigned char newdigest[ISC_SHA384_DIGESTLENGTH];
1486 isc_hmacsha384_sign(ctx, newdigest, ISC_SHA384_DIGESTLENGTH);
1487 return (isc_safe_memequal(digest, newdigest, len));
1496 unsigned char newdigest[ISC_SHA512_DIGESTLENGTH];
1499 isc_hmacsha512_sign(ctx, newdigest, ISC_SHA512_DIGESTLENGTH);
1500 return (isc_safe_memequal(digest, newdigest, len));