/openssl/include/openssl/ |
H A D | des.h | 61 # 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))
|
H A D | ec.h | 927 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *, unsigned int *k1,
|
/openssl/crypto/bn/asm/ |
H A D | rsaz-4k-avx512.pl | 276 kmovb %k1,%r14d 283 kmovb %k1,%r13d 290 kmovb %k1,%r12d 297 kmovb %k1,%r11d 318 kmovb %k1,%r9d 325 kmovb %k1,%r8d 332 kmovb %k1,%edx 339 kmovb %k1,%ecx 346 kmovb %k1,%ebx 363 kmovb %r14d,%k1 [all …]
|
H A D | rsaz-3k-avx512.pl | 261 kmovb %k1,%r14d 268 kmovb %k1,%r13d 275 kmovb %k1,%r12d 282 kmovb %k1,%r11d 295 kmovb %k1,%r9d 302 kmovb %k1,%r8d 309 kmovb %k1,%edx 316 kmovb %k1,%ecx 331 kmovb %r14d,%k1 359 kmovb %r11d,%k1 [all …]
|
H A D | rsaz-2k-avx512.pl | 245 vpcmpuq \$6, .Lmask52x4(%rip), $_R0, %k1 # OP=nle (i.e. gt) 250 kmovb %k1, %r14d # k1 257 vpcmpuq \$0, .Lmask52x4(%rip), $_R0, %k1 # OP=eq 262 kmovb %k1, %r9d # k4 292 kmovb %r14d, %k1 301 vpsubq .Lmask52x4(%rip), $_R0, ${_R0}{%k1} 566 vpcmpq \$0, $cur_idx, $idx1, %k1 # mask of (idx1 == cur_idx) 570 my $mask = $_<5?"%k1":"%k2";
|
/openssl/crypto/cmac/ |
H A D | cmac.c | 29 unsigned char k1[EVP_MAX_BLOCK_LENGTH]; member 41 static void make_kn(unsigned char *k1, const unsigned char *l, int bl) in make_kn() argument 48 k1[i] = (c << 1) | ((cnext = l[i + 1]) >> 7); in make_kn() 51 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() 160 make_kn(ctx->k1, ctx->tbl, bl); in ossl_cmac_init() 161 make_kn(ctx->k2, ctx->k1, bl); in ossl_cmac_init() 264 out[i] = ctx->last_block[i] ^ ctx->k1[i]; in CMAC_Final()
|
/openssl/crypto/des/ |
H A D | ofb64ede.c | 25 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/crypto/siphash/ |
H A D | siphash.c | 112 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/test/certs/ |
H A D | server-pss-cert.pem | 6 EBv2R+XKcVX+VOc8SSb5+k1/QCHXF1qamNFan7wtYjgbAXiA0/Wg9ydlhfwj5gp4
|
/openssl/crypto/ec/ |
H A D | ec_asn1.c | 29 int32_t k1; member 103 ASN1_EMBED(X9_62_PENTANOMIAL, k1, INT32), 272 unsigned int k1, k2, k3; in ec_asn1_group2fieldid() 274 if (!EC_GROUP_get_pentanomial_basis(group, &k1, &k2, &k3)) in ec_asn1_group2fieldid() 284 char_two->p.ppBasis->k1 = (long)k1; in ec_asn1_group2fieldid() 621 && penta->k2 > penta->k1 && penta->k1 > 0)) { in EC_GROUP_new_from_ecparameters() 629 if (!BN_set_bit(p, (int)penta->k1)) in EC_GROUP_new_from_ecparameters()
|
H A D | ec_lib.c | 1367 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *group, unsigned int *k1, in EC_GROUP_get_pentanomial_basis() argument 1381 if (k1) in EC_GROUP_get_pentanomial_basis() 1382 *k1 = group->poly[3]; in EC_GROUP_get_pentanomial_basis()
|
/openssl/crypto/poly1305/asm/ |
H A D | poly1305-x86_64.pl | 2332 kmovw %eax,%k1 2341 vpermd $D1,$M0,${R1}{%k1} 2342 vpermd $D2,$M0,${R2}{%k1} 2343 vpermd $D3,$M0,${R3}{%k1} 2344 vpermd $D4,$M0,${R4}{%k1} 2844 kmovw %r11d,%k1 3298 kmovw %eax,%k1 3316 vpaddq $T0,$D0lo,${D0lo}{%k1}{z} 3317 vpaddq $H0,$D0hi,${D0hi}{%k1}{z} 3320 vpaddq $T1,$D1lo,${D1lo}{%k1}{z} [all …]
|
/openssl/crypto/sm4/ |
H A D | sm4.c | 326 #define SM4_RNDS(k0, k1, k2, k3, F) \ argument 329 B1 ^= F(B0 ^ B2 ^ B3 ^ ks->rk[k1]); \
|
/openssl/providers/implementations/keymgmt/ |
H A D | ec_kmgmt.c | 593 unsigned int k1 = 0, k2 = 0, k3 = 0; in ec_get_ecm_params() 617 if (!EC_GROUP_get_trinomial_basis(group, &k1) in ec_get_ecm_params() 620 (int)k1)) in ec_get_ecm_params() 623 if (!EC_GROUP_get_pentanomial_basis(group, &k1, &k2, &k3) in ec_get_ecm_params() 625 OSSL_PKEY_PARAM_EC_CHAR2_PP_K1, (int)k1) in ec_get_ecm_params()
|
/openssl/doc/man3/ |
H A D | EC_GROUP_copy.pod | 62 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *group, unsigned int *k1, 187 f(x) = x^m + x^k3 + x^k2 + x^k1 + 1 with m > k3 > k2 > k1 >= 1 191 …basis() must only be called where f(x) is of the pentanomial form, and returns the values of B<k1>,
|
/openssl/doc/man7/ |
H A D | EVP_PKEY-EC.pod | 173 =item "k1" (B<OSSL_PKEY_PARAM_EC_CHAR2_PP_K1>) <integer> 185 I<k1>, I<k2> and I<k3> are used to get the middle bits of a pentanomial such 186 that m > k3 > k2 > k1 > 0
|
/openssl/test/ |
H A D | ectest.c | 2517 unsigned int k1 = 0, k2 = 0, k3 = 0; in do_test_custom_explicit_fromdata() local 2536 if (!TEST_true(EC_GROUP_get_trinomial_basis(group, &k1))) in do_test_custom_explicit_fromdata() 2540 if (!TEST_true(EC_GROUP_get_pentanomial_basis(group, &k1, &k2, &k3))) in do_test_custom_explicit_fromdata() 2661 || !TEST_int_eq(k1, i_out) in do_test_custom_explicit_fromdata() 2674 || !TEST_int_eq(k1, i_out) in do_test_custom_explicit_fromdata()
|
/openssl/crypto/modes/asm/ |
H A D | aes-gcm-avx512.pl | 3705 my $MASKREG = "%k1"; 4411 "$arg1", "$arg2", "$arg3", "$arg4", "%r10", "%r11", "%r12", "%k1", "%xmm2", "%zmm1", 4464 "$arg1", "$arg2", "$arg3", "%r10", "%r11", "%r12", "%k1", "%xmm14", "%zmm1", "%zmm11",
|