Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 23 of 23) sorted by relevance

/openssl/crypto/poly1305/
H A Dpoly1305.c163 h2 = st->h[2]; in poly1305_blocks()
181 h2 = (h2 * r0); in poly1305_blocks()
189 c = (h2 >> 2) + (h2 & ~3UL); in poly1305_blocks()
190 h2 &= 3; in poly1305_blocks()
210 st->h[2] = h2; in poly1305_blocks()
224 h2 = st->h[2]; in poly1305_emit()
309 h2 = st->h[2]; in poly1305_blocks()
317 h2 = (u32)(d2 = (u64)h2 + (d1 >> 32) + U8TOU32(inp + 8)); in poly1305_blocks()
374 st->h[2] = h2; in poly1305_blocks()
410 h2 = (h2 & mask) | g2; in poly1305_emit()
[all …]
H A Dpoly1305_base2_44.c87 u64 h0, h1, h2, c; in poly1305_blocks() local
100 h2 = st->h[2]; in poly1305_blocks()
111 h2 += (m1 >> 24) + pad; in poly1305_blocks()
114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks()
115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks()
132 st->h[2] = h2; in poly1305_blocks()
138 u64 h0, h1, h2; in poly1305_emit() local
145 h2 = st->h[2]; in poly1305_emit()
149 h1 = (u64)(t = (u128)h1 + (h2 << 24) + (t >> 64)); h2 >>= 40; in poly1305_emit()
150 h2 += (u64)(t >> 64); in poly1305_emit()
[all …]
H A Dpoly1305_ieee754.c433 u64 h0, h1, h2, h3, h4; in poly1305_emit() local
443 h2 = st->h[2].u & 0x000fffffffffffffULL; in poly1305_emit()
456 h2 += h1>>32; h1 &= 0xffffffffU; in poly1305_emit()
457 h3 += h2>>32; h2 &= 0xffffffffU; in poly1305_emit()
462 g2 = (u32)(t = h2 + (t >> 32)); in poly1305_emit()
475 g2 |= (h2 & mask); in poly1305_emit()
/openssl/crypto/poly1305/asm/
H A Dpoly1305-armv8.pl147 adc $h2,$h2,$padbit
172 and $h2,$d2,#3
176 adc $h2,$h2,xzr
265 adc $h2,$h2,xzr
346 adc $h2,$h2,xzr
354 adc $h2,$h2,$padbit
400 adc $h2,$h2,$padbit
427 mov $h2,xzr
905 adc $h2,$h2,xzr // can be partially reduced...
911 and $h2,$h2,#3
[all …]
H A Dpoly1305-ppc.pl235 addze $h2,$h2
271 srdi $h2,$h2,12
288 xor $h2,$h2,$t0
291 and $h2,$h2,r0
294 xor $h2,$h2,$t0
412 and $h2,$h2,$r0
602 addze $h2,$h2
684 addze $h2,$h2
700 srwi $h2,$h2,8
705 srwi $h2,$h2,8
[all …]
H A Dpoly1305-armv4.pl238 adcs $h2,$h2,r3
265 adcs $h2,$h2,r2
318 adcs $h2,$h2,#0
385 adcs $h2,$h2,$g2
392 rev $h2,$h2
405 mov $h2,$h2,lsr#8
414 mov $h2,$h2,lsr#8
423 mov $h2,$h2,lsr#8
1182 adcs $h2,$h2,#0
1208 adcs $h2,$h2,$g2
[all …]
H A Dpoly1305-sparcv9.pl113 ldxa [$inp+$h2]0x88,$h2
118 sllx $h2,$shl,$h2
199 addccc $d1,$h2,$h2
250 addccc $d2,$h2,$h2
263 addccc %g0,$h2,$h2
404 addccc $r2,$h2,$h2
952 addccc $d1,$h2,$h2
978 or $d2,$h2,$h2
993 srl $h2,8,$h2
1002 srl $h2,8,$h2
[all …]
H A Dpoly1305-ppcfp.pl594 adde $h2,$h2,$d1
600 addze $d2,$h2
614 andc $h2,$h2,$mask
620 or $h2,$h2,$d2
627 adde $h2,$h2,$d2
634 add $h2,$h2,$d1
640 add $h2,$h2,$d1
650 addze $d1,$h2
661 andc $h2,$h2,$mask
664 or $h2,$h2,$d1
[all …]
H A Dpoly1305-mips.pl174 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) =
211 ld $h2,16($ctx)
278 daddu $h2,$padbit
285 daddu $h2,$tmp0
304 dmultu ($s1,$h2) # h2*5*r1
307 mflo ($tmp2,$s1,$h2)
309 dmultu ($r0,$h2) # h2*r0
312 mflo ($tmp3,$r0,$h2)
322 andi $h2,$d2,3
328 daddu $h2,$h2,$tmp0
[all …]
H A Dpoly1305-s390x.pl180 lgr ($d1lo,$h2);
194 alcgr ($h2,$t1);
197 ngr ($h0,$h2);
201 ngr ($h2,$t1);
262 srlg ($h2,$h2,24);
272 xgr ($h2,$d2);
278 xgr ($h2,$d2);
914 srlg ($h2,$h2,24);
924 xgr ($h2,$d2);
930 xgr ($h2,$d2);
[all …]
H A Dpoly1305-ia64.S107 h0=r17; h1=r18; h2=r19;
131 { .mmi; ld8 h2=[r8],16
190 add h2=h2,r35 };;
197 { .mmi; (p7) add h2=1,h2;;
198 setf.sig HF2=h2 };;
247 (p7) add h2=r31,r27
251 and r22=-4,h2
252 shr.u r23=h2,2 };;
254 and h2=3,h2
263 { .mmb; (p7) add h2=1,h2
[all …]
H A Dpoly1305-x86_64.pl139 adc $h2,$d3
142 mov $d3,$h2
144 and \$3,$h2
148 adc \$0,$h2
365 xor $h2,$h2
428 mov $h2,%rax
583 mov $h2,$d1
590 mov $h2,$d1
591 and $h2,$d2
593 and \$3,$h2
[all …]
H A Dpoly1305-x86.pl149 ($h0,$h1,$h2,$h3,$h4,
/openssl/crypto/sha/asm/
H A Dsha1-ia64.pl43 ($h0,$h1,$h2,$h3,$h4) = ("h0","h1","h2","h3","h4");
51 ($h0,$h1,$h2,$h3,$h4) = ("loc5","loc6","loc7","loc8","loc9");
263 { .mlx; ld4 $h2=[ctx],8
278 { .mmi; mov $C=$h2
298 add $h2=$h2,$C
305 { .mmi; st4 [ctx]=$h2,8
/openssl/crypto/modes/asm/
H A Daes-gcm-armv8-unroll8_64.pl594 ext $h2.16b, $h2.16b, $h2.16b, #8
880 ext $h2.16b, $h2.16b, $h2.16b, #8
1244 ext $h2.16b, $h2.16b, $h2.16b, #8
1672 ext $h2.16b, $h2.16b, $h2.16b, #8
1951 ext $h2.16b, $h2.16b, $h2.16b, #8
2331 ext $h2.16b, $h2.16b, $h2.16b, #8
2885 ext $h2.16b, $h2.16b, $h2.16b, #8
3169 ext $h2.16b, $h2.16b, $h2.16b, #8
3555 ext $h2.16b, $h2.16b, $h2.16b, #8
4047 ext $h2.16b, $h2.16b, $h2.16b, #8
[all …]
H A Daes-gcm-armv8_64.pl187 my ($h1,$h2,$h3,$h4,$h12k,$h34k)=map("v$_",(12..17));
368 trn2 $h12k.2d, $h1.2d, $h2.2d @ h2l | h1l
389 trn1 $t0.2d, $h1.2d, $h2.2d @ h2h | h1h
1218 trn1 $t0.2d, $h1.2d, $h2.2d @ h2h | h1h
1222 trn2 $h12k.2d, $h1.2d, $h2.2d @ h2l | h1l
1924 my ($h1,$h2,$h3,$h4,$h12k,$h34k)=map("v$_",(12..17));
2112 trn2 $h12k.2d, $h1.2d, $h2.2d @ h2l | h1l
2119 trn1 $t0.2d, $h1.2d, $h2.2d @ h2h | h1h
2977 trn2 $h12k.2d, $h1.2d, $h2.2d @ h2l | h1l
3025 trn1 $t0.2d, $h1.2d, $h2.2d @ h2h | h1h
[all …]
/openssl/crypto/ec/
H A Dcurve25519.c320 h3 |= h2 >> 51; h2 &= MASK51; in fe51_frombytes()
325 h[2] = h2; in fe51_frombytes()
334 uint64_t h2 = h[2]; in fe51_tobytes() local
342 q = (h2 + q) >> 51; in fe51_tobytes()
350 h3 += h2 >> 51; h2 &= MASK51; in fe51_tobytes()
441 h3 += (uint64_t)(h2 >> 51); g2 = (uint64_t)h2 & MASK51; in fe51_mul()
494 h3 += (uint64_t)(h2 >> 51); g2 = (uint64_t)h2 & MASK51; in fe51_sq()
521 h3 += (uint64_t)(h2 >> 51); g2 = (uint64_t)h2 & MASK51; in fe51_mul121666()
876 int32_t h2 = h[2]; in fe_tobytes() local
904 h3 += h2 >> 26; h2 &= kBottom26Bits; in fe_tobytes()
[all …]
/openssl/crypto/sha/
H A Dsha_local.h26 ll=(c)->h2; (void)HOST_l2c(ll,(s)); \
59 c->h2 = INIT_DATA_h2; in HASH_INIT()
150 C = c->h2; in HASH_BLOCK_DATA_ORDER()
317 c->h2 = (c->h2 + A) & 0xffffffffL; in HASH_BLOCK_DATA_ORDER()
326 C = c->h2; in HASH_BLOCK_DATA_ORDER()
375 C = c->h2; in HASH_BLOCK_DATA_ORDER()
403 c->h2 = (c->h2 + C) & 0xffffffffL; in HASH_BLOCK_DATA_ORDER()
412 C = c->h2; in HASH_BLOCK_DATA_ORDER()
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_cbc_hmac_sha1_hw.c189 mctx->C[i] = sctx->md.h2; in tls1_multi_block_encrypt()
296 mctx->C[i] = sctx->tail.h2; in tls1_multi_block_encrypt()
309 mctx->C[i] = sctx->tail.h2; in tls1_multi_block_encrypt()
545 pmac->u[2] |= sctx->md.h2 & mask; in aesni_cbc_hmac_sha1_cipher()
561 pmac->u[2] |= sctx->md.h2 & mask; in aesni_cbc_hmac_sha1_cipher()
573 pmac->u[2] |= sctx->md.h2 & mask; in aesni_cbc_hmac_sha1_cipher()
/openssl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c227 ctx->C[i] = key->md.h2; in tls1_1_multi_block_encrypt()
334 ctx->C[i] = key->tail.h2; in tls1_1_multi_block_encrypt()
347 ctx->C[i] = key->tail.h2; in tls1_1_multi_block_encrypt()
631 pmac->u[2] |= key->md.h2 & mask; in aesni_cbc_hmac_sha1_cipher()
647 pmac->u[2] |= key->md.h2 & mask; in aesni_cbc_hmac_sha1_cipher()
659 pmac->u[2] |= key->md.h2 & mask; in aesni_cbc_hmac_sha1_cipher()
/openssl/include/openssl/
H A Dsha.h43 SHA_LONG h0, h1, h2, h3, h4; member
/openssl/ssl/record/methods/
H A Dssl3_cbc.c82 l2n(sha1->h2, md_out); in tls1_sha1_final_raw()
/openssl/
H A DCHANGES.md1083 (which works for `<h1>` and `<h2>` headings only).

Completed in 172 milliseconds