Home
last modified time | relevance | path

Searched refs:ecx (Results 1 – 25 of 47) sorted by relevance

12

/openssl-master/crypto/ec/
A Decx_backend.c55 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()
79 pubkey = ecx->pubkey; in ossl_ecx_key_fromdata()
86 if ((param_pub_key != NULL && pubkeylen != ecx->keylen) in ossl_ecx_key_fromdata()
87 || (param_priv_key != NULL && privkeylen != ecx->keylen)) in ossl_ecx_key_fromdata()
90 if (param_pub_key == NULL && !ossl_ecx_public_from_private(ecx)) in ossl_ecx_key_fromdata()
93 ecx->haspubkey = 1; in ossl_ecx_key_fromdata()
222 ECX_KEY *ecx = NULL; in ossl_ecx_key_from_pkcs8() local
244 ecx = ossl_ecx_key_op(palg, p, plen, EVP_PKEY_NONE, KEY_OP_PRIVATE, in ossl_ecx_key_from_pkcs8()
[all …]
A Decx_meth.c61 ECX_KEY *ecx; in ecx_pub_decode() local
68 if (ecx != NULL) { in ecx_pub_decode()
92 if (ecx != NULL) { in ecx_priv_decode_ex()
265 ECX_KEY *ecx = NULL; in ecx_set_priv_key() local
273 if (ecx != NULL) { in ecx_set_priv_key()
283 ECX_KEY *ecx = NULL; in ecx_set_pub_key() local
291 if (ecx != NULL) { in ecx_set_pub_key()
394 if (ecx == NULL) { in ecx_generic_import_from()
409 ECX_KEY *ecx = from->pkey.ecx, *dupkey = NULL; in ecx_pkey_copy() local
412 if (ecx != NULL) { in ecx_pkey_copy()
[all …]
/openssl-master/crypto/
A Dx86_64cpuid.pl91 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-master/crypto/sha/asm/
A Dsha256-mb-x86_64.pl306 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 …]
A Dsha1-mb-x86_64.pl424 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-master/providers/implementations/keymgmt/
A Decx_kmgmt.c264 ECX_KEY *ecx = key; in ecx_get_params() local
277 && (ecx->type == ECX_KEY_TYPE_X25519 in ecx_get_params()
279 if (!OSSL_PARAM_set_octet_string(p, ecx->pubkey, ecx->keylen)) in ecx_get_params()
283 return key_to_params(ecx, NULL, params); in ecx_get_params()
714 if (!ossl_ed25519_public_from_private(ecx->libctx, pub, ecx->privkey, in ecx_key_pairwise_check()
719 if (!ossl_ed448_public_from_private(ecx->libctx, pub, ecx->privkey, in ecx_key_pairwise_check()
726 return CRYPTO_memcmp(ecx->pubkey, pub, ecx->keylen) == 0; in ecx_key_pairwise_check()
731 const ECX_KEY *ecx = keydata; in ecx_validate() local
732 int ok = keylen == ecx->keylen; in ecx_validate()
746 ok = ok && ecx->haspubkey; in ecx_validate()
[all …]
/openssl-master/crypto/md5/asm/
A Dmd5-x86_64.pl74 $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-master/crypto/whrlpool/asm/
A Dwp-x86_64.pl118 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
572 mov \$154,%ecx # sizeof(CONTEXT)
/openssl-master/providers/implementations/encode_decode/
A Dencode_key2text.c561 const ECX_KEY *ecx = key; in ecx_to_text() local
570 if (ecx->privkey == NULL) { in ecx_to_text()
575 switch (ecx->type) { in ecx_to_text()
591 if (!ecx->haspubkey) { in ecx_to_text()
596 switch (ecx->type) { in ecx_to_text()
615 && !print_labeled_buf(out, "priv:", ecx->privkey, ecx->keylen)) in ecx_to_text()
618 && !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 …]
A Dencode_key2any.c1398 MAKE_ENCODER(ed25519, ecx, EVP_PKEY_ED25519, PrivateKeyInfo, der);
1399 MAKE_ENCODER(ed25519, ecx, EVP_PKEY_ED25519, PrivateKeyInfo, pem);
1404 MAKE_ENCODER(ed448, ecx, EVP_PKEY_ED448, PrivateKeyInfo, der);
1405 MAKE_ENCODER(ed448, ecx, EVP_PKEY_ED448, PrivateKeyInfo, pem);
1406 MAKE_ENCODER(ed448, ecx, EVP_PKEY_ED448, SubjectPublicKeyInfo, der);
1410 MAKE_ENCODER(x25519, ecx, EVP_PKEY_X25519, PrivateKeyInfo, der);
1411 MAKE_ENCODER(x25519, ecx, EVP_PKEY_X25519, PrivateKeyInfo, pem);
1416 MAKE_ENCODER(x448, ecx, EVP_PKEY_ED448, PrivateKeyInfo, der);
1417 MAKE_ENCODER(x448, ecx, EVP_PKEY_ED448, PrivateKeyInfo, pem);
1418 MAKE_ENCODER(x448, ecx, EVP_PKEY_ED448, SubjectPublicKeyInfo, der);
[all …]
A Ddecode_der2key.c762 MAKE_DECODER("X25519", x25519, ecx, PrivateKeyInfo);
763 MAKE_DECODER("X25519", x25519, ecx, SubjectPublicKeyInfo);
764 MAKE_DECODER("X448", x448, ecx, PrivateKeyInfo);
765 MAKE_DECODER("X448", x448, ecx, SubjectPublicKeyInfo);
766 MAKE_DECODER("ED25519", ed25519, ecx, PrivateKeyInfo);
767 MAKE_DECODER("ED25519", ed25519, ecx, SubjectPublicKeyInfo);
768 MAKE_DECODER("ED448", ed448, ecx, PrivateKeyInfo);
769 MAKE_DECODER("ED448", ed448, ecx, SubjectPublicKeyInfo);
/openssl-master/crypto/aes/asm/
A Daes-x86_64.pl60 $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 …]
A Dvpaes-x86_64.pl723 mov \$0,%ecx
776 mov \$1,%ecx
1153 mov \$20,%ecx # 10*sizeof(%xmm0)/sizeof(%rax)
1166 mov \$`1232/8`,%ecx # sizeof(CONTEXT)
A Daesni-mb-x86_64.pl106 ($rounds,$one,$sink,$offset)=("%eax","%ecx","%rbp","%rbx");
122 mov OPENSSL_ia32cap_P+4(%rip),%ecx
123 test \$`1<<28`,%ecx # AVX bit
404 mov OPENSSL_ia32cap_P+4(%rip),%ecx
405 test \$`1<<28`,%ecx # AVX bit
1365 mov \$20,%ecx
1377 mov \$154,%ecx # sizeof(CONTEXT)
/openssl-master/crypto/bn/asm/
A Drsaz-avx512.pl68 mov OPENSSL_ia32cap_P+8(%rip), %ecx
70 and \$`1<<31|1<<21|1<<17|1<<16`, %ecx # avx512vl + avx512ifma + avx512dq + avx512f
71 cmp \$`1<<31|1<<21|1<<17|1<<16`, %ecx
72 cmove %ecx,%eax
255 kmovb %k4, %ecx # k5h
658 mov \$154,%ecx # sizeof(CONTEXT)
A Drsaz-x86_64.pl1077 movl \$7, %ecx
1176 decl %ecx
1628 movl \$8, %ecx
1700 decl %ecx
1722 movl \$8, %ecx
1767 decl %ecx # of=0
1905 movl \$7, %ecx
1977 decl %ecx
2310 mov \$20,%ecx
2336 mov \$154,%ecx # sizeof(CONTEXT)
/openssl-master/crypto/perlasm/
A Dx86_64-support.pl32 return "%ecx";
/openssl-master/crypto/ec/asm/
A Decp_nistz256-x86_64.pl510 mov \$0x80100, %ecx
512 cmp \$0x80100, %ecx
840 mov \$0x80100, %ecx
842 cmp \$0x80100, %ecx
1587 mov \$0x80100, %ecx
1609 mov \$0x80100, %ecx
1629 cmp \$0x80100, %ecx
1910 mov \$0x80100, %ecx
1929 cmp \$0x80100, %ecx
3239 mov \$0x80100, %ecx
[all …]
A Dx25519-x86_64.pl494 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-master/providers/common/include/prov/
A Dder_ecx.h.in13 #include "crypto/ecx.h"
/openssl-master/crypto/chacha/asm/
A Dchacha-x86_64.pl589 xor %ecx,%eax
1333 movzb (%rsp,%r10),%ecx
1335 xor %ecx,%eax
1790 xor %ecx,%eax
2435 xor %ecx,%eax
2685 xor %ecx,%eax
2853 xor %ecx,%eax
3359 xor %ecx,%eax
3748 xor %ecx,%eax
3913 neg %ecx
[all …]
/openssl-master/include/crypto/
A Dec.h77 int ossl_ec_key_fromdata(EC_KEY *ecx, const OSSL_PARAM params[],
A Decx.h140 int ossl_ecx_key_fromdata(ECX_KEY *ecx, const OSSL_PARAM params[],
/openssl-master/engines/asm/
A De_padlock-x86_64.pl65 cmp \$`"0x".unpack("H*",'slua')`,%ecx
73 cmp \$`"0x".unpack("H*",' ia')`,%ecx
/openssl-master/crypto/camellia/asm/
A Dcmll-x86_64.pl60 $t0="%eax";$t1="%ebx";$t2="%ecx";$t3="%edx";
69 $arg0d=$win64?"%ecx":"%edi";
734 mov \$32,%ecx
1085 mov \$`1232/8`,%ecx # sizeof(CONTEXT)

Completed in 60 milliseconds

12