VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/ChangePasswordDialog.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2022-01-06 23:59:00 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2022-01-07 00:35:31 +0100
commit897b676e61975a6db45257e3f9542527afde690b (patch)
tree25f44bd81d694d6829ea4eae7a2dffb120f46ee4 /src/Main/Forms/ChangePasswordDialog.h
parent9ee48b9d60bb18dda3b15453e521f8bc4b7e9a9b (diff)
downloadVeraCrypt-897b676e61975a6db45257e3f9542527afde690b.tar.gz
VeraCrypt-897b676e61975a6db45257e3f9542527afde690b.zip
Windows: Update IDRIX SHA-256 code signing certificate to latest one
Diffstat (limited to 'src/Main/Forms/ChangePasswordDialog.h')
0 files changed, 0 insertions, 0 deletions
d } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
// rdrand.cpp - written and placed in public domain by Jeffrey Walton and Uri Blumenthal.

/* modified for VeraCrypt */

#include "chacha256.h"
#include "cpu.h"
#include "misc.h"

void CRYPTOPP_FASTCALL MASM_RDRAND_GenerateBlock(byte*, size_t);
void CRYPTOPP_FASTCALL MASM_RDSEED_GenerateBlock(byte*, size_t);

int RDRAND_getBytes(unsigned char* buf, size_t bufLen)
{
    if (!buf || !HasRDRAND())
		return 0;

	if (bufLen)
		MASM_RDRAND_GenerateBlock(buf, bufLen);

	return 1;
}

int RDSEED_getBytes(unsigned char* buf, size_t bufLen)
{
    if (!buf || !HasRDSEED())
		return 0;

	if (bufLen)
		MASM_RDSEED_GenerateBlock(buf, bufLen);

	return 1;
}