/openssl/providers/implementations/kem/ |
H A D | ecx_kem.c | 95 if (ecx != NULL) { in recipient_key_set() 116 if (ecx != NULL) { in sender_authkey_set() 132 ECX_KEY *ecx = NULL; in ecxkey_pubfromdata() local 140 if (ecx == NULL) in ecxkey_pubfromdata() 144 ecx = NULL; in ecxkey_pubfromdata() 146 return ecx; in ecxkey_pubfromdata() 151 if (ecx == NULL || !ecx->haspubkey) { in ecx_pubkey() 155 return ecx->pubkey; in ecx_pubkey() 186 if (ecx->privkey == NULL) in ecx_key_check() 196 ECX_KEY *ecx = vecx; in ecxkem_init() local [all …]
|
H A D | build.info | 12 IF[{- !$disabled{ecx} -}]
|
/openssl/crypto/ec/ |
H A D | ecx_backend.c | 55 int ossl_ecx_key_fromdata(ECX_KEY *ecx, const OSSL_PARAM params[], in ossl_ecx_key_fromdata() argument 62 if (ecx == NULL) in ossl_ecx_key_fromdata() 75 (void **)&ecx->privkey, ecx->keylen, in ossl_ecx_key_fromdata() 78 if (privkeylen != ecx->keylen) { in ossl_ecx_key_fromdata() 84 OPENSSL_secure_clear_free(ecx->privkey, privkeylen); in ossl_ecx_key_fromdata() 85 ecx->privkey = NULL; in ossl_ecx_key_fromdata() 91 pubkey = ecx->pubkey; in ossl_ecx_key_fromdata() 98 if ((param_pub_key != NULL && pubkeylen != ecx->keylen)) in ossl_ecx_key_fromdata() 104 ecx->haspubkey = 1; in ossl_ecx_key_fromdata() 232 ECX_KEY *ecx = NULL; in ossl_ecx_key_from_pkcs8() local [all …]
|
H A D | ecx_meth.c | 59 ECX_KEY *ecx; in ecx_pub_decode() local 66 if (ecx != NULL) { in ecx_pub_decode() 90 if (ecx != NULL) { in ecx_priv_decode_ex() 263 ECX_KEY *ecx = NULL; in ecx_set_priv_key() local 271 if (ecx != NULL) { in ecx_set_priv_key() 281 ECX_KEY *ecx = NULL; in ecx_set_pub_key() local 289 if (ecx != NULL) { in ecx_set_pub_key() 392 if (ecx == NULL) { in ecx_generic_import_from() 407 ECX_KEY *ecx = from->pkey.ecx, *dupkey = NULL; in ecx_pkey_copy() local 410 if (ecx != NULL) { in ecx_pkey_copy() [all …]
|
H A D | build.info | 8 IF[{- !$disabled{'ecx'} -}] 25 IF[{- !$disabled{'ecx'} -}] 54 IF[{- !$disabled{'ecx'} -}] 77 IF[{- !$disabled{'ecx'} -}] 91 IF[{- !$disabled{'ecx'} -}] 119 IF[{- !$disabled{'ecx'} -}] 133 IF[{- !$disabled{'ecx'} -}]
|
/openssl/providers/implementations/keymgmt/ |
H A D | ecx_kmgmt.c | 289 ECX_KEY *ecx = key; in ecx_get_params() local 304 if (!OSSL_PARAM_set_octet_string(p, ecx->pubkey, ecx->keylen)) in ecx_get_params() 653 ecx->libctx, ecx->propq); in ecd_fips140_pairwise_test() 656 ecx->pubkey, ecx->privkey, NULL, 0, in ecd_fips140_pairwise_test() 669 ecx->pubkey, NULL, 0, 0, ecx->propq); in ecd_fips140_pairwise_test() 886 return CRYPTO_memcmp(ecx->pubkey, pub, ecx->keylen) == 0; in ecx_key_pairwise_check() 899 return ossl_ed25519_pubkey_verify(ecx->pubkey, ecx->keylen); in ecd_key_pub_check() 901 return ossl_ed448_pubkey_verify(ecx->pubkey, ecx->keylen); in ecd_key_pub_check() 920 if (!ossl_ed25519_public_from_private(ecx->libctx, pub, ecx->privkey, in ecd_key_pairwise_check() 925 if (!ossl_ed448_public_from_private(ecx->libctx, pub, ecx->privkey, in ecd_key_pairwise_check() [all …]
|
/openssl/crypto/ |
H A D | x86_64cpuid.pl | 91 cmp \$0x6c65746e,%ecx # "ntel" 102 cmp \$0x444D4163,%ecx # "cAMD" 115 or %ecx,%r9d 142 mov \$0,%ecx # query L1D 169 and \$0xfbffffff,%ecx # clear XSAVE flag to mimic Silvermont 185 and \$0xfffff7ff,%ecx 186 or %ecx,%r9d # merge AMD XOP flag 188 mov %edx,%r10d # %r9d:%r10d is copy of %ecx:%edx 193 xor %ecx,%ecx 207 mov %ecx,12(%rdi) [all …]
|
/openssl/crypto/sha/asm/ |
H A D | sha256-mb-x86_64.pl | 306 cmp $num,%ecx 308 test %ecx,%ecx 337 mov \$3,%ecx 344 dec %ecx 347 mov \$1,%ecx 488 cmp $num,%ecx 490 test %ecx,%ecx 1013 test %ecx,%ecx 1048 dec %ecx 1206 test %ecx,%ecx [all …]
|
H A D | sha1-mb-x86_64.pl | 424 cmp $num,%ecx 426 test %ecx,%ecx 457 mov \$1,%ecx 584 cmp $num,%ecx 586 test %ecx,%ecx 693 mov \$1,%ecx 1092 cmp $num,%ecx 1094 test %ecx,%ecx 1124 mov \$1,%ecx 1266 test %ecx,%ecx [all …]
|
/openssl/crypto/md5/asm/ |
H A D | md5-x86_64.pl | 74 $code .= " mov %ecx, %r11d /* (NEXT STEP) y' = %ecx */\n" if ($pos == -1); 166 mov 2*4(%rbp), %ecx # ecx = ctx->C 182 mov %ecx, %r14d 256 add %r14d, %ecx 268 mov %ecx, 2*4(%rbp) # ctx->C = C 348 mov \$154,%ecx # sizeof(CONTEXT)
|
/openssl/crypto/whrlpool/asm/ |
H A D | wp-x86_64.pl | 118 movz %al,%ecx 126 movz %al,%ecx 133 movz %bl,%ecx 140 movz %bl,%ecx 147 movz %al,%ecx 160 movz %al,%ecx 167 movz %bl,%ecx 174 movz %bl,%ecx 181 movz %al,%ecx 573 mov \$154,%ecx # sizeof(CONTEXT)
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 1408 MAKE_ENCODER(ed25519, ecx, EVP_PKEY_ED25519, PrivateKeyInfo, der); 1409 MAKE_ENCODER(ed25519, ecx, EVP_PKEY_ED25519, PrivateKeyInfo, pem); 1414 MAKE_ENCODER(ed448, ecx, EVP_PKEY_ED448, PrivateKeyInfo, der); 1415 MAKE_ENCODER(ed448, ecx, EVP_PKEY_ED448, PrivateKeyInfo, pem); 1416 MAKE_ENCODER(ed448, ecx, EVP_PKEY_ED448, SubjectPublicKeyInfo, der); 1420 MAKE_ENCODER(x25519, ecx, EVP_PKEY_X25519, PrivateKeyInfo, der); 1421 MAKE_ENCODER(x25519, ecx, EVP_PKEY_X25519, PrivateKeyInfo, pem); 1426 MAKE_ENCODER(x448, ecx, EVP_PKEY_ED448, PrivateKeyInfo, der); 1427 MAKE_ENCODER(x448, ecx, EVP_PKEY_ED448, PrivateKeyInfo, pem); 1428 MAKE_ENCODER(x448, ecx, EVP_PKEY_ED448, SubjectPublicKeyInfo, der); [all …]
|
H A D | encode_key2text.c | 573 const ECX_KEY *ecx = key; in ecx_to_text() local 576 if (out == NULL || ecx == NULL) { in ecx_to_text() 581 switch (ecx->type) { in ecx_to_text() 597 if (ecx->privkey == NULL) { in ecx_to_text() 604 if (!print_labeled_buf(out, "priv:", ecx->privkey, ecx->keylen)) in ecx_to_text() 608 if (!ecx->haspubkey) { in ecx_to_text() 617 if (!print_labeled_buf(out, "pub:", ecx->pubkey, ecx->keylen)) in ecx_to_text() 874 MAKE_TEXT_ENCODER(ed25519, ecx); 875 MAKE_TEXT_ENCODER(ed448, ecx); 876 MAKE_TEXT_ENCODER(x25519, ecx); [all …]
|
H A D | decode_der2key.c | 839 MAKE_DECODER("X25519", x25519, ecx, PrivateKeyInfo); 840 MAKE_DECODER("X25519", x25519, ecx, SubjectPublicKeyInfo); 841 MAKE_DECODER("X448", x448, ecx, PrivateKeyInfo); 842 MAKE_DECODER("X448", x448, ecx, SubjectPublicKeyInfo); 843 MAKE_DECODER("ED25519", ed25519, ecx, PrivateKeyInfo); 844 MAKE_DECODER("ED25519", ed25519, ecx, SubjectPublicKeyInfo); 845 MAKE_DECODER("ED448", ed448, ecx, PrivateKeyInfo); 846 MAKE_DECODER("ED448", ed448, ecx, SubjectPublicKeyInfo);
|
/openssl/crypto/aes/asm/ |
H A D | aes-x86_64.pl | 60 $s2="%ecx"; 1382 mov %esi,%ecx # %ecx=bits 1420 xor %ecx,%ecx 1437 add \$1,%ecx 1455 xor %ecx,%ecx 1473 cmp \$7,%ecx 1475 add \$1,%ecx 1500 xor %ecx,%ecx 1518 cmp \$6,%ecx 1520 add \$1,%ecx [all …]
|
H A D | vpaes-x86_64.pl | 723 mov \$0,%ecx 776 mov \$1,%ecx 1154 mov \$20,%ecx # 10*sizeof(%xmm0)/sizeof(%rax) 1167 mov \$`1232/8`,%ecx # sizeof(CONTEXT)
|
/openssl/crypto/bn/asm/ |
H A D | rsaz-2k-avx512.pl | 78 mov OPENSSL_ia32cap_P+8(%rip), %ecx 80 and \$`1<<31|1<<21|1<<17|1<<16`, %ecx # avx512vl + avx512ifma + avx512dq + avx512f 81 cmp \$`1<<31|1<<21|1<<17|1<<16`, %ecx 82 cmove %ecx,%eax 265 kmovb %k4, %ecx # k5h 665 mov \$154,%ecx # sizeof(CONTEXT)
|
/openssl/providers/implementations/include/prov/ |
H A D | ecx.h | 27 int ossl_ecx_dhkem_derive_private(ECX_KEY *ecx, unsigned char *privout,
|
/openssl/crypto/ec/asm/ |
H A D | ecp_nistz256-x86_64.pl | 512 mov \$0x80100, %ecx 514 cmp \$0x80100, %ecx 842 mov \$0x80100, %ecx 844 cmp \$0x80100, %ecx 1589 mov \$0x80100, %ecx 1611 mov \$0x80100, %ecx 1631 cmp \$0x80100, %ecx 1912 mov \$0x80100, %ecx 1931 cmp \$0x80100, %ecx 3241 mov \$0x80100, %ecx [all …]
|
H A D | x25519-x86_64.pl | 494 mov OPENSSL_ia32cap_P+8(%rip),%ecx 496 and \$0x80100,%ecx 497 cmp \$0x80100,%ecx 498 cmove %ecx,%eax 1012 mov \$154,%ecx # sizeof(CONTEXT)
|
/openssl/crypto/perlasm/ |
H A D | x86_64-support.pl | 32 return "%ecx";
|
/openssl/test/ssl-tests/ |
H A D | 28-seclevel.cnf.in | 88 push @tests, @tests_ec unless disabled("ecx"); 89 push @tests, @tests_tls1_2 unless disabled("tls1_2") || disabled("ecx");
|
/openssl/providers/common/der/ |
H A D | build.info | 60 IF[{- !$disabled{ecx} -}] 110 IF[{- !$disabled{ecx} -}]
|
/openssl/providers/common/include/prov/ |
H A D | der_ecx.h.in | 13 #include "crypto/ecx.h"
|
/openssl/providers/implementations/exchange/ |
H A D | build.info | 24 IF[{- !$disabled{ecx} -}]
|