Home
last modified time | relevance | path

Searched refs:rem (Results 1 – 25 of 37) sorted by relevance

12

/openssl/crypto/modes/asm/
H A Dghash-ia64.pl296 { .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 Dghash-parisc.pl155 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 Dghash-x86.pl155 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 Dghash-alpha.pl39 $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 Dghash-sparcv9.pl65 $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 Dghash-x86_64.pl143 $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 Dghash-c64xplus.pl40 ($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 Dbn_div.c32 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 Dbn_recp.c82 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 Dbn_prime.c25 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 Dbn_depr.c23 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 Dsha3.c56 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 Dcipher_chacha20_hw.c45 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 Dcipher_aes_ccm_hw_s390x.inc53 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 Dcipher_aes_gcm_hw_s390x.inc148 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 Dcipher_aes_hw_s390x.inc69 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 Dcipher_chacha20_poly1305_hw.c273 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 Drc4-parisc.pl97 $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 Dcfb_enc.c36 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 Dssltestlib.c131 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 Dsha3_prov.c78 size_t num, rem; in keccak_update() local
86 rem = bsz - num; in keccak_update()
88 if (len < rem) { in keccak_update()
96 inp += rem; in keccak_update()
97 len -= rem; in keccak_update()
104 if (rem) { in keccak_update()
105 memcpy(ctx->buf, inp + len - rem, rem); in keccak_update()
106 ctx->bufsz = rem; in keccak_update()
196 size_t rem = len % ctx->block_size; in s390x_sha3_absorb() local
202 if (len - rem > 0) { in s390x_sha3_absorb()
[all …]
/openssl/crypto/poly1305/
H A Dpoly1305.c479 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 Dcfb128.c155 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 De_chacha20_poly1305.c62 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 Dsparcv9_modes.pl926 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 …]

Completed in 47 milliseconds

12