/openssl/crypto/modes/asm/ |
H A D | ghash-ia64.pl | 296 { .mfi; shladd $rem[0]=$rem[0],4,r0 //(p18) Htable[nhi].lo<<4 322 ld2 $rem[1]=[$rem[1]] //(p19) rem_8bit[rem] 324 { .mmi; shladd $rem[0]=$rem[0],4,r0 //(p18) Htable[nhi].lo<<4 329 shl $rem[1]=$rem[1],48 } //(p19) rem_8bit[rem]<<48 351 ld2 $rem[1]=[$rem[1]] //(p19) rem_8bit[rem] 353 { .mmi; shladd $rem[0]=$rem[0],4,r0 //(p18) Htable[nhi].lo<<4 357 shl $rem[1]=$rem[1],48 } //(p19) rem_8bit[rem]<<48 376 { .mfi; ld2 $rem[1]=[$rem[1]] //(p19) rem_8bit[rem] 379 shl $rem[1]=$rem[1],48 } //(p19) rem_8bit[rem]<<48 396 { .mmi; ld2 $rem[1]=[$rem[1]] //(p19) rem_8bit[rem] [all …]
|
H A D | ghash-parisc.pl | 155 ldd $rem($rem_4bit),$rem 171 ldd $rem($rem_4bit),$rem 184 ldd $rem($rem_4bit),$rem 200 ldd $rem($rem_4bit),$rem 212 ldd $rem($rem_4bit),$rem 238 ldwx $rem($rem_4bit),$rem 264 ldwx $rem($rem_4bit),$rem 282 ldwx $rem($rem_4bit),$rem 299 ldwx $rem($rem_4bit),$rem 413 ldd $rem($rem_4bit),$rem [all …]
|
H A D | ghash-x86.pl | 155 my $rem = "eax"; 161 &xor ($rem,$rem); # avoid partial register stalls on PIII 408 push (@rem,shift(@rem)); # "rotate" registers 538 &and ($rem,0xf); 553 &and ($rem,0xf); 568 &and ($rem,0xf); 581 &and ($rem,0xf); 747 &movz ($rem[1],&LB($rem[1])) if ($i>0); 763 unshift (@rem,pop(@rem)); 773 &movz ($rem[1],&LB($rem[1])); [all …]
|
H A D | ghash-alpha.pl | 39 $rem="t7"; # $8 80 ldq $rem,0($remp) 102 xor $rem,$Zhi,$Zhi 106 ldq $rem,0($remp) 127 ldq $rem,0($remp) 148 ldq $rem,0($remp) 168 ldq $rem,0($remp) 190 ldq $rem,0($remp) 211 ldq $rem,0($remp) 231 ldq $rem,0($remp) [all …]
|
H A D | ghash-sparcv9.pl | 65 $rem="%o4"; 152 xor $rem,$Zhi,$Zhi 165 xor $rem,$Zhi,$Zhi 186 xor $rem,$Zhi,$Zhi 201 xor $rem,$Zhi,$Zhi 212 xor $rem,$Zhi,$Zhi 222 xor $rem,$Zhi,$Zhi 232 xor $rem,$Zhi,$Zhi 287 xor $rem,$Zhi,$Zhi 299 xor $rem,$Zhi,$Zhi [all …]
|
H A D | ghash-x86_64.pl | 143 $rem="%rdx"; 172 mov $Zlo,$rem 178 and \$0xf,$rem 187 mov $Zlo,$rem 202 mov $Zlo,$rem 217 mov $Zlo,$rem 374 &movzw ($rem[1],"($rem_8bit,$rem[1],2)") if ($i>0); 389 &movz ($rem[0],&LB($rem[0])); 398 unshift (@rem,pop(@rem)); 400 &movzw ($rem[1],"($rem_8bit,$rem[1],2)"); [all …]
|
H A D | ghash-c64xplus.pl | 40 ($rem,$res)=("B4","B5"); # $rem zaps $Htable 180 || SHL $Z0,1,$rem ; ; rem=Z<<1 187 || XORMPY $E10000,$rem,$res ; ; implicit rem&0x1FE
|
/openssl/crypto/bn/ |
H A D | bn_div.c | 32 if (rem != NULL) { 45 if (rem == NULL) 46 rem = BN_CTX_get(ctx); 54 if (BN_copy(rem, m) == NULL) 73 if (!BN_usub(rem, rem, D)) 80 rem->neg = BN_is_zero(rem) ? 0 : m->neg; 378 rem += d0; in bn_div_fixed_top() 379 if (rem < d0) in bn_div_fixed_top() 408 if ((t2h < rem) || ((t2h == rem) && (t2l <= n2))) in bn_div_fixed_top() 411 rem += d0; in bn_div_fixed_top() [all …]
|
H A D | bn_recp.c | 82 int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, in BN_div_recp() argument 90 r = (rem != NULL) ? rem : BN_CTX_get(ctx); in BN_div_recp() 162 bn_check_top(rem); in BN_div_recp()
|
H A D | bn_prime.c | 25 const BIGNUM *add, const BIGNUM *rem, 124 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, in BN_generate_prime_ex2() argument 161 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx)) in BN_generate_prime_ex2() 212 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) in BN_generate_prime_ex() argument 220 retval = BN_generate_prime_ex2(ret, bits, safe, add, rem, cb, ctx); in BN_generate_prime_ex() 546 const BIGNUM *add, const BIGNUM *rem, in probable_prime_dh() argument 572 if (rem == NULL) { in probable_prime_dh() 576 if (!BN_add(rnd, rnd, rem)) in probable_prime_dh()
|
H A D | bn_depr.c | 23 const BIGNUM *add, const BIGNUM *rem, in BN_generate_prime() argument 36 if (!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb)) in BN_generate_prime()
|
/openssl/crypto/sha/ |
H A D | sha3.c | 56 size_t num, rem; in ossl_sha3_update() local 66 rem = bsz - num; in ossl_sha3_update() 68 if (len < rem) { in ossl_sha3_update() 78 memcpy(ctx->buf + num, inp, rem); in ossl_sha3_update() 79 inp += rem, len -= rem; in ossl_sha3_update() 86 rem = SHA3_absorb(ctx->A, inp, len, bsz); in ossl_sha3_update() 88 rem = len; in ossl_sha3_update() 90 if (rem) { in ossl_sha3_update() 91 memcpy(ctx->buf, inp + len - rem, rem); in ossl_sha3_update() 92 ctx->bufsz = rem; in ossl_sha3_update()
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_hw.c | 45 unsigned int n, rem, ctr32; in chacha20_cipher() local 66 rem = (unsigned int)(inl % CHACHA_BLK_SIZE); in chacha20_cipher() 67 inl -= rem; in chacha20_cipher() 101 if (rem > 0) { in chacha20_cipher() 105 for (n = 0; n < rem; n++) in chacha20_cipher() 107 ctx->partial_len = rem; in chacha20_cipher()
|
H A D | cipher_aes_ccm_hw_s390x.inc | 53 int i, rem; 94 rem = alen & 0xf; 101 if (rem) { 102 for (i = 0; i < rem; i++) 122 size_t n, rem; 159 rem = len & 0xf; 166 if (rem) { 167 for (i = 0; i < rem; i++) 175 CRYPTO_ctr128_encrypt_ctr32(in, out, len + rem, &sctx->ccm.ks.ks, 186 if (rem) { [all …]
|
H A D | cipher_aes_gcm_hw_s390x.inc | 148 int n, rem; 180 rem = len & 0xf; 190 if (rem) { 191 actx->plat.s390x.areslen = rem; 194 --rem; 195 actx->plat.s390x.ares[rem] = aad[rem]; 196 } while (rem); 219 int n, rem, i; 259 rem = len & 0xf; 276 if (rem) { [all …]
|
H A D | cipher_aes_hw_s390x.inc | 69 int rem; 80 rem = len & 0xf; 91 if (rem) { 97 while (rem--) { 125 int rem; 139 rem = len & 0xf; 150 if (rem) { 156 while (rem--) {
|
H A D | cipher_chacha20_poly1305_hw.c | 273 size_t rem, plen = ctx->tls_payload_length; in chacha20_poly1305_aead_cipher() local 311 if ((rem = (size_t)ctx->len.aad % POLY1305_BLOCK_SIZE)) in chacha20_poly1305_aead_cipher() 312 Poly1305_Update(poly, zero, POLY1305_BLOCK_SIZE - rem); in chacha20_poly1305_aead_cipher() 343 if ((rem = (size_t)ctx->len.aad % POLY1305_BLOCK_SIZE)) in chacha20_poly1305_aead_cipher() 344 Poly1305_Update(poly, zero, POLY1305_BLOCK_SIZE - rem); in chacha20_poly1305_aead_cipher() 348 if ((rem = (size_t)ctx->len.text % POLY1305_BLOCK_SIZE)) in chacha20_poly1305_aead_cipher() 349 Poly1305_Update(poly, zero, POLY1305_BLOCK_SIZE - rem); in chacha20_poly1305_aead_cipher()
|
/openssl/crypto/rc4/asm/ |
H A D | rc4-parisc.pl | 97 $rem="%r6"; 181 and,<> $out,$dat0,$rem ; is $out aligned? 183 subi 4,$rem,$rem 184 sub $len,$rem,$len 186 &foldedloop("L\$alignout",$rem); # process till $out is aligned 192 sub $inp,$acc,$rem ; align $inp 197 ldwx $rem($out),$dat0 198 ldo 4($rem),$rem 204 ldwx $rem($out),$dat1
|
/openssl/crypto/des/ |
H A D | cfb_enc.c | 36 register int num = numbits / 8, n = (numbits + 7) / 8, i, rem = in DES_cfb_encrypt() local 89 if (rem == 0) in DES_cfb_encrypt() 93 ovec[i] = ovec[i + num] << rem | in DES_cfb_encrypt() 94 ovec[i + num + 1] >> (8 - rem); in DES_cfb_encrypt() 132 if (rem == 0) in DES_cfb_encrypt() 136 ovec[i] = ovec[i + num] << rem | in DES_cfb_encrypt() 137 ovec[i + num + 1] >> (8 - rem); in DES_cfb_encrypt()
|
/openssl/test/helpers/ |
H A D | ssltestlib.c | 131 rem = len; in dump_data() 134 while (rem > 0) { in dump_data() 135 if (rem != len) in dump_data() 187 if (rem < reclen) { in dump_data() 189 rem = 0; in dump_data() 192 rem -= reclen; in dump_data() 356 int rem; in mempacket_test_read() local 380 for (rem = thispkt->len, rec = thispkt->data; rem > 0; rem -= len) { in mempacket_test_read() 398 if (rem < (int)len) in mempacket_test_read() 444 for (rem = thispkt->len, rec = thispkt->data; rem > 0; rem -= len, rec += len) { in mempacket_swap_epoch() [all …]
|
/openssl/providers/implementations/digests/ |
H A D | sha3_prov.c | 77 size_t num, rem; in keccak_update() local 85 rem = bsz - num; in keccak_update() 87 if (len < rem) { in keccak_update() 95 inp += rem; in keccak_update() 96 len -= rem; in keccak_update() 103 if (rem) { in keccak_update() 104 memcpy(ctx->buf, inp + len - rem, rem); in keccak_update() 105 ctx->bufsz = rem; in keccak_update() 195 size_t rem = len % ctx->block_size; in s390x_sha3_absorb() local 201 if (len - rem > 0) { in s390x_sha3_absorb() [all …]
|
/openssl/crypto/poly1305/ |
H A D | poly1305.c | 479 size_t rem, num; in Poly1305_Update() local 482 rem = POLY1305_BLOCK_SIZE - num; in Poly1305_Update() 483 if (len >= rem) { in Poly1305_Update() 484 memcpy(ctx->data + num, inp, rem); in Poly1305_Update() 486 inp += rem; in Poly1305_Update() 487 len -= rem; in Poly1305_Update() 496 rem = len % POLY1305_BLOCK_SIZE; in Poly1305_Update() 497 len -= rem; in Poly1305_Update() 504 if (rem) in Poly1305_Update() 505 memcpy(ctx->data, inp, rem); in Poly1305_Update() [all …]
|
/openssl/crypto/modes/ |
H A D | cfb128.c | 155 int n, rem, num; in cfbr_encrypt_block() local 174 rem = nbits % 8; in cfbr_encrypt_block() 176 if (rem == 0) in cfbr_encrypt_block() 180 ivec[n] = ovec[n + num] << rem | ovec[n + num + 1] >> (8 - rem); in cfbr_encrypt_block()
|
/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 62 unsigned int n, rem, ctr32; in chacha_cipher() local 82 rem = (unsigned int)(len % CHACHA_BLK_SIZE); in chacha_cipher() 83 len -= rem; in chacha_cipher() 116 if (rem) { in chacha_cipher() 120 for (n = 0; n < rem; n++) in chacha_cipher() 122 key->partial_len = rem; in chacha_cipher() 368 size_t rem, plen = actx->tls_payload_length; in chacha20_poly1305_cipher() local 401 POLY1305_BLOCK_SIZE - rem); in chacha20_poly1305_cipher() 434 POLY1305_BLOCK_SIZE - rem); in chacha20_poly1305_cipher() 438 if ((rem = (size_t)actx->len.text % POLY1305_BLOCK_SIZE)) in chacha20_poly1305_cipher() [all …]
|
/openssl/crypto/perlasm/ |
H A D | sparcv9_modes.pl | 926 my $rem=$ivec; 952 and $len, 15, $rem 957 movrnz $rem, 16, %l7 1033 brnz,pn $rem, .L${bits}_xts_${dir}steal 1055 brnz,pn $rem, .L${bits}_xts_${dir}steal 1148 brnz,pn $rem, .L${bits}_xts_${dir}steal 1177 brnz,pn $rem, .L${bits}_xts_${dir}steal 1311 dec $rem 1322 mov 1, $len ! $rem is 0 1378 dec $rem [all …]
|