/openssl/crypto/poly1305/ |
H A D | poly1305.c | 163 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 D | poly1305_base2_44.c | 87 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 D | poly1305_ieee754.c | 433 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 D | poly1305-armv8.pl | 147 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 D | poly1305-ppc.pl | 235 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 D | poly1305-armv4.pl | 238 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 D | poly1305-sparcv9.pl | 113 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 D | poly1305-ppcfp.pl | 594 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 D | poly1305-mips.pl | 174 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 D | poly1305-s390x.pl | 180 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 D | poly1305-ia64.S | 107 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 D | poly1305-x86_64.pl | 139 adc $h2,$d3 142 mov $d3,$h2 144 and \$3,$h2 148 adc \$0,$h2 367 xor $h2,$h2 430 mov $h2,%rax 586 mov $h2,$d1 593 mov $h2,$d1 594 and $h2,$d2 596 and \$3,$h2 [all …]
|
H A D | poly1305-x86.pl | 149 ($h0,$h1,$h2,$h3,$h4,
|
/openssl/crypto/sha/asm/ |
H A D | sha1-ia64.pl | 43 ($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 D | aes-gcm-armv8-unroll8_64.pl | 596 ext $h2.16b, $h2.16b, $h2.16b, #8 882 ext $h2.16b, $h2.16b, $h2.16b, #8 1246 ext $h2.16b, $h2.16b, $h2.16b, #8 1675 ext $h2.16b, $h2.16b, $h2.16b, #8 1954 ext $h2.16b, $h2.16b, $h2.16b, #8 2334 ext $h2.16b, $h2.16b, $h2.16b, #8 2889 ext $h2.16b, $h2.16b, $h2.16b, #8 3173 ext $h2.16b, $h2.16b, $h2.16b, #8 3559 ext $h2.16b, $h2.16b, $h2.16b, #8 4052 ext $h2.16b, $h2.16b, $h2.16b, #8 [all …]
|
H A D | aes-gcm-armv8_64.pl | 187 my ($h1,$h2,$h3,$h4,$h12k,$h34k)=map("v$_",(12..17)); 382 trn2 $h12k.2d, $h1.2d, $h2.2d @ h2l | h1l 403 trn1 $t0.2d, $h1.2d, $h2.2d @ h2h | h1h 1281 trn1 $t0.2d, $h1.2d, $h2.2d @ h2h | h1h 1287 trn2 $h12k.2d, $h1.2d, $h2.2d @ h2l | h1l 2049 my ($h1,$h2,$h3,$h4,$h12k,$h34k)=map("v$_",(12..17)); 2248 trn2 $h12k.2d, $h1.2d, $h2.2d @ h2l | h1l 2255 trn1 $t0.2d, $h1.2d, $h2.2d @ h2h | h1h 3165 trn2 $h12k.2d, $h1.2d, $h2.2d @ h2l | h1l 3213 trn1 $t0.2d, $h1.2d, $h2.2d @ h2h | h1h [all …]
|
/openssl/crypto/ec/ |
H A D | curve25519.c | 320 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 D | sha_local.h | 26 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 D | cipher_aes_cbc_hmac_sha1_hw.c | 189 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 D | e_aes_cbc_hmac_sha1.c | 227 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 D | sha.h | 43 SHA_LONG h0, h1, h2, h3, h4; member
|
/openssl/ssl/record/methods/ |
H A D | ssl3_cbc.c | 81 l2n(sha1->h2, md_out); in tls1_sha1_final_raw()
|
/openssl/ |
H A D | CHANGES.md | 2561 (which works for `<h1>` and `<h2>` headings only).
|