Home
last modified time | relevance | path

Searched refs:k1 (Results 1 – 15 of 15) sorted by relevance

/openssl-master/include/openssl/
A Ddes.h61 # define DES_ecb2_encrypt(i,o,k1,k2,e) \ argument
62 DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e))
64 # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \ argument
65 DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
67 # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \ argument
68 DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
70 # define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \ argument
71 DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
A Dec.h906 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *, unsigned int *k1,
/openssl-master/crypto/cmac/
A Dcmac.c27 unsigned char k1[EVP_MAX_BLOCK_LENGTH]; member
39 static void make_kn(unsigned char *k1, const unsigned char *l, int bl) in make_kn() argument
46 k1[i] = (c << 1) | ((cnext = l[i + 1]) >> 7); in make_kn()
49 k1[i] = (c << 1) ^ ((0 - carry) & (bl == 16 ? 0x87 : 0x1b)); in make_kn()
73 OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
103 memcpy(out->k1, in->k1, bl); in CMAC_CTX_copy()
150 make_kn(ctx->k1, ctx->tbl, bl); in CMAC_Init()
151 make_kn(ctx->k2, ctx->k1, bl); in CMAC_Init()
222 out[i] = ctx->last_block[i] ^ ctx->k1[i]; in CMAC_Final()
/openssl-master/crypto/bn/asm/
A Drsaz-avx512.pl235 vpcmpuq \$1, $_R0, $mask52x4, %k1 # OP=lt
240 kmovb %k1, %r14d # k1
247 vpcmpuq \$0, $_R0, $mask52x4, %k1 # OP=eq
252 kmovb %k1, %r9d # k4
282 kmovb %r14d, %k1
291 vpsubq $mask52x4, $_R0, ${_R0}{%k1}
560 vpcmpq \$0, $cur_idx, $idx, %k1 # mask of (idx == cur_idx)
569 vpblendmq $tmp1, $t1, ${t1}{%k1}
570 vpblendmq $tmp2, $t2, ${t2}{%k1}
571 vpblendmq $tmp3, $t3, ${t3}{%k1}
[all …]
/openssl-master/crypto/des/
A Dofb64ede.c25 DES_key_schedule *k1, DES_key_schedule *k2, in DES_ede3_ofb64_encrypt() argument
49 DES_encrypt3(ti, k1, k2, k3); in DES_ede3_ofb64_encrypt()
/openssl-master/crypto/siphash/
A Dsiphash.c112 uint64_t k1 = U8TO64_LE(k + 8); in SipHash_Init() local
129 ctx->v1 = 0x646f72616e646f6dULL ^ k1; in SipHash_Init()
131 ctx->v3 = 0x7465646279746573ULL ^ k1; in SipHash_Init()
/openssl-master/test/certs/
A Dserver-pss-cert.pem6 EBv2R+XKcVX+VOc8SSb5+k1/QCHXF1qamNFan7wtYjgbAXiA0/Wg9ydlhfwj5gp4
/openssl-master/crypto/ec/
A Dec_asn1.c28 int32_t k1; member
102 ASN1_EMBED(X9_62_PENTANOMIAL, k1, INT32),
271 unsigned int k1, k2, k3; in ec_asn1_group2fieldid()
273 if (!EC_GROUP_get_pentanomial_basis(group, &k1, &k2, &k3)) in ec_asn1_group2fieldid()
283 char_two->p.ppBasis->k1 = (long)k1; in ec_asn1_group2fieldid()
623 && penta->k2 > penta->k1 && penta->k1 > 0)) { in EC_GROUP_new_from_ecparameters()
631 if (!BN_set_bit(p, (int)penta->k1)) in EC_GROUP_new_from_ecparameters()
A Dec_lib.c1365 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *group, unsigned int *k1, in EC_GROUP_get_pentanomial_basis() argument
1379 if (k1) in EC_GROUP_get_pentanomial_basis()
1380 *k1 = group->poly[3]; in EC_GROUP_get_pentanomial_basis()
/openssl-master/crypto/poly1305/asm/
A Dpoly1305-x86_64.pl2326 kmovw %eax,%k1
2335 vpermd $D1,$M0,${R1}{%k1}
2336 vpermd $D2,$M0,${R2}{%k1}
2337 vpermd $D3,$M0,${R3}{%k1}
2338 vpermd $D4,$M0,${R4}{%k1}
2838 kmovw %r11d,%k1
3292 kmovw %eax,%k1
3310 vpaddq $T0,$D0lo,${D0lo}{%k1}{z}
3311 vpaddq $H0,$D0hi,${D0hi}{%k1}{z}
3314 vpaddq $T1,$D1lo,${D1lo}{%k1}{z}
[all …]
/openssl-master/crypto/sm4/
A Dsm4.c179 #define SM4_RNDS(k0, k1, k2, k3, F) \ argument
182 B1 ^= F(B0 ^ B2 ^ B3 ^ ks->rk[k1]); \
/openssl-master/doc/man7/
A DEVP_PKEY-EC.pod153 =item "k1" (B<OSSL_PKEY_PARAM_EC_CHAR2_PP_K1>) <integer>
165 I<k1>, I<k2> and I<k3> are used to get the middle bits of a pentanomial such
166 that m > k3 > k2 > k1 > 0
/openssl-master/providers/implementations/keymgmt/
A Dec_kmgmt.c569 unsigned int k1 = 0, k2 = 0, k3 = 0; in ec_get_ecm_params()
593 if (!EC_GROUP_get_trinomial_basis(group, &k1) in ec_get_ecm_params()
596 (int)k1)) in ec_get_ecm_params()
599 if (!EC_GROUP_get_pentanomial_basis(group, &k1, &k2, &k3) in ec_get_ecm_params()
601 OSSL_PKEY_PARAM_EC_CHAR2_PP_K1, (int)k1) in ec_get_ecm_params()
/openssl-master/doc/man3/
A DEC_GROUP_copy.pod62 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *group, unsigned int *k1,
184 f(x) = x^m + x^k3 + x^k2 + x^k1 + 1 with m > k3 > k2 > k1 >= 1
188 …basis() must only be called where f(x) is of the pentanomial form, and returns the values of B<k1>,
/openssl-master/test/
A Dectest.c2405 unsigned int k1 = 0, k2 = 0, k3 = 0; in do_test_custom_explicit_fromdata() local
2424 if (!TEST_true(EC_GROUP_get_trinomial_basis(group, &k1))) in do_test_custom_explicit_fromdata()
2428 if (!TEST_true(EC_GROUP_get_pentanomial_basis(group, &k1, &k2, &k3))) in do_test_custom_explicit_fromdata()
2549 || !TEST_int_eq(k1, i_out) in do_test_custom_explicit_fromdata()
2562 || !TEST_int_eq(k1, i_out) in do_test_custom_explicit_fromdata()

Completed in 32 milliseconds