/dports/security/john/john-1.9.0-jumbo-1/src/ |
H A D | pbkdf2_hmac_ripemd160.h | 41 unsigned char ipad[RIPEMD160_CBLOCK], opad[RIPEMD160_CBLOCK], k0[RIPEMD160_DIGEST_LENGTH]; in _pbkdf2_ripemd160_load_hmac() local 45 memset(opad, 0x5C, RIPEMD160_CBLOCK); in _pbkdf2_ripemd160_load_hmac() 57 opad[i] ^= K[i]; in _pbkdf2_ripemd160_load_hmac() 64 sph_ripemd160(pOpad, opad, RIPEMD160_CBLOCK); in _pbkdf2_ripemd160_load_hmac() 106 sph_ripemd160_context ipad, opad; in pbkdf2_ripemd160() local 108 _pbkdf2_ripemd160_load_hmac(K, KL, &ipad, &opad); in pbkdf2_ripemd160() 113 _pbkdf2_ripemd160(S,SL,R,tmp.x32,loop,&ipad,&opad); in pbkdf2_ripemd160()
|
H A D | pbkdf2_hmac_whirlpool.h | 55 unsigned char ipad[WHIRLPOOL_CBLOCK], opad[WHIRLPOOL_CBLOCK], k0[WHIRLPOOL_DIGEST_LENGTH]; in _pbkdf2_whirlpool_load_hmac() local 59 memset(opad, 0x5C, WHIRLPOOL_CBLOCK); in _pbkdf2_whirlpool_load_hmac() 71 opad[i] ^= K[i]; in _pbkdf2_whirlpool_load_hmac() 80 WHIRLPOOL_Update(pOpad, opad, WHIRLPOOL_CBLOCK); in _pbkdf2_whirlpool_load_hmac() 122 WHIRLPOOL_CTX ipad, opad; in pbkdf2_whirlpool() local 124 _pbkdf2_whirlpool_load_hmac(K, KL, &ipad, &opad); in pbkdf2_whirlpool() 129 _pbkdf2_whirlpool(S,SL,R,tmp.x32,loop,&ipad,&opad); in pbkdf2_whirlpool()
|
H A D | hmacSHA1_fmt_plug.c | 85 static unsigned char *opad, *prep_opad; variable 93 static unsigned char (*opad)[PAD_SIZE]; variable 106 memset(opad, 0x5C, bufsize); in clear_keys() 122 opad = mem_calloc_align(1, bufsize, MEM_ALIGN_SIMD); in init() 138 opad = mem_calloc(self->params.max_keys_per_crypt, sizeof(*opad)); in init() 158 MEM_FREE(opad); in done() 212 uint32_t *opadp = (uint32_t*)&opad[GETPOS(3, index)]; 281 memset(opad[index], 0x5C, PAD_SIZE); 296 opad[index][i] ^= k0[i]; 303 opad[index][i] ^= key[i]; [all …]
|
H A D | rakp_fmt_plug.c | 76 static unsigned char *opad, *prep_opad; variable 87 static unsigned char (*opad)[PAD_SIZE]; variable 100 memset(opad, 0x5C, bufsize); in clear_keys() 116 opad = mem_calloc_align(1, bufsize, MEM_ALIGN_SIMD); in init() 132 opad = mem_calloc(self->params.max_keys_per_crypt, sizeof(*opad)); in init() 152 MEM_FREE(opad); in done() 198 uint32_t *opadp = (uint32_t*)&opad[GETPOS(3, index)]; in set_key() 260 memset(opad[index], 0x5C, PAD_SIZE); in set_key() 275 opad[index][i] ^= k0[i]; in set_key() 282 opad[index][i] ^= key[i]; in set_key() [all …]
|
/dports/security/hashcat/hashcat-6.2.5/OpenCL/ |
H A D | m09100-pure.cl | 23 u32 opad[5]; 652 tmps[gid].opad[0] = sha1_hmac_ctx.opad.h[0]; 653 tmps[gid].opad[1] = sha1_hmac_ctx.opad.h[1]; 654 tmps[gid].opad[2] = sha1_hmac_ctx.opad.h[2]; 655 tmps[gid].opad[3] = sha1_hmac_ctx.opad.h[3]; 656 tmps[gid].opad[4] = sha1_hmac_ctx.opad.h[4]; 714 opad[0] = packv (tmps, opad, gid, 0); 715 opad[1] = packv (tmps, opad, gid, 1); 716 opad[2] = packv (tmps, opad, gid, 2); 717 opad[3] = packv (tmps, opad, gid, 3); [all …]
|
H A D | m00060_a1-optimized.cl | 60 opad[0] = MD5M_A; 61 opad[1] = MD5M_B; 62 opad[2] = MD5M_C; 63 opad[3] = MD5M_D; 65 md5_transform_vector (w0, w1, w2, w3, opad); 94 digest[0] = opad[0]; 95 digest[1] = opad[1]; 96 digest[2] = opad[2]; 97 digest[3] = opad[3]; 185 u32x opad[4]; [all …]
|
H A D | m00050_a1-optimized.cl | 60 opad[0] = MD5M_A; 61 opad[1] = MD5M_B; 62 opad[2] = MD5M_C; 63 opad[3] = MD5M_D; 65 md5_transform_vector (w0, w1, w2, w3, opad); 94 digest[0] = opad[0]; 95 digest[1] = opad[1]; 96 digest[2] = opad[2]; 97 digest[3] = opad[3]; 238 u32x opad[4]; [all …]
|
H A D | m18200_a3-pure.cl | 211 w0[0] = ctx1.opad.h[0]; 212 w0[1] = ctx1.opad.h[1]; 213 w0[2] = ctx1.opad.h[2]; 214 w0[3] = ctx1.opad.h[3]; 253 digest[0] = ctx.opad.h[0]; 254 digest[1] = ctx.opad.h[1]; 255 digest[2] = ctx.opad.h[2]; 258 K2[0] = ctx1.opad.h[0]; 259 K2[1] = ctx1.opad.h[1]; 260 K2[2] = ctx1.opad.h[2]; [all …]
|
H A D | m13100_a3-pure.cl | 213 w0[0] = ctx1.opad.h[0]; 214 w0[1] = ctx1.opad.h[1]; 215 w0[2] = ctx1.opad.h[2]; 216 w0[3] = ctx1.opad.h[3]; 255 digest[0] = ctx.opad.h[0]; 256 digest[1] = ctx.opad.h[1]; 257 digest[2] = ctx.opad.h[2]; 260 K2[0] = ctx1.opad.h[0]; 261 K2[1] = ctx1.opad.h[1]; 262 K2[2] = ctx1.opad.h[2]; [all …]
|
H A D | m16512_a1-pure.cl | 86 const u32x r0 = l32_from_64 (ctx.opad.h[0]); 87 const u32x r1 = h32_from_64 (ctx.opad.h[0]); 88 const u32x r2 = l32_from_64 (ctx.opad.h[1]); 89 const u32x r3 = h32_from_64 (ctx.opad.h[1]); 167 const u32x r0 = l32_from_64 (ctx.opad.h[0]); 168 const u32x r1 = h32_from_64 (ctx.opad.h[0]); 169 const u32x r2 = l32_from_64 (ctx.opad.h[1]); 170 const u32x r3 = h32_from_64 (ctx.opad.h[1]);
|
H A D | m16513_a1-pure.cl | 86 const u32x r0 = l32_from_64 (ctx.opad.h[0]); 87 const u32x r1 = h32_from_64 (ctx.opad.h[0]); 88 const u32x r2 = l32_from_64 (ctx.opad.h[1]); 89 const u32x r3 = h32_from_64 (ctx.opad.h[1]); 167 const u32x r0 = l32_from_64 (ctx.opad.h[0]); 168 const u32x r1 = h32_from_64 (ctx.opad.h[0]); 169 const u32x r2 = l32_from_64 (ctx.opad.h[1]); 170 const u32x r3 = h32_from_64 (ctx.opad.h[1]);
|
H A D | m16511_a1-pure.cl | 86 const u32 r0 = ctx.opad.h[DGST_R0]; 87 const u32 r1 = ctx.opad.h[DGST_R1]; 88 const u32 r2 = ctx.opad.h[DGST_R2]; 89 const u32 r3 = ctx.opad.h[DGST_R3]; 167 const u32 r0 = ctx.opad.h[DGST_R0]; 168 const u32 r1 = ctx.opad.h[DGST_R1]; 169 const u32 r2 = ctx.opad.h[DGST_R2]; 170 const u32 r3 = ctx.opad.h[DGST_R3];
|
H A D | m00150_a3-pure.cl | 72 const u32x r0 = ctx.opad.h[DGST_R0]; 73 const u32x r1 = ctx.opad.h[DGST_R1]; 74 const u32x r2 = ctx.opad.h[DGST_R2]; 75 const u32x r3 = ctx.opad.h[DGST_R3]; 148 const u32x r0 = ctx.opad.h[DGST_R0]; 149 const u32x r1 = ctx.opad.h[DGST_R1]; 150 const u32x r2 = ctx.opad.h[DGST_R2]; 151 const u32x r3 = ctx.opad.h[DGST_R3];
|
H A D | m00160_a3-pure.cl | 74 const u32x r0 = ctx.opad.h[DGST_R0]; 75 const u32x r1 = ctx.opad.h[DGST_R1]; 76 const u32x r2 = ctx.opad.h[DGST_R2]; 77 const u32x r3 = ctx.opad.h[DGST_R3]; 152 const u32x r0 = ctx.opad.h[DGST_R0]; 153 const u32x r1 = ctx.opad.h[DGST_R1]; 154 const u32x r2 = ctx.opad.h[DGST_R2]; 155 const u32x r3 = ctx.opad.h[DGST_R3];
|
H A D | m01450_a3-pure.cl | 72 const u32x r0 = ctx.opad.h[DGST_R0]; 73 const u32x r1 = ctx.opad.h[DGST_R1]; 74 const u32x r2 = ctx.opad.h[DGST_R2]; 75 const u32x r3 = ctx.opad.h[DGST_R3]; 148 const u32x r0 = ctx.opad.h[DGST_R0]; 149 const u32x r1 = ctx.opad.h[DGST_R1]; 150 const u32x r2 = ctx.opad.h[DGST_R2]; 151 const u32x r3 = ctx.opad.h[DGST_R3];
|
H A D | m01460_a3-pure.cl | 74 const u32x r0 = ctx.opad.h[DGST_R0]; 75 const u32x r1 = ctx.opad.h[DGST_R1]; 76 const u32x r2 = ctx.opad.h[DGST_R2]; 77 const u32x r3 = ctx.opad.h[DGST_R3]; 152 const u32x r0 = ctx.opad.h[DGST_R0]; 153 const u32x r1 = ctx.opad.h[DGST_R1]; 154 const u32x r2 = ctx.opad.h[DGST_R2]; 155 const u32x r3 = ctx.opad.h[DGST_R3];
|
H A D | m01760_a3-pure.cl | 74 const u32x r0 = l32_from_64 (ctx.opad.h[7]); 75 const u32x r1 = h32_from_64 (ctx.opad.h[7]); 76 const u32x r2 = l32_from_64 (ctx.opad.h[3]); 77 const u32x r3 = h32_from_64 (ctx.opad.h[3]); 152 const u32x r0 = l32_from_64 (ctx.opad.h[7]); 153 const u32x r1 = h32_from_64 (ctx.opad.h[7]); 154 const u32x r2 = l32_from_64 (ctx.opad.h[3]); 155 const u32x r3 = h32_from_64 (ctx.opad.h[3]);
|
H A D | m00050_a3-pure.cl | 72 const u32x r0 = ctx.opad.h[DGST_R0]; 73 const u32x r1 = ctx.opad.h[DGST_R1]; 74 const u32x r2 = ctx.opad.h[DGST_R2]; 75 const u32x r3 = ctx.opad.h[DGST_R3]; 148 const u32x r0 = ctx.opad.h[DGST_R0]; 149 const u32x r1 = ctx.opad.h[DGST_R1]; 150 const u32x r2 = ctx.opad.h[DGST_R2]; 151 const u32x r3 = ctx.opad.h[DGST_R3];
|
H A D | m01750_a3-pure.cl | 72 const u32x r0 = l32_from_64 (ctx.opad.h[7]); 73 const u32x r1 = h32_from_64 (ctx.opad.h[7]); 74 const u32x r2 = l32_from_64 (ctx.opad.h[3]); 75 const u32x r3 = h32_from_64 (ctx.opad.h[3]); 148 const u32x r0 = l32_from_64 (ctx.opad.h[7]); 149 const u32x r1 = h32_from_64 (ctx.opad.h[7]); 150 const u32x r2 = l32_from_64 (ctx.opad.h[3]); 151 const u32x r3 = h32_from_64 (ctx.opad.h[3]);
|
H A D | m00060_a3-pure.cl | 74 const u32x r0 = ctx.opad.h[DGST_R0]; 75 const u32x r1 = ctx.opad.h[DGST_R1]; 76 const u32x r2 = ctx.opad.h[DGST_R2]; 77 const u32x r3 = ctx.opad.h[DGST_R3]; 152 const u32x r0 = ctx.opad.h[DGST_R0]; 153 const u32x r1 = ctx.opad.h[DGST_R1]; 154 const u32x r2 = ctx.opad.h[DGST_R2]; 155 const u32x r3 = ctx.opad.h[DGST_R3];
|
H A D | m07300_a1-pure.cl | 84 const u32 r0 = ctx.opad.h[DGST_R0]; 85 const u32 r1 = ctx.opad.h[DGST_R1]; 86 const u32 r2 = ctx.opad.h[DGST_R2]; 87 const u32 r3 = ctx.opad.h[DGST_R3]; 165 const u32 r0 = ctx.opad.h[DGST_R0]; 166 const u32 r1 = ctx.opad.h[DGST_R1]; 167 const u32 r2 = ctx.opad.h[DGST_R2]; 168 const u32 r3 = ctx.opad.h[DGST_R3];
|
H A D | inc_hash_streebog512.cl | 1113 // opad 1297 ctx->opad.len = 0; 1299 streebog512_transform (&ctx->opad, ctx->opad.w0, ctx->opad.w1, ctx->opad.w2, ctx->opad.w3); 1301 ctx->opad.w0[0] = 0; 1302 ctx->opad.w0[1] = 0; 1303 ctx->opad.w0[2] = 0; 1304 ctx->opad.w0[3] = 0; 1305 ctx->opad.w1[0] = 0; 1781 // opad 1955 ctx->opad.len = 0; [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/crypto/ |
H A D | hmac.c | 47 char *opad = ipad + ss; in hmac_setkey() local 48 struct hmac_ctx *ctx = align_ptr(opad + ss, in hmac_setkey() 68 memcpy(opad, ipad, bs); in hmac_setkey() 72 opad[i] ^= HMAC_OPAD_VALUE; in hmac_setkey() 79 crypto_shash_update(shash, opad, bs) ?: in hmac_setkey() 80 crypto_shash_export(shash, opad); in hmac_setkey() 118 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_final() local 122 crypto_shash_import(desc, opad) ?: in hmac_final() 133 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_finup() local 137 crypto_shash_import(desc, opad) ?: in hmac_finup()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/crypto/ |
H A D | hmac.c | 47 char *opad = ipad + ss; in hmac_setkey() local 48 struct hmac_ctx *ctx = align_ptr(opad + ss, in hmac_setkey() 68 memcpy(opad, ipad, bs); in hmac_setkey() 72 opad[i] ^= HMAC_OPAD_VALUE; in hmac_setkey() 79 crypto_shash_update(shash, opad, bs) ?: in hmac_setkey() 80 crypto_shash_export(shash, opad); in hmac_setkey() 118 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_final() local 122 crypto_shash_import(desc, opad) ?: in hmac_final() 133 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_finup() local 137 crypto_shash_import(desc, opad) ?: in hmac_finup()
|
/dports/multimedia/libv4l/linux-5.13-rc2/crypto/ |
H A D | hmac.c | 47 char *opad = ipad + ss; in hmac_setkey() local 48 struct hmac_ctx *ctx = align_ptr(opad + ss, in hmac_setkey() 68 memcpy(opad, ipad, bs); in hmac_setkey() 72 opad[i] ^= HMAC_OPAD_VALUE; in hmac_setkey() 79 crypto_shash_update(shash, opad, bs) ?: in hmac_setkey() 80 crypto_shash_export(shash, opad); in hmac_setkey() 118 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_final() local 122 crypto_shash_import(desc, opad) ?: in hmac_final() 133 char *opad = crypto_shash_ctx_aligned(parent) + ss; in hmac_finup() local 137 crypto_shash_import(desc, opad) ?: in hmac_finup()
|