Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 39) sorted by relevance

12

/openssl/crypto/bn/
H A Drsaz_exp.c270 temp[1] = ~m[1];
271 temp[2] = ~m[2];
272 temp[3] = ~m[3];
273 temp[4] = ~m[4];
274 temp[5] = ~m[5];
275 temp[6] = ~m[6];
294 rsaz_512_sqr(temp, temp, m, k0, 4);
295 rsaz_512_mul_gather4(temp, temp, table, m, k0, wvalue & 0xf);
300 rsaz_512_sqr(temp, temp, m, k0, 4);
301 rsaz_512_mul_gather4(temp, temp, table, m, k0, wvalue >> 4);
[all …]
H A Dbn_mod.c59 BN_ULONG carry, temp, mask, *rp, *tp = storage; in bn_mod_add_fixed_top() local
76 temp = ((ap[ai] & mask) + carry) & BN_MASK2; in bn_mod_add_fixed_top()
77 carry = (temp < carry); in bn_mod_add_fixed_top()
80 tp[i] = ((bp[bi] & mask) + temp) & BN_MASK2; in bn_mod_add_fixed_top()
81 carry += (tp[i] < temp); in bn_mod_add_fixed_top()
H A Dbn_gcd.c583 BIGNUM *g, *temp = NULL; in BN_gcd() local
605 temp = BN_CTX_get(ctx); in BN_gcd()
644 || bn_wexpand(temp, top) == NULL) in BN_gcd()
667 if (!BN_add(temp, g, r)) in BN_gcd()
672 g, temp, top); in BN_gcd()
/openssl/crypto/bn/asm/
H A Darmv4-mont.pl307 my $temp="$Temp#lo";
372 vshr.u64 $temp,$temp,#16
375 vadd.u64 $temp,$temp,$Temp#hi
378 vshr.u64 $temp,$temp,#16
420 vshr.u64 $temp,$temp,#16
423 vadd.u64 $temp,$temp,$Temp#hi
426 vshr.u64 $temp,$temp,#16
432 vshr.u64 $temp,@ACC[0]#lo,#16
436 vshr.u64 $temp,@ACC[0]#hi,#16
500 veor $temp,$temp,$temp
[all …]
H A Dx86-mont.pl146 $temp="mm6";
225 &movd ($temp,&DWP($frame,"esp")); # tp[0]
229 &paddq ($mul1,$temp); # +=tp[0]
239 &movd ($temp,&DWP($frame+4,"esp")); # tp[1]
245 &paddq ($car0,$temp); # +=tp[1]
256 &movd ($temp,&DWP($frame+4,"esp",$j,4));# tp[j+1]
264 &paddq ($car0,$temp); # +=tp[j+1]
283 &movd ($temp,&DWP($frame+4,"esp",$num,4)); # += tp[num]
285 &paddq ($car1,$temp);
H A Darmv8-mont.pl304 my $temp="v15";
386 ushr $temp.2d,@ACC[0].2d,#16
432 eor $temp.16b,$temp.16b,$temp.16b
433 ins @ACC[0].d[1],$temp.d[0]
536 ushr $temp.2d,@ACC[0].2d,#16
541 ushr $temp.2d,@ACC[0].2d,#16
544 ins $temp.d[1],$zero.d[0]
553 ushr $temp.2d,@ACC[0].2d,#16
558 ushr $temp.2d,@ACC[0].2d,#16
561 ins $temp.d[1],$zero.d[0]
[all …]
/openssl/crypto/
H A Dmem_sec.c396 SH_LIST *temp; in sh_add_to_list() local
401 temp = (SH_LIST *)ptr; in sh_add_to_list()
403 OPENSSL_assert(temp->next == NULL || WITHIN_ARENA(temp->next)); in sh_add_to_list()
408 temp->next->p_next = &(temp->next); in sh_add_to_list()
416 SH_LIST *temp, *temp2; in sh_remove_from_list() local
418 temp = (SH_LIST *)ptr; in sh_remove_from_list()
419 if (temp->next != NULL) in sh_remove_from_list()
420 temp->next->p_next = temp->p_next; in sh_remove_from_list()
421 *temp->p_next = temp->next; in sh_remove_from_list()
422 if (temp->next == NULL) in sh_remove_from_list()
[all …]
/openssl/crypto/ec/
H A Decp_nistz256.c687 ecp_nistz256_point_add (&temp[2], &temp[1], &temp[0]); /*2+1=3 */ in ecp_nistz256_windowed_mul()
693 ecp_nistz256_point_add (&temp[3], &temp[1], &temp[0]); /*4+1=5 */ in ecp_nistz256_windowed_mul()
695 ecp_nistz256_point_add (&temp[4], &temp[2], &temp[0]); /*6+1=7 */ in ecp_nistz256_windowed_mul()
705 ecp_nistz256_point_add (&temp[2], &temp[2], &temp[0]); /*12+1=13*/ in ecp_nistz256_windowed_mul()
707 ecp_nistz256_point_add (&temp[3], &temp[3], &temp[0]); /*10+1=11*/ in ecp_nistz256_windowed_mul()
709 ecp_nistz256_point_add (&temp[4], &temp[4], &temp[0]); /*14+1=15*/ in ecp_nistz256_windowed_mul()
711 ecp_nistz256_point_add (&temp[2], &temp[1], &temp[0]); /*8+1=9 */ in ecp_nistz256_windowed_mul()
727 memcpy(r, &temp[0], sizeof(temp[0])); in ecp_nistz256_windowed_mul()
740 ecp_nistz256_neg(temp[1].Y, temp[0].Y); in ecp_nistz256_windowed_mul()
764 ecp_nistz256_neg(temp[1].Y, temp[0].Y); in ecp_nistz256_windowed_mul()
[all …]
H A Decp_nistp384.c524 widelimb temp, acc[9]; in felem_reduce() local
622 temp = acc[6] >> 48; in felem_reduce()
627 acc[3] += temp >> 40; in felem_reduce()
628 acc[2] += (temp & 0xffffffffff) << 16; in felem_reduce()
629 acc[2] += temp >> 16; in felem_reduce()
630 acc[1] += (temp & 0xffff) << 40; in felem_reduce()
631 acc[1] -= temp >> 24; in felem_reduce()
632 acc[0] -= (temp & 0xffffff) << 32; in felem_reduce()
633 acc[0] += temp; in felem_reduce()
H A Decp_smpl.c1435 BIGNUM *temp = NULL; in ossl_ec_GFp_simple_blind_coordinates() local
1439 temp = BN_CTX_get(ctx); in ossl_ec_GFp_simple_blind_coordinates()
1440 if (temp == NULL) { in ossl_ec_GFp_simple_blind_coordinates()
1464 || !group->meth->field_sqr(group, temp, lambda, ctx) in ossl_ec_GFp_simple_blind_coordinates()
1465 || !group->meth->field_mul(group, p->X, p->X, temp, ctx) in ossl_ec_GFp_simple_blind_coordinates()
1466 || !group->meth->field_mul(group, temp, temp, lambda, ctx) in ossl_ec_GFp_simple_blind_coordinates()
1467 || !group->meth->field_mul(group, p->Y, p->Y, temp, ctx)) in ossl_ec_GFp_simple_blind_coordinates()
/openssl/crypto/md2/
H A Dmd2_one.c38 char temp[1024]; in MD2() local
42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD2()
43 ebcdic2ascii(temp, d, chunk); in MD2()
44 MD2_Update(&c, temp, chunk); in MD2()
/openssl/crypto/md5/
H A Dmd5_one.c38 char temp[1024]; in MD5() local
42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD5()
43 ebcdic2ascii(temp, d, chunk); in MD5()
44 MD5_Update(&c, temp, chunk); in MD5()
/openssl/crypto/md4/
H A Dmd4_one.c38 char temp[1024]; in MD4() local
42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD4()
43 ebcdic2ascii(temp, d, chunk); in MD4()
44 MD4_Update(&c, temp, chunk); in MD4()
/openssl/crypto/aes/
H A Daes_core.c604 u32 temp; in KeyExpansion() local
1284 u32 temp; in AES_set_encrypt_key() local
1386 u32 temp; in AES_set_decrypt_key() local
1397 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in AES_set_decrypt_key()
1398 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in AES_set_decrypt_key()
1399 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in AES_set_decrypt_key()
1400 temp = rk[i + 3]; rk[i + 3] = rk[j + 3]; rk[j + 3] = temp; in AES_set_decrypt_key()
1862 u32 temp; in AES_set_encrypt_key() local
1964 u32 temp; in AES_set_decrypt_key() local
1975 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in AES_set_decrypt_key()
[all …]
H A Daes_x86core.c478 u32 temp; in AES_set_encrypt_key() local
500 temp = rk[3]; in AES_set_encrypt_key()
520 temp = rk[ 5]; in AES_set_encrypt_key()
542 temp = rk[ 7]; in AES_set_encrypt_key()
555 temp = rk[11]; in AES_set_encrypt_key()
560 ((u32)Te4[(temp >> 24) ] << 24); in AES_set_encrypt_key()
580 u32 temp; in AES_set_decrypt_key() local
591 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in AES_set_decrypt_key()
592 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in AES_set_decrypt_key()
593 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in AES_set_decrypt_key()
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c340 unsigned char temp[POLY1305_BLOCK_SIZE]; in chacha20_poly1305_aead_cipher() local
355 temp[0] = (unsigned char)(ctx->len.aad); in chacha20_poly1305_aead_cipher()
356 temp[1] = (unsigned char)(ctx->len.aad>>8); in chacha20_poly1305_aead_cipher()
357 temp[2] = (unsigned char)(ctx->len.aad>>16); in chacha20_poly1305_aead_cipher()
358 temp[3] = (unsigned char)(ctx->len.aad>>24); in chacha20_poly1305_aead_cipher()
359 temp[4] = (unsigned char)(ctx->len.aad>>32); in chacha20_poly1305_aead_cipher()
360 temp[5] = (unsigned char)(ctx->len.aad>>40); in chacha20_poly1305_aead_cipher()
361 temp[6] = (unsigned char)(ctx->len.aad>>48); in chacha20_poly1305_aead_cipher()
362 temp[7] = (unsigned char)(ctx->len.aad>>56); in chacha20_poly1305_aead_cipher()
363 temp[8] = (unsigned char)(ctx->len.text); in chacha20_poly1305_aead_cipher()
[all …]
/openssl/crypto/evp/
H A De_chacha20_poly1305.c183 unsigned char temp[CHACHA_CTR_SIZE] = { 0 }; in chacha20_poly1305_init_key() local
190 chacha_init_key(ctx, inkey, temp, enc); in chacha20_poly1305_init_key()
429 unsigned char temp[POLY1305_BLOCK_SIZE]; in chacha20_poly1305_cipher() local
446 temp[0] = (unsigned char)(actx->len.aad); in chacha20_poly1305_cipher()
447 temp[1] = (unsigned char)(actx->len.aad>>8); in chacha20_poly1305_cipher()
448 temp[2] = (unsigned char)(actx->len.aad>>16); in chacha20_poly1305_cipher()
449 temp[3] = (unsigned char)(actx->len.aad>>24); in chacha20_poly1305_cipher()
450 temp[4] = (unsigned char)(actx->len.aad>>32); in chacha20_poly1305_cipher()
451 temp[5] = (unsigned char)(actx->len.aad>>40); in chacha20_poly1305_cipher()
452 temp[6] = (unsigned char)(actx->len.aad>>48); in chacha20_poly1305_cipher()
[all …]
/openssl/crypto/modes/
H A Dccm128.c175 } temp; in CRYPTO_ccm128_encrypt() local
177 memcpy(temp.c, inp, 16); in CRYPTO_ccm128_encrypt()
178 ctx->cmac.u[0] ^= temp.u[0]; in CRYPTO_ccm128_encrypt()
179 ctx->cmac.u[1] ^= temp.u[1]; in CRYPTO_ccm128_encrypt()
188 temp.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
189 temp.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt()
190 memcpy(out, temp.c, 16); in CRYPTO_ccm128_encrypt()
255 } temp; in CRYPTO_ccm128_decrypt() local
260 memcpy(temp.c, inp, 16); in CRYPTO_ccm128_decrypt()
261 ctx->cmac.u[0] ^= (scratch.u[0] ^= temp.u[0]); in CRYPTO_ccm128_decrypt()
[all …]
/openssl/crypto/aes/asm/
H A Daesni-sha256-x86_64.pl569 &vpand ($temp,$temp,$mask14);
592 vpand $mask14,$temp,$temp
594 vpor $temp,$iv,$iv
838 &vpand ($temp,$temp,$mask14);
862 vpand $mask14,$temp,$temp
864 vpor $temp,$iv,$iv
1159 &vpand ($temp,$temp,$mask14);
1184 vpand $mask14,$temp,$temp
1185 vpor $temp,$iv,$iv
1229 vpand $mask14,$temp,$temp
[all …]
H A Daesni-mb-x86_64.pl736 my $temp = $i ? $offload : $offset;
738 $temp_reg=&pointer_register($flavour,$temp);
753 sub @ptr[$i],$temp # distance between input and output
754 mov $temp,`64+8*$i`(%rsp) # initialize distances
1035 my $temp = $i ? $offload : $offset;
1037 $temp_reg=&pointer_register($flavour,$temp);
1052 sub @ptr[$i],$temp # distance between input and output
1053 mov $temp,`64+8*$i`(%rsp) # initialize distances
/openssl/crypto/ec/asm/
H A Decp_nistz256-armv4.pl1000 vshr.u64 $temp,@AxB[0]#lo,#16
1002 vadd.u64 @AxB[0]#hi,@AxB[0]#hi,$temp
1027 vshr.u64 $temp,@AxB[0]#lo,#16
1029 vadd.u64 @AxB[0]#hi,@AxB[0]#hi,$temp
1045 vshr.u64 $temp,@AxB[1]#lo,#16 @ convert
1046 vadd.u64 @AxB[1]#hi,@AxB[1]#hi,$temp
1047 vshr.u64 $temp,@AxB[1]#hi,#16
1052 vadd.u64 @AxB[$_]#lo,@AxB[$_]#lo,$temp
1054 vshr.u64 $temp,@AxB[$_]#lo,#16
1055 vadd.u64 @AxB[$_]#hi,@AxB[$_]#hi,$temp
[all …]
/openssl/util/
H A Dfind-doc-nits79 my $temp = '/tmp/docnits.txt';
801 open my $OUT, '>', $temp
802 or die "Can't open $temp, $!";
806 open $OUT, '<', $temp
807 or die "Can't read $temp, $!";
813 unlink $temp || warn "Can't remove $temp, $!";
/openssl/test/
H A Decdsatest.c197 int temp; in test_builtin() local
244 temp = ECDSA_size(eckey); in test_builtin()
246 if (!TEST_int_ge(temp, 0) in test_builtin()
247 || !TEST_ptr(sig = OPENSSL_malloc(sig_len = (size_t)temp)) in test_builtin()
H A Dasn1_encode_test.c880 INVALIDTEMPLATE *temp = INVALIDTEMPLATE_new();
883 if (!TEST_ptr(temp))
886 ret = i2d_INVALIDTEMPLATE(temp, NULL);
888 INVALIDTEMPLATE_free(temp);
/openssl/providers/implementations/rands/
H A Ddrbg_hmac.c209 const unsigned char *temp = hmac->V; in ossl_drbg_hmac_generate() local
226 || !EVP_MAC_update(ctx, temp, hmac->blocklen)) in ossl_drbg_hmac_generate()
232 temp = out; in ossl_drbg_hmac_generate()

Completed in 170 milliseconds

12