/openssl-master/crypto/chacha/asm/ |
A D | chacha-armv4.pl | 268 subs @t[3],@t[3],#1 343 ldmia @t[0],{@t[0]-@t[3]} @ load key material 381 ldmia @t[0],{@t[0]-@t[3]} @ load key material 426 ldmia @t[0],{@t[0]-@t[3]} @ load key material 521 eorlo @t[0],@t[0],@t[0] @ zero or ... 523 eorlo @t[1],@t[1],@t[1] 530 eorlo @t[2],@t[2],@t[2] 532 eorlo @t[3],@t[3],@t[3] 625 subs @t[0],@t[0],#1 626 eor @t[3],@t[3],@t[2] [all …]
|
A D | chacha-ppc.pl | 249 mr @t[0],@x[4] 250 mr @t[1],@x[5] 251 mr @t[2],@x[6] 252 mr @t[3],@x[7] 589 mr @t[0],@x[4] 590 mr @t[1],@x[5] 591 mr @t[2],@x[6] 727 li @t[0],16 729 li @t[1],32 731 li @t[2],48 [all …]
|
/openssl-master/external/perl/Text-Template-1.56/ |
A D | MANIFEST | 15 t/basic.t 16 t/broken.t 18 t/error.t 20 t/hash.t 23 t/ofh.t 24 t/out.t 28 t/safe.t 29 t/safe2.t 30 t/safe3.t 31 t/strict.t [all …]
|
A D | SIGNATURE | 29 SHA1 ae085010c9f08576ef8584f224e38e6a98c1c178 t/basic.t 30 SHA1 006feb1a0b1e5780db52aa79bd38933664a8339a t/broken.t 32 SHA1 304955c4280159ec3a4c0f2717dcff9c887bb487 t/error.t 34 SHA1 50ef92bda3b6b5cbd5a9307e6f17ce49ee8f245c t/hash.t 37 SHA1 62ae0720aa86146bccfa23d2c903fa142cb86d50 t/ofh.t 38 SHA1 68093417d49a2afdfcd4642bacea04466039b734 t/out.t 42 SHA1 5186ff459c6042af11bca92decd271887c7b2eae t/safe.t 43 SHA1 aa0c9ff96d66c1f74fc7ac73ce173c9f741f552e t/safe2.t 44 SHA1 b50a51577c0f2c13c9a48113dc7f061385a02219 t/safe3.t 45 SHA1 16d3abf7588da4c0056c6c6b7818470c8601577c t/strict.t [all …]
|
/openssl-master/crypto/aes/asm/ |
A D | bsaes-armv7.pl | 291 vorr @t[2], @t[2], @t[1] 296 vand @t[0], @t[0], @t[1] 334 veor @t[3], @t[3], @t[2] 340 veor @t[1], @t[1], @t[0] 488 vext.8 @t[5], @t[5], @t[5], #12 496 vext.8 @t[2], @t[2], @t[2], #12 499 vext.8 @t[4], @t[4], @t[4], #12 531 veor @t[7], @t[7], @t[5] 582 veor @t[1], @t[1], @t[5] 585 veor @t[1], @t[1], @t[6] [all …]
|
A D | bsaes-x86_64.pl | 350 por @t[1], @t[2] 355 pand @t[1], @t[0] 393 pand @t[1], @t[3] 405 pxor @t[2], @t[3] 415 pand @t[0], @t[2] 418 pxor @t[2], @t[1] 503 pxor @t[4], @t[0] 505 pxor @t[5], @t[1] 600 pxor @t[5], @t[7] 652 pxor @t[5], @t[1] [all …]
|
/openssl-master/providers/implementations/rands/ |
A D | test_rng.c | 55 t = OPENSSL_zalloc(sizeof(*t)); in test_rng_new() 56 if (t == NULL) in test_rng_new() 62 return t; in test_rng_new() 69 if (t == NULL) in test_rng_free() 108 if (strength > t->strength || t->entropy_len - t->entropy_pos < outlen) in test_rng_generate() 110 memcpy(out, t->entropy + t->entropy_pos, outlen); in test_rng_generate() 132 if (t->nonce == NULL || strength > t->strength) in test_rng_nonce() 136 memcpy(out, t->nonce, t->nonce_len); in test_rng_nonce() 246 if (t != NULL && t->lock == NULL) { in test_rng_enable_locking() 260 if (t == NULL || t->lock == NULL) in test_rng_lock() [all …]
|
/openssl-master/crypto/bn/ |
A D | bn_mul.c | 247 bn_mul_comba4(&(t[n2]), t, &(t[n])); in bn_mul_recursive() 249 memset(&t[n2], 0, sizeof(*t) * 8); in bn_mul_recursive() 257 bn_mul_comba8(&(t[n2]), t, &(t[n])); in bn_mul_recursive() 268 bn_mul_recursive(&(t[n2]), t, &(t[n]), n, 0, 0, p); in bn_mul_recursive() 284 c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2)); in bn_mul_recursive() 287 c1 += (int)(bn_add_words(&(t[n2]), &(t[n2]), t, n2)); in bn_mul_recursive() 369 bn_mul_comba4(&(t[n2]), t, &(t[n])); in bn_mul_part_recursive() 376 bn_mul_comba8(&(t[n2]), t, &(t[n])); in bn_mul_part_recursive() 382 bn_mul_recursive(&(t[n2]), t, &(t[n]), n, 0, 0, p); in bn_mul_part_recursive() 439 c1 -= (int)(bn_sub_words(&(t[n2]), t, &(t[n2]), n2)); in bn_mul_part_recursive() [all …]
|
A D | bn_sqrt.c | 23 BIGNUM *A, *b, *q, *t, *x, *y; in BN_mod_sqrt() local 65 t = BN_CTX_get(ctx); in BN_mod_sqrt() 151 if (!BN_mod_mul(t, t, y, p, ctx)) in BN_mod_sqrt() 153 if (!BN_sub_word(t, 1)) in BN_mod_sqrt() 253 if (!BN_rshift1(t, q)) in BN_mod_sqrt() 260 if (BN_is_zero(t)) { in BN_mod_sqrt() 310 while (!BN_is_one(t)) { in BN_mod_sqrt() 316 if (!BN_mod_mul(t, t, t, p, ctx)) in BN_mod_sqrt() 321 if (!BN_copy(t, y)) in BN_mod_sqrt() 324 if (!BN_mod_sqr(t, t, p, ctx)) in BN_mod_sqrt() [all …]
|
A D | bn_shift.c | 35 t = *(ap++); in BN_lshift1() 47 BN_ULONG *ap, *rp, t, c; in BN_rshift1() local 66 t = ap[--i]; in BN_rshift1() 67 rp[i] = t >> 1; in BN_rshift1() 69 r->top -= (t == 1); in BN_rshift1() 71 t = ap[--i]; in BN_rshift1() 108 BN_ULONG *t, *f; in bn_lshift_fixed_top() local 127 t = &(r->d[nw]); in bn_lshift_fixed_top() 177 BN_ULONG *t, *f; in bn_rshift_fixed_top() local 201 t = &(r->d[0]); in bn_rshift_fixed_top() [all …]
|
A D | bn_sqr.c | 54 BN_ULONG t[8]; in bn_sqr_fixed_top() local 55 bn_sqr_normal(rr->d, a->d, 4, t); in bn_sqr_fixed_top() 61 BN_ULONG t[16]; in bn_sqr_fixed_top() local 62 bn_sqr_normal(rr->d, a->d, 8, t); in bn_sqr_fixed_top() 164 bn_sqr_normal(r, a, 4, t); in bn_sqr_recursive() 171 bn_sqr_normal(r, a, 8, t); in bn_sqr_recursive() 178 bn_sqr_normal(r, a, n2, t); in bn_sqr_recursive() 192 p = &(t[n2 * 2]); in bn_sqr_recursive() 195 bn_sqr_recursive(&(t[n2]), t, n, p); in bn_sqr_recursive() 197 memset(&t[n2], 0, sizeof(*t) * n2); in bn_sqr_recursive() [all …]
|
/openssl-master/crypto/rsa/ |
A D | rsa_acvp_test_params.c | 81 RSA_ACVP_TEST *t; in ossl_rsa_acvp_test_set_params() local 89 t = OPENSSL_zalloc(sizeof(*t)); in ossl_rsa_acvp_test_set_params() 90 if (t == NULL) in ossl_rsa_acvp_test_set_params() 114 t->p1 = BN_new(); in ossl_rsa_acvp_test_set_params() 115 t->p2 = BN_new(); in ossl_rsa_acvp_test_set_params() 116 t->q1 = BN_new(); in ossl_rsa_acvp_test_set_params() 117 t->q2 = BN_new(); in ossl_rsa_acvp_test_set_params() 118 r->acvp_test = t; in ossl_rsa_acvp_test_set_params() 127 RSA_ACVP_TEST *t; in ossl_rsa_acvp_test_get_params() local 134 if (t != NULL) { in ossl_rsa_acvp_test_get_params() [all …]
|
/openssl-master/test/ |
A D | evp_test.c | 3340 t->meth->cleanup(t); in clear_test() 3366 t->s.test_file, t->s.start, t->aux_err, t->err); in check_test_error() 3369 t->s.test_file, t->s.start, t->err); in check_test_error() 3375 t->s.test_file, t->s.start, t->expected_err); in check_test_error() 3381 t->s.test_file, t->s.start, t->expected_err, t->err); in check_test_error() 3397 t->s.test_file, t->s.start, t->reason); in check_test_error() 3405 t->s.test_file, t->s.start, t->reason); in check_test_error() 3413 t->s.test_file, t->s.start, t->reason, reason); in check_test_error() 3428 if (t->err == NULL && t->meth->run_test(t) != 1) { in run_test() 3430 t->s.test_file, t->s.start, t->meth->name); in run_test() [all …]
|
A D | ssl_ctx_test.c | 36 version_test t = version_testdata[idx_tst]; in test_set_min_max_version() local 46 if (!TEST_int_eq(SSL_CTX_set_min_proto_version(ctx, t.min_version), t.min_ok)) in test_set_min_max_version() 48 if (!TEST_int_eq(SSL_CTX_set_max_proto_version(ctx, t.max_version), t.max_ok)) in test_set_min_max_version() 50 if (!TEST_int_eq(SSL_CTX_get_min_proto_version(ctx), t.expected_min)) in test_set_min_max_version() 52 if (!TEST_int_eq(SSL_CTX_get_max_proto_version(ctx), t.expected_max)) in test_set_min_max_version() 55 if (!TEST_int_eq(SSL_set_min_proto_version(ssl, t.min_version), t.min_ok)) in test_set_min_max_version() 57 if (!TEST_int_eq(SSL_set_max_proto_version(ssl, t.max_version), t.max_ok)) in test_set_min_max_version() 59 if (!TEST_int_eq(SSL_get_min_proto_version(ssl), t.expected_min)) in test_set_min_max_version() 61 if (!TEST_int_eq(SSL_get_max_proto_version(ssl), t.expected_max)) in test_set_min_max_version()
|
A D | x509_time_test.c | 258 ASN1_TIME t; in test_x509_cmp_time() local 261 memset(&t, 0, sizeof(t)); in test_x509_cmp_time() 265 t.flags = 0; in test_x509_cmp_time() 354 ASN1_TIME *t = NULL; in test_x509_time() local 359 t = ASN1_TIME_new(); in test_x509_time() 360 if (t == NULL) { in test_x509_time() 385 if (!TEST_mem_eq((const char *)t->data, t->length, in test_x509_time() 390 t->data); in test_x509_time() 397 if (t != NULL) in test_x509_time() 398 ASN1_TIME_free(t); in test_x509_time() [all …]
|
/openssl-master/providers/fips/ |
A D | self_test_kats.c | 34 || !EVP_DigestUpdate(ctx, t->pt, t->pt_len) in self_test_digest() 66 return EVP_CipherInit_ex(ctx, cipher, NULL, t->key, t->iv, enc) in cipher_init() 79 && EVP_CipherInit_ex(ctx, NULL, NULL, t->key, t->iv, enc) in cipher_init() 81 && EVP_CipherUpdate(ctx, NULL, &tmp, t->aad, t->aad_len); in cipher_init() 122 || memcmp(tag, t->tag, t->tag_len) != 0) in self_test_cipher() 236 if (memcmp(out, t->expected, t->expected_len) != 0) in self_test_kdf() 341 if (memcmp(out, t->expected, t->expectedlen) != 0) in self_test_drbg() 422 || memcmp(secret, t->expected, t->expected_len) != 0) in self_test_ka() 587 t->in, t->in_len) <= 0) in self_test_asym_cipher() 591 t->in, t->in_len) <= 0) in self_test_asym_cipher() [all …]
|
/openssl-master/crypto/md2/ |
A D | md2_dgst.c | 136 j = sp2[i] ^= S[t ^ j]; in md2_block() 138 t = 0; in md2_block() 141 t = state[j + 0] ^= S[t]; in md2_block() 142 t = state[j + 1] ^= S[t]; in md2_block() 143 t = state[j + 2] ^= S[t]; in md2_block() 144 t = state[j + 3] ^= S[t]; in md2_block() 145 t = state[j + 4] ^= S[t]; in md2_block() 146 t = state[j + 5] ^= S[t]; in md2_block() 147 t = state[j + 6] ^= S[t]; in md2_block() 148 t = state[j + 7] ^= S[t]; in md2_block() [all …]
|
/openssl-master/crypto/des/ |
A D | fcrypt_b.c | 23 #define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\ argument 24 (b)^=(t),\ 25 (a)^=((t)<<(n))) 28 #define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\ argument 29 (a)=(a)^(t)^(t>>(16-(n))))\ 34 register DES_LONG l, r, t, u; in fcrypt_body() local 63 t = l; in fcrypt_body() 65 r = t; in fcrypt_body() 70 PERM_OP(l, r, t, 1, 0x55555555L); in fcrypt_body() 71 PERM_OP(r, l, t, 8, 0x00ff00ffL); in fcrypt_body() [all …]
|
A D | des_local.h | 125 # define LOAD_DATA_tmp(R,S,u,t,E0,E1) \ argument 128 # define LOAD_DATA(R,S,u,t,E0,E1,tmp) \ argument 129 t=R^(R>>16L); \ 130 u=t&E0; t&=E1; \ 132 tmp=(t<<16); t^=R^s[S+1]; t^=tmp 137 t=R^s[S+1] 147 LOAD_DATA_tmp(R,S,u,t,E0,E1); \ 148 t=ROTATE(t,4); \ 197 # define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\ argument 198 (b)^=(t),\ [all …]
|
/openssl-master/crypto/asn1/ |
A D | a_utctm.c | 36 ASN1_UTCTIME t; in ASN1_UTCTIME_set_string() local 38 t.type = V_ASN1_UTCTIME; in ASN1_UTCTIME_set_string() 39 t.length = strlen(str); in ASN1_UTCTIME_set_string() 40 t.data = (unsigned char *)str; in ASN1_UTCTIME_set_string() 41 t.flags = 0; in ASN1_UTCTIME_set_string() 43 if (!ASN1_UTCTIME_check(&t)) in ASN1_UTCTIME_set_string() 46 if (s != NULL && !ASN1_STRING_copy(s, &t)) in ASN1_UTCTIME_set_string() 52 ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t) in ASN1_UTCTIME_set() argument 54 return ASN1_UTCTIME_adj(s, t, 0, 0); in ASN1_UTCTIME_set() 63 ts = OPENSSL_gmtime(&t, &data); in ASN1_UTCTIME_adj() [all …]
|
A D | a_gentm.c | 40 ASN1_GENERALIZEDTIME t; in ASN1_GENERALIZEDTIME_set_string() local 42 t.type = V_ASN1_GENERALIZEDTIME; in ASN1_GENERALIZEDTIME_set_string() 43 t.length = strlen(str); in ASN1_GENERALIZEDTIME_set_string() 44 t.data = (unsigned char *)str; in ASN1_GENERALIZEDTIME_set_string() 45 t.flags = 0; in ASN1_GENERALIZEDTIME_set_string() 47 if (!ASN1_GENERALIZEDTIME_check(&t)) in ASN1_GENERALIZEDTIME_set_string() 50 if (s != NULL && !ASN1_STRING_copy(s, &t)) in ASN1_GENERALIZEDTIME_set_string() 57 time_t t) in ASN1_GENERALIZEDTIME_set() argument 59 return ASN1_GENERALIZEDTIME_adj(s, t, 0, 0); in ASN1_GENERALIZEDTIME_set() 63 time_t t, int offset_day, in ASN1_GENERALIZEDTIME_adj() argument [all …]
|
A D | a_time.c | 358 if (!ASN1_TIME_to_tm(t, &tm)) in ASN1_TIME_to_generalizedtime() 382 ASN1_TIME t; in ASN1_TIME_set_string_X509() local 386 t.length = strlen(str); in ASN1_TIME_set_string_X509() 390 t.type = V_ASN1_UTCTIME; in ASN1_TIME_set_string_X509() 392 if (!ASN1_TIME_check(&t)) { in ASN1_TIME_set_string_X509() 394 if (!ASN1_TIME_check(&t)) in ASN1_TIME_set_string_X509() 416 t.length -= 2; in ASN1_TIME_set_string_X509() 422 t.data = OPENSSL_zalloc(t.length + 1); in ASN1_TIME_set_string_X509() 423 if (t.data == NULL) { in ASN1_TIME_set_string_X509() 427 memcpy(t.data, str + 2, t.length); in ASN1_TIME_set_string_X509() [all …]
|
/openssl-master/crypto/cast/ |
A D | cast_local.h | 135 t=ROTL(t,i); \ 159 t=(t OP2 *(CAST_LONG *)((unsigned char *)CAST_S_table1+v))&0xffffffffL;\ 163 t=(t OP3 *(CAST_LONG *)((unsigned char *)CAST_S_table2+u)&0xffffffffL);\ 164 t=(t OP1 *(CAST_LONG *)((unsigned char *)CAST_S_table3+v)&0xffffffffL);\ 165 L^=(t&0xffffffff); \ 171 t=(key[n*2] OP1 R)&0xffffffff; \ 172 t=ROTL(t,(key[n*2+1])); \ 173 a=CAST_S_table0[(t>> 8)&0xff]; \ 174 b=CAST_S_table1[(t )&0xff]; \ 175 c=CAST_S_table2[(t>>24)&0xff]; \ [all …]
|
/openssl-master/crypto/sm4/ |
A D | sm4.c | 111 uint32_t t = 0; in SM4_T_slow() local 113 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 24)]) << 24; in SM4_T_slow() 114 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 16)]) << 16; in SM4_T_slow() 115 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8; in SM4_T_slow() 116 t |= SM4_S[(uint8_t)X]; in SM4_T_slow() 121 return t ^ rotl(t, 2) ^ rotl(t, 10) ^ rotl(t, 18) ^ rotl(t, 24); in SM4_T_slow() 164 uint32_t t = 0; in ossl_sm4_set_key() local 168 t |= ((uint32_t)SM4_S[(uint8_t)(X >> 8)]) << 8; in ossl_sm4_set_key() 169 t |= SM4_S[(uint8_t)X]; in ossl_sm4_set_key() 171 t = t ^ rotl(t, 13) ^ rotl(t, 23); in ossl_sm4_set_key() [all …]
|
/openssl-master/crypto/rc2/ |
A D | rc2_cbc.c | 98 register RC2_INT x0, x1, x2, x3, t; in RC2_encrypt() local 113 t = (x0 + (x1 & ~x3) + (x2 & x3) + *(p0++)) & 0xffff; in RC2_encrypt() 114 x0 = (t << 1) | (t >> 15); in RC2_encrypt() 116 x1 = (t << 2) | (t >> 14); in RC2_encrypt() 118 x2 = (t << 3) | (t >> 13); in RC2_encrypt() 120 x3 = (t << 5) | (t >> 11); in RC2_encrypt() 144 register RC2_INT x0, x1, x2, x3, t; in RC2_decrypt() local 160 t = ((x3 << 11) | (x3 >> 5)) & 0xffff; in RC2_decrypt() 162 t = ((x2 << 13) | (x2 >> 3)) & 0xffff; in RC2_decrypt() 164 t = ((x1 << 14) | (x1 >> 2)) & 0xffff; in RC2_decrypt() [all …]
|