Lines Matching +full:0 +full:x03000000

61 	ctx->valid = 0;  in win_crypto_init()
63 status = BCryptOpenAlgorithmProvider(&ctx->hAlg, algo, NULL, 0); in win_crypto_init()
66 status = BCryptCreateHash(ctx->hAlg, &ctx->hHash, NULL, 0, NULL, 0, 0); in win_crypto_init()
68 BCryptCloseAlgorithmProvider(ctx->hAlg, 0); in win_crypto_init()
80 ctx->valid = 0; in win_crypto_init()
90 if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { in win_crypto_init()
91 CryptReleaseContext(ctx->cryptProv, 0); in win_crypto_init()
113 (ULONG)len, 0); in win_crypto_Update()
117 (DWORD)len, 0); in win_crypto_Update()
133 BCryptFinishHash(ctx->hHash, buf, (ULONG)bufsize, 0); in win_crypto_Final()
135 BCryptCloseAlgorithmProvider(ctx->hAlg, 0); in win_crypto_Final()
137 CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); in win_crypto_Final()
139 CryptReleaseContext(ctx->cryptProv, 0); in win_crypto_Final()
141 ctx->valid = 0; in win_crypto_Final()
263 #if MBEDTLS_VERSION_NUMBER > 0x03000000 in __archive_md5init()
264 if (mbedtls_md5_starts(ctx) == 0) in __archive_md5init()
266 if (mbedtls_md5_starts_ret(ctx) == 0) in __archive_md5init()
277 #if MBEDTLS_VERSION_NUMBER > 0x03000000 in __archive_md5update()
278 if (mbedtls_md5_update(ctx, indata, insize) == 0) in __archive_md5update()
280 if (mbedtls_md5_update_ret(ctx, indata, insize) == 0) in __archive_md5update()
290 #if MBEDTLS_VERSION_NUMBER > 0x03000000
291 if (mbedtls_md5_finish(ctx, md) == 0) {
293 if (mbedtls_md5_finish_ret(ctx, md) == 0) {
446 #if MBEDTLS_VERSION_NUMBER > 0x03000000
447 if (mbedtls_ripemd160_starts(ctx) == 0)
449 if (mbedtls_ripemd160_starts_ret(ctx) == 0)
460 #if MBEDTLS_VERSION_NUMBER > 0x03000000
461 if (mbedtls_ripemd160_update(ctx, indata, insize) == 0)
463 if (mbedtls_ripemd160_update_ret(ctx, indata, insize) == 0)
473 #if MBEDTLS_VERSION_NUMBER > 0x03000000
474 if (mbedtls_ripemd160_finish(ctx, md) == 0) {
476 if (mbedtls_ripemd160_finish_ret(ctx, md) == 0) {
674 #if MBEDTLS_VERSION_NUMBER > 0x03000000
675 if (mbedtls_sha1_starts(ctx) == 0)
677 if (mbedtls_sha1_starts_ret(ctx) == 0)
688 #if MBEDTLS_VERSION_NUMBER > 0x03000000
689 if (mbedtls_sha1_update(ctx, indata, insize) == 0)
691 if (mbedtls_sha1_update_ret(ctx, indata, insize) == 0)
701 #if MBEDTLS_VERSION_NUMBER > 0x03000000
702 if (mbedtls_sha1_finish(ctx, md) == 0) {
704 if (mbedtls_sha1_finish_ret(ctx, md) == 0) {
954 #if MBEDTLS_VERSION_NUMBER > 0x03000000
955 if (mbedtls_sha256_starts(ctx, 0) == 0)
957 if (mbedtls_sha256_starts_ret(ctx, 0) == 0)
968 #if MBEDTLS_VERSION_NUMBER > 0x03000000
969 if (mbedtls_sha256_update(ctx, indata, insize) == 0)
971 if (mbedtls_sha256_update_ret(ctx, indata, insize) == 0)
981 #if MBEDTLS_VERSION_NUMBER > 0x03000000
982 if (mbedtls_sha256_finish(ctx, md) == 0) {
984 if (mbedtls_sha256_finish_ret(ctx, md) == 0) {
1206 #if MBEDTLS_VERSION_NUMBER > 0x03000000
1207 if (mbedtls_sha512_starts(ctx, 1) == 0)
1209 if (mbedtls_sha512_starts_ret(ctx, 1) == 0)
1220 #if MBEDTLS_VERSION_NUMBER > 0x03000000
1221 if (mbedtls_sha512_update(ctx, indata, insize) == 0)
1223 if (mbedtls_sha512_update_ret(ctx, indata, insize) == 0)
1233 #if MBEDTLS_VERSION_NUMBER > 0x03000000
1234 if (mbedtls_sha512_finish(ctx, md) == 0) {
1236 if (mbedtls_sha512_finish_ret(ctx, md) == 0) {
1482 #if MBEDTLS_VERSION_NUMBER > 0x03000000
1483 if (mbedtls_sha512_starts(ctx, 0) == 0)
1485 if (mbedtls_sha512_starts_ret(ctx, 0) == 0)
1496 #if MBEDTLS_VERSION_NUMBER > 0x03000000
1497 if (mbedtls_sha512_update(ctx, indata, insize) == 0)
1499 if (mbedtls_sha512_update_ret(ctx, indata, insize) == 0)
1509 #if MBEDTLS_VERSION_NUMBER > 0x03000000
1510 if (mbedtls_sha512_finish(ctx, md) == 0) {
1512 if (mbedtls_sha512_finish_ret(ctx, md) == 0) {