filename stringlengths 19 182 | omp_pragma_line stringlengths 24 416 | context_chars int64 100 100 | text stringlengths 152 177k |
|---|---|---|---|
openwall/john/src/eigrp_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
MD5_CTX ctx;
if (cur_salt->algo_type == 2) {
memcpy(&ctx, &cur_salt->prep_salt, sizeof(MD5_CTX));
MD5_Update(&ctx, saved_key[index], saved_len[index]);
... |
openwall/john/src/hsrp_fmt_plug.c | #pragma omp parallel for | 100 | ypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
MD5_CTX ctx;
int len = saved_len[index];
if (dirty) {
// we use the saved_key buffer in-line.
unsigned int *block = (unsigned int*)saved_key[index];
MD... |
openwall/john/src/gpg_fmt_plug.c | #pragma omp parallel for | 100 | hm);
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
int res;
unsigned char keydata[64];
gpg_common_cur_salt->s2kfun(saved_key[index], keydata, ks);
res = gpg_common_check(keydata, ks);
if (res) {
cracked[... |
openwall/john/src/lastpass_sniffed_fmt_plug.c | #pragma omp parallel for | 100 | ypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
uint32_t key[MIN_KEYS_PER_CRYPT][8];
unsigned i;
#ifdef SIMD_COEF_32
int lens[MIN_KEYS_PER_CRYPT];
unsigned char *pin[MIN_KEYS_PER_CRYPT];... |
openwall/john/src/opencl_DES_bs_f_plug.c | #pragma omp parallel for | 100 | ng %d per-salt kernels, one dot per three salts done: ", num_salts);
#if _OPENMP && PARALLEL_BUILD
<LOOP-START>for (i = 0; i < num_salts; i++) {
init_kernel(salt_list[i], gpu_id, 1, 0, forced_global_keys ? 0 :local_work_size);
#if _OPENMP && PARALLEL_BUILD
if (omp_get_thread_num() == 0)
{
opencl_process... |
openwall/john/src/whirlpool_fmt_plug.c | #pragma omp parallel for | 100 | int crypt_0(int *pcount, struct db_salt *salt)
{
int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
sph_whirlpool0_context ctx;
sph_whirlpool0_init(&ctx);
sph_whirlpool0(&ctx, saved_key[index], strlen(saved_key[index]));
sph_whirlpool0_close(&ctx, (unsigned... |
openwall/john/src/whirlpool_fmt_plug.c | #pragma omp parallel for | 100 | int crypt_1(int *pcount, struct db_salt *salt)
{
int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
sph_whirlpool1_context ctx;
sph_whirlpool1_init(&ctx);
sph_whirlpool1(&ctx, saved_key[index], strlen(saved_key[index]));
sph_whirlpool1_close(&ctx, (unsigned... |
openwall/john/src/whirlpool_fmt_plug.c | #pragma omp parallel for | 100 | int crypt_2(int *pcount, struct db_salt *salt)
{
int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
#if (AC_BUILT && HAVE_WHIRLPOOL) || \
(!AC_BUILT && OPENSSL_VERSION_NUMBER >= 0x10000000 && !HAVE_NO_SSL_WHIRLPOOL)
WHIRLPOOL_CTX ctx;
WHIRLPOOL_Init(&ctx);
... |
openwall/john/src/vmx_fmt_plug.c | #pragma omp parallel for | 100 | *pcount;
int index = 0;
memset(cracked, 0, sizeof(cracked[0]) * cracked_count);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MAX_KEYS_PER_CRYPT) {
unsigned char master[MAX_KEYS_PER_CRYPT][32];
int i;
#ifdef SIMD_COEF_32
int lens[MAX_KEYS_PER_CRYPT];
unsigned char *pin[MAX_KEYS_PER_CRY... |
openwall/john/src/rawMD4_fmt_plug.c | #pragma omp parallel for | 100 | nt;
int index;
int loops = (count + MIN_KEYS_PER_CRYPT - 1) / MIN_KEYS_PER_CRYPT;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < loops; index++) {
#if SIMD_COEF_32
SIMDmd4body(saved_key[index], crypt_key[index], NULL, SSEi_REVERSE_STEPS | SSEi_MIXED_IN);
#else
MD4_CTX ctx;
MD4_Init(&ctx);
MD4_Update(&ctx... |
openwall/john/src/ecryptfs_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
int j;
SHA512_CTX ctx;
#ifdef SIMD_COEF_64
unsigned char tmpBuf[64];
unsigned int i;
unsigned char _IBuf[8*SHA_BUF_SIZ*MIN_KEYS_PER_CRYP... |
openwall/john/src/openssl_enc_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++)
{
if (decrypt(saved_key[index]) == 0)
cracked[index] = 1;
else
cracked[index] = 0;
}<LOOP-END> <OMP-START>#pragma omp parallel for<OMP-END> |
openwall/john/src/krb5_asrep_fmt_plug.c | #pragma omp parallel for | 100 | ndex;
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT)
{
unsigned char tkey[MIN_KEYS_PER_CRYPT][32];
int len[MIN_KEYS_PER_CRYPT];
int i;
unsigned char K3[16];
#ifdef _MSC_VER
unsigned char dda... |
openwall/john/src/androidfde_fmt_plug.c | #pragma omp parallel for | 100 | unt = *pcount;
int index = 0;
memset(cracked, 0, sizeof(cracked[0])*max_cracked);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
hash_plugin_check_hash(index);
}<LOOP-END> <OMP-START>#pragma omp parallel for<OMP-END> |
openwall/john/src/md2_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
sph_md2_context ctx;
sph_md2_init(&ctx);
sph_md2(&ctx, saved_key[index], strlen(saved_key[index]));
sph_md2_close(&ctx, (unsigned char*)crypt_out[index]);
}... |
openwall/john/src/NETSPLITLM_fmt_plug.c | #pragma omp parallel for default(none) private(i, ks) shared(count, output, challenge, saved_pre) | 100 | pcount, struct db_salt *salt)
{
int count = *pcount;
DES_key_schedule ks;
int i;
#ifdef _OPENMP
<LOOP-START>for (i=0; i<count; i++) {
/* DES-encrypt challenge using the partial LM hash */
setup_des_key(saved_pre[i], &ks);
DES_ecb_encrypt((DES_cblock*)challenge, (DES_cblock*)output[i], &ks, DES_ENCRYPT);
}<LO... |
openwall/john/src/lotus5_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += LOTUS_N) {
struct {
union {
unsigned char m[64];
unsigned char m4[4][16];
ARCH_WORD m4w[4][16 / ARCH_SIZE];
} u;
} ctx[LOTUS_N];
int password_le... |
openwall/john/src/itunes_fmt_plug.c | #pragma omp parallel for | 100 | = *pcount;
int index = 0;
memset(cracked, 0, sizeof(cracked[0])*cracked_count);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char master[MIN_KEYS_PER_CRYPT][32];
int i;
if (cur_salt->version == 9) { // iTunes Backup < 10
#ifdef SIMD_COEF_32
int lens[MI... |
openwall/john/src/luks_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char *af_decrypted = (unsigned char *)mem_alloc(cur_salt->afsize + 20);
int i, iterations = cur_salt->bestiter;
int dklen = john_nt... |
openwall/john/src/bitcoin_fmt_plug.c | #pragma omp parallel for | 100 | = 0;
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
SHA512_CTX sha_ctx;
int i;
#ifdef SIMD_COEF_64
/* We use SSEi_HALF_IN, so can halve SHA_BUF_SIZ */
#undef SHA_BUF_SIZ
#define SHA_BUF_SIZ 8
... |
openwall/john/src/qnx_fmt_plug.c | #pragma omp parallel for | 100 | ile (tot_todo % MIN_KEYS_PER_CRYPT)
MixOrder[tot_todo++] = count;
}
}
#endif
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < tot_todo; index += inc) {
#ifdef SIMD_COEF_32
if (!MixOrder)
{
int i, len = saved_len[index];
char *pass = saved_key[index];
switch (cur_salt->type) {
case 5:
{
... |
openwall/john/src/solarwinds_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MAX_KEYS_PER_CRYPT) {
unsigned char master[MAX_KEYS_PER_CRYPT][1024];
int i;
#ifdef SIMD_COEF_32
int len[MAX_KEYS_PER_CRYPT];
unsigned char *pin[MAX_KEYS_PER_C... |
openwall/john/src/enpass_fmt_plug.c | #pragma omp parallel for | 100 | OUP_SZ_SHA512;
#else
const int batch_size = MAX_KEYS_PER_CRYPT;
#endif
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += batch_size) {
unsigned char master[MAX_KEYS_PER_CRYPT][32];
unsigned char output[24];
unsigned char *iv_in;
unsigned char iv_out[16];
int size, i;
AES_KEY a... |
openwall/john/src/padlock_fmt_plug.c | #pragma omp parallel for | 100 | = *pcount;
int index = 0;
memset(cracked, 0, sizeof(cracked[0])*cracked_count);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char master[MIN_KEYS_PER_CRYPT][32];
unsigned char output[4096] = {0};
int i;
unsigned char *tag = cur_salt->ct + cur_salt->ctlen... |
openwall/john/src/xmpp_scram_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
int index;
const int count = *pcount;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#if !defined (SIMD_COEF_32)
unsigned char out[BINARY_SIZE];
SHA_CTX ctx;
pbkdf2_sha1((unsigned char*)saved_key[index],
strlen(saved_key... |
openwall/john/src/telegram_fmt_plug.c | #pragma omp parallel for | 100 | CNT;
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += inc) {
unsigned char pkey[MIN_KEYS_PER_CRYPT][256]; /* 2048 bits, yes */
int i;
if (cur_salt->version == 1) {
#ifdef SIMD_COEF_32
int len[MIN_KEYS_PER_CRYPT];... |
openwall/john/src/ike_fmt_plug.c | #pragma omp parallel for | 100 | ypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
compute_hash(cur_salt, saved_key[index], (unsigned char*)crypt_out[index]);
}<LOOP-END> <OMP-START>#pragma omp parallel for<OMP-END> |
openwall/john/src/securezip_fmt_plug.c | #pragma omp parallel for | 100 | dex;
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
if (securezip_decrypt(cur_salt, saved_key[index])) {
cracked[index] = 1;
#ifdef _OPENMP
#pragma omp atomic
any_cracked |= 1;
}
}<LOOP-END> <OMP-START>#pra... |
openwall/john/src/krb5pa-md5_fmt_plug.c | #pragma omp parallel for | 100 | pcount;
const unsigned char one[] = { 1, 0, 0, 0 };
int i;
if (!keys_prepared) {
#ifdef _OPENMP
<LOOP-START>for (i = 0; i < count; i++) {
int len;
unsigned char K[KEY_SIZE];
unsigned char K1[KEY_SIZE];
// K = MD4(UTF-16LE(password)), ordinary 16-byte NTLM hash
len = E_md4hash((unsigned char *) saved_... |
openwall/john/src/krb5pa-md5_fmt_plug.c | #pragma omp parallel for | 100 | in inner loop
hmac_md5_init_K16(K1, &saved_ctx[i]);
}
keys_prepared = 1;
}
#ifdef _OPENMP
<LOOP-START>for (i = 0; i < count; i++) {
unsigned char K3[KEY_SIZE], cleartext[TIMESTAMP_SIZE];
HMACMD5Context ctx;
// key set up with K1 is stored in saved_ctx[i]
// K3 = HMAC-MD5(K1, CHECKSUM)
memcpy(&ctx, ... |
openwall/john/src/sha256crypt_fmt_plug.c | #pragma omp parallel for | 100 | x = 0; index < count; ++index)
MixOrder[index] = index;
tot_todo = count;
#endif
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < tot_todo; index += MIN_KEYS_PER_CRYPT)
{
// portably align temp_result char * pointer machine word size.
union xx {
unsigned char c[BINARY_SIZE];
ARCH_WORD a[BINARY_SIZE/siz... |
openwall/john/src/fvde_fmt_plug.c | #pragma omp parallel for | 100 | > type == 2)
outlen = 32;
memset(cracked, 0, sizeof(cracked[0])*cracked_count);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char master[MIN_KEYS_PER_CRYPT][32];
int i;
#ifdef SIMD_COEF_32
int lens[MIN_KEYS_PER_CRYPT];
unsigned char *pin[MIN_KEYS_PER_CRY... |
openwall/john/src/zip_fmt_plug.c | #pragma omp parallel for | 100 | onst stuff like key_len being in the shared list,
* while other versions demand they do. WAT!
*/
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#ifdef SIMD_COEF_32
unsigned char pwd_ver[MIN_KEYS_PER_CRYPT][3 * BLK_SZ];
int i, lens[MIN_KEYS_PER_CRYPT];
int something_hit = 0, hits[MIN_... |
openwall/john/src/rawKeccak_256_fmt_plug.c | #pragma omp parallel for | 100 | ypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
Keccak_HashInstance hash;
Keccak_HashInitialize(&hash, 1088, 512, 256, 0x01);
Keccak_HashUpdate(&hash, (unsigned char*)saved_key[index], saved_len[index] * 8);
... |
openwall/john/src/XSHA_fmt_plug.c | #pragma omp parallel for | 100 | struct db_salt *salt)
{
int count = *pcount;
#ifdef SIMD_COEF_32
int i = 0;
#if defined(_OPENMP)
<LOOP-START>for (i = 0; i < threads; i++) {
unsigned int *in = &saved_key[i*NBKEYS*SHA_BUF_SIZ];
unsigned int *out = &crypt_key[i*NBKEYS*BINARY_SIZE/4];
unsigned int j;
for (j=0; j < NBKEYS; j++)
in[(j&(SIMD_... |
openwall/john/src/XSHA_fmt_plug.c | #pragma omp parallel for default(none) private(i) shared(count, ctx_salt, saved_key, saved_len, crypt_out) | 100 | HA1body(in, out, NULL, SSEi_MIXED_IN);
#if defined(_OPENMP)
}
#endif
#else
int i;
#ifdef _OPENMP
<LOOP-START>for (i = 0; i < count; i++) {
SHA_CTX ctx;
memcpy(&ctx, &ctx_salt, sizeof(ctx));
SHA1_Update(&ctx, saved_key[i], saved_len[i]);
SHA1_Final((unsigned char *)(crypt_out[i]), &ctx);
}<LOOP-END> <OMP-S... |
openwall/john/src/pbkdf2-hmac-sha1_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#ifdef SSE_GROUP_SZ_SHA1
int lens[SSE_GROUP_SZ_SHA1], i;
unsigned char *pin[SSE_GROUP_SZ_SHA1];
union {
uint32_t *pout[SSE_GROUP_SZ_SHA1]... |
openwall/john/src/panama_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
sph_panama_context ctx;
sph_panama_init(&ctx);
sph_panama(&ctx, saved_key[index], strlen(saved_key[index]));
sph_panama_close(&ctx, (unsigned char*)crypt_out... |
openwall/john/src/ethereum_fmt_plug.c | #pragma omp parallel for | 100 | t, struct db_salt *salt)
{
const int count = *pcount;
int index;
int failed = 0;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char master[MIN_KEYS_PER_CRYPT][32];
int i;
if (cur_salt->type == 0) {
#ifdef SIMD_COEF_32
int lens[MIN_KEYS_PER_CRYPT];
unsi... |
openwall/john/src/episerver_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>#ifdef SIMD_COEF_32
for (index = 0; index < count; index += (cur_salt->version == 0 ? NBKEYS_SHA1 : NBKEYS_SHA256)) {
uint32_t *in = &saved_key[HASH_IDX_IN];
uint32_t *out = &crypt_out[HASH_IDX_OUT];
... |
openwall/john/src/pgpwde_fmt_plug.c | #pragma omp parallel for | 100 | count = *pcount;
int index = 0;
memset(cracked, 0, sizeof(cracked[0]) * count);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
unsigned char key[40];
int ret;
S2KPGPWDE(saved_key[index], cur_salt->salt, key, 32);
ret = pgpwde_decrypt_and_verify(key, cur_salt->esk, 128);
cracked[ind... |
openwall/john/src/django_scrypt_fmt_plug.c | #pragma omp parallel for default(none) private(index) shared(count, failed, params, max_threads, local, saved_key, cur_salt, crypt_out) | 100 | params_t params = { .N = 1ULL << cur_salt->N, .r = cur_salt->r, .p = cur_salt->p };
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
#ifdef _OPENMP
int t = omp_get_thread_num();
if (t >= max_threads) {
failed = -1;
continue;
}
#else
const int t = 0;
if (yescrypt_kdf(NULL, &local[t]... |
openwall/john/src/wow_srp_fmt_plug.c | #pragma omp parallel for | 100 | t crypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int j;
#ifdef _OPENMP
<LOOP-START>for (j = 0; j < count; ++j) {
SHA_CTX ctx;
unsigned char Tmp[20];
memset(crypt_out[j], 0, sizeof(crypt_out[j]));
SHA1_Init(&ctx);
SHA1_Update(&ctx, user_id, strlen((char*)user_id));
SHA1_Update(&... |
openwall/john/src/pdf_fmt_plug.c | #pragma omp parallel for | 100 | = 0;
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
unsigned char output[32];
pdf_compute_user_password((unsigned char*)saved_key[index], output);
if (crypt_out->R == 2 || crypt_out->R == 5 || crypt_out->R == 6)
... |
openwall/john/src/salted_sha1_fmt_plug.c | #pragma omp parallel for | 100 | unt = *pcount;
int index;
int inc = 1;
#ifdef SIMD_COEF_32
inc = NBKEYS;
#endif
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += inc) {
#ifdef SIMD_COEF_32
unsigned int i;
for (i=0;i<NBKEYS;i++)
set_onesalt(i+index);
SIMDSHA1body(saved_key[index/NBKEYS], crypt_key[index/NBKEYS], NULL, S... |
openwall/john/src/mscash2_fmt_plug.c | #pragma omp parallel for default(none) private(i) shared(count, key, md4hash) | 100 | ly when the
// now get NTLM of the password (MD4 of unicode)
if (new_key) {
#if defined(_OPENMP)
<LOOP-START>for (i = 0; i < count; ++i) {
int utf16len;
UTF16 pass_unicode[PLAINTEXT_LENGTH+1];
MD4_CTX ctx;
utf16len = enc_to_utf16(pass_unicode, PLAINTEXT_LENGTH, &key[(PLAINTEXT_LENGTH + 1)*i], strlen((cha... |
openwall/john/src/mscash2_fmt_plug.c | #pragma omp parallel for | 100 | D4_Final(&md4hash[HASH_LEN*i], &ctx);
}
new_key = 0;
}
#ifdef _OPENMP
#if defined(WITH_UBSAN)
<LOOP-START>#else
#pragma omp parallel for default(none) shared(count, salt_buffer, salt_len, crypt_out, md4hash)
for (t1 = 0; t1 < count; t1 += MS_NUM_KEYS) {
MD4_CTX ctx;
int i;
int t = t1 / MS_NUM_KEYS;
for... |
openwall/john/src/mscash2_fmt_plug.c | #pragma omp parallel for default(none) shared(count, salt_buffer, salt_len, crypt_out, md4hash) | 100 | &ctx);
}
new_key = 0;
}
#ifdef _OPENMP
#if defined(WITH_UBSAN)
#pragma omp parallel for
#else
<LOOP-START>for (t1 = 0; t1 < count; t1 += MS_NUM_KEYS) {
MD4_CTX ctx;
int i;
int t = t1 / MS_NUM_KEYS;
for (i = 0; i < MS_NUM_KEYS; ++i) {
// Get DCC1. That is MD4( NTLM . unicode(lc username) )
MD4_Init(... |
openwall/john/src/pgpsda_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
unsigned char key[SHA1_DIGEST_LENGTH];
CAST_KEY ck;
pgpsda_kdf(saved_key[index], cur_salt->salt, key);
CAST_set_key(&ck, 16, key);
memset((unsigned char*)... |
openwall/john/src/geli_fmt_plug.c | #pragma omp parallel for | 100 | = *pcount;
int index = 0;
memset(cracked, 0, sizeof(cracked[0])*cracked_count);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char master[MIN_KEYS_PER_CRYPT][G_ELI_USERKEYLEN];
unsigned char key[MIN_KEYS_PER_CRYPT][G_ELI_USERKEYLEN];
int i;
#ifdef SIMD_COEF... |
openwall/john/src/net_ah_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
HMACMD5Context ctx;
hmac_md5_init_rfc2104((const unsigned char*)saved_key[index], strlen(saved_key[index]), &ctx);
hmac_md5_update(cur_salt->salt, cur_salt->le... |
openwall/john/src/hmacMD5_fmt_plug.c | #pragma omp parallel for | 100 | crypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#if _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#ifdef SIMD_COEF_32
int i;
if (new_keys) {
SIMDmd5body(&ipad[index * PAD_SIZE],
(unsigned int*)&prep_ipad[index * BINARY_SI... |
openwall/john/src/ospf_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
int plen = strlen(saved_key[index]);
unsigned char key[64];
unsigned char out[64];
if (cur_salt->type == 1) {
SHA_CTX ctx;
// process password accordi... |
openwall/john/src/rawSHA256_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#ifdef SIMD_COEF_32
SIMDSHA256body(&saved_key[(unsigned int)index/SIMD_COEF_32*SHA_BUF_SIZ*SIMD_COEF_32],
&crypt_out[(unsigned i... |
openwall/john/src/sha512crypt_fmt_plug.c | #pragma omp parallel for | 100 | x = 0; index < count; ++index)
MixOrder[index] = index;
tot_todo = count;
#endif
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < tot_todo; index += MIN_KEYS_PER_CRYPT)
{
// portably align temp_result char * pointer machine word size.
union xx {
unsigned char c[BINARY_SIZE];
ARCH_WORD a[BINARY_SIZE/siz... |
openwall/john/src/chap_fmt_plug.c | #pragma omp parallel for | 100 | ypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
MD5_CTX ctx;
MD5_Init(&ctx);
MD5_Update(&ctx, &cur_salt->id, 1);
MD5_Update(&ctx, saved_key[index], strlen(saved_key[index]));
MD5_Update(&ctx, cur_salt->ch... |
openwall/john/src/rsvp_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
unsigned char buf[64];
if (cur_salt->type == 1) {
MD5_CTX ctx;
if (new_keys[cur_salt->type]) {
int i, len = strlen(saved_key[index]);
unsigned char... |
openwall/john/src/c3_fmt.c | #pragma omp parallel for default(none) private(index) shared(warned, count, crypt_out, saved_key, saved_salt, crypt_data, stderr) | 100 | tatic int warned = 0;
int count = *pcount;
int index;
#if defined(_OPENMP) && defined(__GLIBC__)
<LOOP-START>for (index = 0; index < count; index++) {
char *hash;
int t = omp_get_thread_num();
if (t < MAX_THREADS) {
struct crypt_data **data = &crypt_data[t];
if (!*data) {
/* Stagger the structs to reduce... |
openwall/john/src/c3_fmt.c | #pragma omp parallel for | 100 | use for SHA-crypt and
* SunMD5 hashes, which are not yet supported by non-jumbo John natively.
*/
<LOOP-START>#else
#undef FMT_OMP
#define FMT_OMP 0
for (index = 0; index < count; index++) {
char *hash = crypt(saved_key[index], saved_salt);
if (!hash) {
#if defined(_OPENMP) && defined(__sun)
#pragma omp critica... |
openwall/john/src/md5crypt_long_fmt.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
crypt_md5(saved_key[index], (char*)cur_salt->salt, cur_salt->is_standard, (char *)crypt_out[index]);
}<LOOP-END> <OMP-START>#pragma omp parallel for<OMP-END> |
openwall/john/src/sl3_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#ifdef SIMD_COEF_32
unsigned int i;
for (i=0;i<NBKEYS;i++)
set_onesalt(i + index);
SIMDSHA1body(saved_key[index/NBKEYS], crypt_key[index... |
openwall/john/src/ntlmv1_mschapv2_fmt_plug.c | #pragma omp parallel for | 100 | _per_crypt = 0;
#ifdef SIMD_COEF_32
#if (BLOCK_LOOPS > 1)
#if defined(_OPENMP) && defined(SSE_OMP)
<LOOP-START>for (i = 0; i < BLOCK_LOOPS; i++)
SIMDmd4body(&saved_key[i * NBKEYS * 64], (unsigned int*)&nthash[i * NBKEYS * 16], NULL, SSEi_MIXED_IN);
#else
SIMDmd4body(saved_key, (unsigned int*)nthash, NULL, SSEi_MI... |
openwall/john/src/ntlmv1_mschapv2_fmt_plug.c | #pragma omp parallel for | 100 |
crypt_key[i] = *(uint32_t*)
&nthash[GETOUTPOS_W32(3, i)] >> 16;
}
#else
#ifdef _OPENMP
<LOOP-START>for (i = 0; i < count; i++) {
MD4_CTX ctx;
MD4_Init( &ctx );
MD4_Update(&ctx, saved_key[i], saved_len[i]);
MD4_Final((uchar*)&nthash[i * 16], &ctx);
crypt_key[i] = ((unsigned short*)&nthash[i... |
openwall/john/src/wbb3_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
unsigned char hexhash[40];
SHA_CTX ctx;
if (dirty) {
unsigned char out[20];
SHA1_Init(&ctx);
SHA1_Update(&ctx, saved_key[index], strlen(saved_key[inde... |
openwall/john/src/ansible_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char master[MIN_KEYS_PER_CRYPT][32];
int i;
#ifdef SIMD_COEF_32
int lens[MIN_KEYS_PER_CRYPT];
unsigned char *pin[MIN_KEYS_PER_CRY... |
openwall/john/src/radius_fmt_plug.c | #pragma omp parallel for | 100 | ndex;
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
if (check_password(index, cur_salt)) {
cracked[index] = 1;
#ifdef _OPENMP
#pragma omp atomic
any_cracked |= 1;
}
}<LOOP-END> <OMP-START>#pragma omp parall... |
openwall/john/src/pwsafe_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index+=MIN_KEYS_PER_CRYPT) {
SHA256_CTX ctx;
#ifdef SIMD_COEF_32
unsigned int i;
unsigned char _IBuf[64*MIN_KEYS_PER_CRYPT+MEM_ALIGN_CACHE], *keys, tmpBuf[32];
uint32_t ... |
openwall/john/src/sapH_fmt_plug.c | #pragma omp parallel for default(none) private(idx) shared(count, sapH_cur_salt, saved_plain, crypt_key) | 100 | key[index], BINARY_SIZE);
}
static void crypt_all_1(int count) {
int idx=0;
#if defined(_OPENMP)
<LOOP-START>for (idx = 0; idx < count; idx += NBKEYS1)
{
SHA_CTX ctx;
uint32_t i;
#if !defined (SIMD_COEF_32)
uint32_t len = strlen(saved_plain[idx]);
unsigned char tmp[PLAINTEXT_LENGTH+SHA1_BINARY_SIZE], *cp=... |
openwall/john/src/sapH_fmt_plug.c | #pragma omp parallel for default(none) private(idx) shared(count, sapH_cur_salt, saved_plain, crypt_key) | 100 | COEF_32;
}
}
#endif
}
}
static void crypt_all_256(int count) {
int idx;
#if defined(_OPENMP)
<LOOP-START>for (idx = 0; idx < count; idx += NBKEYS256) {
SHA256_CTX ctx;
uint32_t i;
#if !defined (SIMD_COEF_32)
uint32_t len = strlen(saved_plain[idx]);
unsigned char tmp[PLAINTEXT_LENGTH+SHA256_BINARY_SIZE],... |
openwall/john/src/sapH_fmt_plug.c | #pragma omp parallel for default(none) private(idx) shared(count, sapH_cur_salt, saved_plain, crypt_key) | 100 | COEF_32;
}
}
#endif
}
}
static void crypt_all_384(int count) {
int idx;
#if defined(_OPENMP)
<LOOP-START>for (idx = 0; idx < count; idx+=NBKEYS512) {
SHA512_CTX ctx;
uint32_t i;
#if !defined SIMD_COEF_64
uint32_t len = strlen(saved_plain[idx]);
unsigned char tmp[PLAINTEXT_LENGTH+SHA384_BINARY_SIZE], *cp... |
openwall/john/src/sapH_fmt_plug.c | #pragma omp parallel for default(none) private(idx) shared(count, sapH_cur_salt, saved_plain, crypt_key) | 100 | COEF_64;
}
}
#endif
}
}
static void crypt_all_512(int count) {
int idx;
#if defined(_OPENMP)
<LOOP-START>for (idx = 0; idx < count; idx+=NBKEYS512) {
SHA512_CTX ctx;
uint32_t i;
#if !defined SIMD_COEF_64
uint32_t len = strlen(saved_plain[idx]);
unsigned char tmp[PLAINTEXT_LENGTH+SHA512_BINARY_SIZE], *cp=... |
openwall/john/src/mozilla_ng_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
SHA_CTX ctx, ctxi, ctxo;
int i;
union {
unsigned char uc[64];
uint32_t ui[64/4];
} pad;
unsigned char buffer[20];
unsigned char tk[20];
unsigned c... |
openwall/john/src/DES_bs_b.c | #pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p, salt, precheck) | 100 |
volatile
#endif
int precheck = salt && !salt->bitmap;
#endif
#ifdef _OPENMP
#ifdef vtestallones
<LOOP-START>#else
#pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p)
for_each_t(n) {
#if DES_BS_EXPAND
DES_bs_vector *k;
#else
ARCH_WORD **k;
int iterations, rounds_and_swapped;
#if DES_B... |
openwall/john/src/DES_bs_b.c | #pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p) | 100 | nes
#pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p, salt, precheck)
#else
<LOOP-START>for_each_t(n) {
#if DES_BS_EXPAND
DES_bs_vector *k;
#else
ARCH_WORD **k;
int iterations, rounds_and_swapped;
#if DES_BS_VECTOR_LOOPS
int depth;
if (DES_bs_all.keys_changed)
goto finalize_keys;... |
openwall/john/src/DES_bs_b.c | #pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p, count, keys_count) | 100 |
#if DES_bs_mt
int t, n = (keys_count + (DES_BS_DEPTH - 1)) / DES_BS_DEPTH;
#endif
#ifdef _OPENMP
<LOOP-START>for_each_t(n) {
#if DES_BS_EXPAND
DES_bs_vector *k;
#else
ARCH_WORD **k;
int iterations, rounds_and_swapped;
#if DES_BS_VECTOR_LOOPS
int depth;
if (DES_bs_all.keys_changed)
goto finalize_keys;... |
openwall/john/src/DES_bs_b.c | #pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p, salt, precheck) | 100 |
volatile
#endif
int precheck = salt && !salt->bitmap;
#endif
#ifdef _OPENMP
#ifdef vtestallones
<LOOP-START>#else
#pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p)
for_each_t(n) {
ARCH_WORD **k;
int rounds;
#if DES_BS_VECTOR_LOOPS
int depth;
{
vtype z = vzero, o = vones;
D... |
openwall/john/src/DES_bs_b.c | #pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p) | 100 | nes
#pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p, salt, precheck)
#else
<LOOP-START>for_each_t(n) {
ARCH_WORD **k;
int rounds;
#if DES_BS_VECTOR_LOOPS
int depth;
{
vtype z = vzero, o = vones;
DES_bs_set_block_8(0, z, z, z, z, z, z, z, z);
DES_bs_set_block_8(8, o, o, o, z, ... |
openwall/john/src/DES_bs_b.c | #pragma omp parallel for default(none) private(t) shared(n, DES_bs_all_p, DES_bs_P) | 100 |
#if DES_bs_mt
int t, n = (keys_count + (DES_BS_DEPTH - 1)) / DES_BS_DEPTH;
#endif
#ifdef _OPENMP
<LOOP-START>for_each_t(n) {
ARCH_WORD **k;
int rounds;
#if DES_BS_VECTOR
int depth;
int i;
for (i = 0; i < 64; i++) {
#if DES_BS_VECTOR
for (depth = 0; depth < DES_BS_VECTOR; depth++)
DES_bs_all.B[i][d... |
openwall/john/src/sip_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
/* password */
MD5_CTX md5_ctx;
unsigned char md5_bin_hash[MD5_LEN];
char dynamic_hash[MD5_LEN_HEX+1];
/* Generate dynamic hash including pw (see above) */... |
openwall/john/src/zed_fmt_plug.c | #pragma omp parallel for | 100 | if defined(SIMD_COEF_32)
inc = SSE_GROUP_SZ_SHA256;
#else
algo = 256;
#endif
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += inc) {
#if !defined(SIMD_COEF_32)
pkcs12_pbe_derive_key(algo, cur_salt->iteration_count,
MBEDTLS_PKCS12_DERIVE_MAC_KEY,
... |
openwall/john/src/pst_fmt_plug.c | #pragma omp parallel for private(i) | 100 | crypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int i;
#ifdef _OPENMP
<LOOP-START>for (i = 0; i < count; ++i) {
CRC32_t crc = 0;
unsigned char *p = (unsigned char*)saved_key[i];
while (*p)
crc = jtr_crc32(crc, *p++);
crypt_out[i] = crc;
}<LOOP-END> <OMP-START>#pragma omp parall... |
openwall/john/src/notes_fmt_plug.c | #pragma omp parallel for | 100 | *pcount;
int index = 0;
memset(cracked, 0, sizeof(cracked[0]) * cracked_count);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char master[MIN_KEYS_PER_CRYPT][16];
int i;
#ifdef SIMD_COEF_32
int lens[MIN_KEYS_PER_CRYPT];
unsigned char *pin[MIN_KEYS_PER_CRY... |
openwall/john/src/andotp_fmt_plug.c | #pragma omp parallel for | 100 | ndex;
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
if (check_password(index, cur_salt)) {
cracked[index] = 1;
#ifdef _OPENMP
#pragma omp atomic
any_cracked |= 1;
}
}<LOOP-END> <OMP-START>#pragma omp parall... |
openwall/john/src/rawSHA224_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#ifdef SIMD_COEF_32
SIMDSHA256body(&saved_key[(unsigned int)index/SIMD_COEF_32*SHA_BUF_SIZ*SIMD_COEF_32],
&crypt_out[(unsigned i... |
openwall/john/src/dynamic_fmt.c | #pragma omp parallel for | 100 | fdef _OPENMP
int i;
unsigned int inc = OMP_MD5_INC;
// if (dynamic_use_sse!=1)
// inc = OMP_INC;
<LOOP-START>for (i = 0; i < m_count; i += inc)
DynamicFunc__crypt2_md5(i,i+inc,omp_get_thread_num());
#else
DynamicFunc__crypt2_md5();
}
static void __nonMP_DynamicFunc__clean_input()
{
unsigned int i=0;
#ifdef SIM... |
openwall/john/src/dynamic_fmt.c | #pragma omp parallel for shared(curdat, inc, m_count) | 100 | ularity);
inc = ((inc + curdat.omp_granularity-1)/curdat.omp_granularity)*curdat.omp_granularity;
<LOOP-START>for (j = 0; j < m_count; j += inc) {
unsigned int i;
unsigned int top=j+inc;
/* The last block may 'appear' to have more keys than we have in the
entire buffer space. This is due to the granul... |
openwall/john/src/lastpass_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
uint32_t key[MIN_KEYS_PER_CRYPT][8];
int i;
#ifdef SIMD_COEF_32
int lens[MIN_KEYS_PER_CRYPT];
unsigned char *pin[MIN_KEYS_PER_CRYPT];
un... |
openwall/john/src/rawSHA512_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#ifdef SIMD_COEF_64
SIMDSHA512body(&saved_key[index/SIMD_COEF_64*SHA_BUF_SIZ*SIMD_COEF_64],
&crypt_out[index/SIMD_COEF_64*8*SIMD... |
openwall/john/src/palshop_fmt_plug.c | #pragma omp parallel for | 100 | ypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
unsigned char m1[53], buffer[16+20], *cp;
int i;
MD5_CTX mctx;
SHA_CTX sctx;
// m1 = md5($p)
MD5_Init(&mctx);
MD5_Update(&mctx, saved_key[index], saved... |
openwall/john/src/racf_kdfaes_fmt_plug.c | #pragma omp parallel for | 100 | rypt_all(int *pcount, struct db_salt *salt)
{
int count = *pcount;
int index = 0;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
int x, i, n, n_key, ml;
char mac1[32] = { 0 };
char t1[32] = { 0 };
unsigned char key[32];
unsigned char m[MAX_SALT_SIZE + HASH_OUTPUT_SIZE + 32];
unsigne... |
openwall/john/src/o5logon_fmt_plug.c | #pragma omp parallel for | 100 | ny_cracked) {
memset(cracked, 0, sizeof(*cracked) * count);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
unsigned char key[24];
unsigned char iv[16];
SHA_CTX ctx;
SHA1_Init(&ctx);
SHA1_Update(&ctx, saved_key[index], saved_len[index]);
SHA1_Update(&ctx, cur_s... |
openwall/john/src/opencl_diskcryptor_fmt_plug.c | #pragma omp parallel for | 100 | NULL, multi_profilingEvent[3]), "Copy result back");
if (!ocl_autotune_running) {
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
uint64_t u[8];
unsigned char static_privkey[64];
int j, success;
memcpy(u, host_crack[index].hash, 64);
for (j = 0; j < 8; j++)
u[j] = JOHNSWAP64(... |
openwall/john/src/iwork_fmt_plug.c | #pragma omp parallel for | 100 | = *pcount;
int index = 0;
memset(cracked, 0, sizeof(cracked[0])*cracked_count);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char master[MIN_KEYS_PER_CRYPT][16];
int i;
#ifdef SIMD_COEF_32
int lens[MIN_KEYS_PER_CRYPT];
unsigned char *pin[MIN_KEYS_PER_CRY... |
openwall/john/src/rawMD5flat_fmt_plug.c | #pragma omp parallel for | 100 | = 0;
#ifdef SIMD_COEF_32
const int inc = NBKEYS;
#else
const int inc = 1;
#endif
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += inc) {
#if SIMD_COEF_32
SIMDmd5body(saved_key[index], crypt_key[index/NBKEYS], NULL, SSEi_FLAT_IN);
#else
MD5_CTX ctx;
MD5_Init(&ctx);
MD5_Update(&ctx, saved_ke... |
openwall/john/src/nukedclan_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index++) {
unsigned char pass[40+1];
unsigned char out[80];
int i, k;
int idx = 0;
MD5_CTX c;
SHA_CTX ctx;
SHA1_Init(&ctx);
SHA1_Update(&ctx, saved_key[index], s... |
openwall/john/src/rar5_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
#ifdef SSE_GROUP_SZ_SHA256
int lens[SSE_GROUP_SZ_SHA256], i, j;
unsigned char PswCheck[SIZE_PSWCHECK],
PswCheckValue[SSE_GROUP... |
openwall/john/src/encdatavault_md5_fmt_plug.c | #pragma omp parallel for | 100 | 0, cracked_size);
any_cracked = 0;
}
nb_keys = 1 << (cur_salt->algo_id - 1);
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_MD5_CRYPT) {
int i, j;
MD5_CTX ctx;
buffer_128 kdf_out[MIN_KEYS_PER_MD5_CRYPT][ENC_MAX_KEY_NUM];
buffer_128 hash;
buffer_128 tmp;
buffer_128 iv... |
openwall/john/src/openbsdsoftraid_fmt_plug.c | #pragma omp parallel for | 100 | ypt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
AES_KEY akey;
unsigned char mask_key[MIN_KEYS_PER_CRYPT][32];
unsigned char unmasked_keys[OPENBSD_SOFTRAID_KEYLENGTH * OPENBSD_SOFTRAID_KEYS... |
openwall/john/src/axcrypt_fmt_plug.c | #pragma omp parallel for | 100 | = 0;
if (any_cracked) {
memset(cracked, 0, cracked_size);
any_cracked = 0;
}
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
/*
* NUMBER_AES_BLOCKS = 2
* AES_BLOCK_SIZE = 16
*/
unsigned char KEK[32];
AES_KEY akey;
int i;
if (cur_salt->version == 1) {... |
openwall/john/src/kwallet_fmt_plug.c | #pragma omp parallel for | 100 | pt_all(int *pcount, struct db_salt *salt)
{
const int count = *pcount;
int index;
#ifdef _OPENMP
<LOOP-START>for (index = 0; index < count; index += MIN_KEYS_PER_CRYPT) {
unsigned char key[MIN_KEYS_PER_CRYPT][56]; /* 56 seems to be the max. key size */
int key_size[MIN_KEYS_PER_CRYPT];
int i;
if (cur_salt->... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.