/third_party/openssl/crypto/ec/ |
D | ecx_backend.c | 32 ossl_x25519_public_from_private(key->pubkey, key->privkey); in ossl_ecx_public_from_private() 35 if (!ossl_ed25519_public_from_private(key->libctx, key->pubkey, in ossl_ecx_public_from_private() 42 ossl_x448_public_from_private(key->pubkey, key->privkey); in ossl_ecx_public_from_private() 45 if (!ossl_ed448_public_from_private(key->libctx, key->pubkey, in ossl_ecx_public_from_private() 60 unsigned char *pubkey; in ossl_ecx_key_fromdata() local 91 pubkey = ecx->pubkey; in ossl_ecx_key_fromdata() 94 (void **)&pubkey, in ossl_ecx_key_fromdata() 95 sizeof(ecx->pubkey), &pubkeylen)) in ossl_ecx_key_fromdata() 137 memcpy(ret->pubkey, key->pubkey, sizeof(ret->pubkey)); in ossl_ecx_key_dup() 161 unsigned char *privkey, *pubkey; in ossl_ecx_key_op() local [all …]
|
D | ecx_meth.c | 41 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); in ecx_pub_encode() 56 static int ecx_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in ecx_pub_decode() argument 64 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode() 83 return CRYPTO_memcmp(akey->pubkey, bkey->pubkey, KEYLEN(a)) == 0; in ecx_pub_cmp() 199 if (ASN1_buf_print(bp, ecxkey->pubkey, KEYLEN(pkey), in ecx_key_print() 235 *ppt = OPENSSL_memdup(pkey->pkey.ecx->pubkey, KEYLEN(pkey)); in ecx_ctrl() 334 memcpy(pub, key->pubkey, *len); in ecx_get_pub_key() 363 key->pubkey, key->keylen)) in ecx_pkey_export_to() 727 const unsigned char **pubkey) in validate_ecx_derive() argument 746 *pubkey = peerkey->pubkey; in validate_ecx_derive() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
D | ecx_backend.c | 32 ossl_x25519_public_from_private(key->pubkey, key->privkey); in ossl_ecx_public_from_private() 35 if (!ossl_ed25519_public_from_private(key->libctx, key->pubkey, in ossl_ecx_public_from_private() 42 ossl_x448_public_from_private(key->pubkey, key->privkey); in ossl_ecx_public_from_private() 45 if (!ossl_ed448_public_from_private(key->libctx, key->pubkey, in ossl_ecx_public_from_private() 60 unsigned char *pubkey; in ossl_ecx_key_fromdata() local 91 pubkey = ecx->pubkey; in ossl_ecx_key_fromdata() 94 (void **)&pubkey, in ossl_ecx_key_fromdata() 95 sizeof(ecx->pubkey), &pubkeylen)) in ossl_ecx_key_fromdata() 138 memcpy(ret->pubkey, key->pubkey, sizeof(ret->pubkey)); in ossl_ecx_key_dup() 164 unsigned char *privkey, *pubkey; in ossl_ecx_key_op() local [all …]
|
D | ecx_meth.c | 41 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); in ecx_pub_encode() 56 static int ecx_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in ecx_pub_decode() argument 64 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) in ecx_pub_decode() 83 return CRYPTO_memcmp(akey->pubkey, bkey->pubkey, KEYLEN(a)) == 0; in ecx_pub_cmp() 199 if (ASN1_buf_print(bp, ecxkey->pubkey, KEYLEN(pkey), in ecx_key_print() 235 *ppt = OPENSSL_memdup(pkey->pkey.ecx->pubkey, KEYLEN(pkey)); in ecx_ctrl() 334 memcpy(pub, key->pubkey, *len); in ecx_get_pub_key() 363 key->pubkey, key->keylen)) in ecx_pkey_export_to() 727 const unsigned char **pubkey) in validate_ecx_derive() argument 746 *pubkey = peerkey->pubkey; in validate_ecx_derive() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
D | x_pubkey.c | 87 X509_PUBKEY *pubkey; in x509_pubkey_ex_free() local 89 if (pval != NULL && (pubkey = (X509_PUBKEY *)*pval) != NULL) { in x509_pubkey_ex_free() 90 X509_ALGOR_free(pubkey->algor); in x509_pubkey_ex_free() 91 ASN1_BIT_STRING_free(pubkey->public_key); in x509_pubkey_ex_free() 92 EVP_PKEY_free(pubkey->pkey); in x509_pubkey_ex_free() 93 OPENSSL_free(pubkey->propq); in x509_pubkey_ex_free() 94 OPENSSL_free(pubkey); in x509_pubkey_ex_free() 101 X509_PUBKEY *pubkey = (X509_PUBKEY *)*pval; in x509_pubkey_ex_populate() local 103 return (pubkey->algor != NULL in x509_pubkey_ex_populate() 104 || (pubkey->algor = X509_ALGOR_new()) != NULL) in x509_pubkey_ex_populate() [all …]
|
/third_party/openssl/crypto/x509/ |
D | x_pubkey.c | 87 X509_PUBKEY *pubkey; in x509_pubkey_ex_free() local 89 if (pval != NULL && (pubkey = (X509_PUBKEY *)*pval) != NULL) { in x509_pubkey_ex_free() 90 X509_ALGOR_free(pubkey->algor); in x509_pubkey_ex_free() 91 ASN1_BIT_STRING_free(pubkey->public_key); in x509_pubkey_ex_free() 92 EVP_PKEY_free(pubkey->pkey); in x509_pubkey_ex_free() 93 OPENSSL_free(pubkey->propq); in x509_pubkey_ex_free() 94 OPENSSL_free(pubkey); in x509_pubkey_ex_free() 101 X509_PUBKEY *pubkey = (X509_PUBKEY *)*pval; in x509_pubkey_ex_populate() local 103 return (pubkey->algor != NULL in x509_pubkey_ex_populate() 104 || (pubkey->algor = X509_ALGOR_new()) != NULL) in x509_pubkey_ex_populate() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_internal-modexp.c | 17 u8 *pubkey) in crypto_dh_init() argument 30 pubkey, &pubkey_len) < 0) in crypto_dh_init() 34 os_memmove(pubkey + pad, pubkey, pubkey_len); in crypto_dh_init() 35 os_memset(pubkey, 0, pad); in crypto_dh_init() 45 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() argument 53 os_memcmp(pubkey, prime, prime_len) >= 0)) in crypto_dh_derive_secret() 57 if (!pub || bignum_set_unsigned_bin(pub, pubkey, pubkey_len) < 0 || in crypto_dh_derive_secret() 81 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_internal-modexp.c | 17 u8 *pubkey) in crypto_dh_init() argument 30 pubkey, &pubkey_len) < 0) in crypto_dh_init() 34 os_memmove(pubkey + pad, pubkey, pubkey_len); in crypto_dh_init() 35 os_memset(pubkey, 0, pad); in crypto_dh_init() 45 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() argument 53 os_memcmp(pubkey, prime, prime_len) >= 0)) in crypto_dh_derive_secret() 57 if (!pub || bignum_set_unsigned_bin(pub, pubkey, pubkey_len) < 0 || in crypto_dh_derive_secret() 81 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len, in crypto_dh_derive_secret()
|
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
D | ecx_kmgmt.c | 158 const unsigned char *pa = key1->haspubkey ? key1->pubkey : NULL; in ecx_match() 159 const unsigned char *pb = key2->haspubkey ? key2->pubkey : NULL; in ecx_match() 217 key->pubkey, key->keylen)) in key_to_params() 299 if (!OSSL_PARAM_set_octet_string(p, ecx->pubkey, ecx->keylen)) in ecx_get_params() 405 void *buf = ecxkey->pubkey; in ecx_set_params() 408 || !OSSL_PARAM_get_octet_string(p, &buf, sizeof(ecxkey->pubkey), in ecx_set_params() 607 ossl_x25519_public_from_private(key->pubkey, privkey); in ecx_gen() 612 ossl_x448_public_from_private(key->pubkey, privkey); in ecx_gen() 615 if (!ossl_ed25519_public_from_private(gctx->libctx, key->pubkey, privkey, in ecx_gen() 620 if (!ossl_ed448_public_from_private(gctx->libctx, key->pubkey, privkey, in ecx_gen() [all …]
|
/third_party/openssl/providers/implementations/keymgmt/ |
D | ecx_kmgmt.c | 158 const unsigned char *pa = key1->haspubkey ? key1->pubkey : NULL; in ecx_match() 159 const unsigned char *pb = key2->haspubkey ? key2->pubkey : NULL; in ecx_match() 217 key->pubkey, key->keylen)) in key_to_params() 296 if (!OSSL_PARAM_set_octet_string(p, ecx->pubkey, ecx->keylen)) in ecx_get_params() 402 void *buf = ecxkey->pubkey; in ecx_set_params() 405 || !OSSL_PARAM_get_octet_string(p, &buf, sizeof(ecxkey->pubkey), in ecx_set_params() 604 ossl_x25519_public_from_private(key->pubkey, privkey); in ecx_gen() 609 ossl_x448_public_from_private(key->pubkey, privkey); in ecx_gen() 612 if (!ossl_ed25519_public_from_private(gctx->libctx, key->pubkey, privkey, in ecx_gen() 617 if (!ossl_ed448_public_from_private(gctx->libctx, key->pubkey, privkey, in ecx_gen() [all …]
|
/third_party/libuv/ |
D | MAINTAINERS.md | 6 - GPG key: D77B 1E34 243F BAF0 5F8E 9CC3 4F55 C8C8 46AB 89B9 (pubkey-bnoordhuis) 9 - GPG key: 94AE 3667 5C46 4D64 BAFA 68DD 7434 390B DBE9 B9C5 (pubkey-cjihrig) 10 - GPG key: 5735 3E0D BDAA A7E8 39B6 6A1A FF47 D5E4 AD8B 4FDC (pubkey-cjihrig-kb) 12 - GPG key: AF2E EA41 EC34 47BF DD86 FED9 D706 3CCE 19B7 E890 (pubkey-indutny) 14 - GPG key: AEAD 0A4B 6867 6775 1A0E 4AEF 34A2 5FB1 2824 6514 (pubkey-vtjnash) 18 - GPG Key: 5804 F999 8A92 2AFB A398 47A0 7183 5090 6134 887F (pubkey-erw7) 20 - GPG key: C82F A3AE 1CBE DC6B E46B 9360 C43C EC45 C17A B93C (pubkey-richardlau) 22 - GPG key: 612F 0EAD 9401 6223 79DF 4402 F28C 3C8D A33C 03BE (pubkey-santigimeno) 24 - GPG key: FDF5 1936 4458 319F A823 3DC9 410E 5553 AE9B C059 (pubkey-saghul) 50 $ git tag -s pubkey-saghul abcd1234 [all …]
|
/third_party/node/deps/uv/ |
D | MAINTAINERS.md | 6 - GPG key: D77B 1E34 243F BAF0 5F8E 9CC3 4F55 C8C8 46AB 89B9 (pubkey-bnoordhuis) 9 - GPG key: 94AE 3667 5C46 4D64 BAFA 68DD 7434 390B DBE9 B9C5 (pubkey-cjihrig) 10 - GPG key: 5735 3E0D BDAA A7E8 39B6 6A1A FF47 D5E4 AD8B 4FDC (pubkey-cjihrig-kb) 12 - GPG key: AF2E EA41 EC34 47BF DD86 FED9 D706 3CCE 19B7 E890 (pubkey-indutny) 14 - GPG key: AEAD 0A4B 6867 6775 1A0E 4AEF 34A2 5FB1 2824 6514 (pubkey-vtjnash) 18 - GPG Key: 5804 F999 8A92 2AFB A398 47A0 7183 5090 6134 887F (pubkey-erw7) 20 - GPG key: C82F A3AE 1CBE DC6B E46B 9360 C43C EC45 C17A B93C (pubkey-richardlau) 22 - GPG key: 612F 0EAD 9401 6223 79DF 4402 F28C 3C8D A33C 03BE (pubkey-santigimeno) 24 - GPG key: FDF5 1936 4458 319F A823 3DC9 410E 5553 AE9B C059 (pubkey-saghul) 50 $ git tag -s pubkey-saghul abcd1234 [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_attr_build.c | 23 struct wpabuf *pubkey = NULL; in wps_build_public_key() local 39 pubkey = wpabuf_dup(wps->wps->dh_pubkey); in wps_build_public_key() 62 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey); in wps_build_public_key() 63 if (wps->dh_privkey && pubkey) in wps_build_public_key() 64 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey); in wps_build_public_key() 69 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey); in wps_build_public_key() 70 pubkey = wpabuf_zeropad(pubkey, 192); in wps_build_public_key() 72 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) { in wps_build_public_key() 75 wpabuf_free(pubkey); in wps_build_public_key() 79 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey); in wps_build_public_key() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_attr_build.c | 23 struct wpabuf *pubkey = NULL; in wps_build_public_key() local 39 pubkey = wpabuf_dup(wps->wps->dh_pubkey); in wps_build_public_key() 62 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey); in wps_build_public_key() 63 if (wps->dh_privkey && pubkey) in wps_build_public_key() 64 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey); in wps_build_public_key() 69 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey); in wps_build_public_key() 70 pubkey = wpabuf_zeropad(pubkey, 192); in wps_build_public_key() 72 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) { in wps_build_public_key() 75 wpabuf_free(pubkey); in wps_build_public_key() 79 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey); in wps_build_public_key() [all …]
|
/third_party/openssl/crypto/cms/ |
D | cms_dh.c | 20 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in dh_cms_set_peerkey() argument 45 plen = ASN1_STRING_length(pubkey); in dh_cms_set_peerkey() 46 p = ASN1_STRING_get0_data(pubkey); in dh_cms_set_peerkey() 170 ASN1_BIT_STRING *pubkey; in dh_cms_decrypt() local 172 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &alg, &pubkey, in dh_cms_decrypt() 175 if (alg == NULL || pubkey == NULL) in dh_cms_decrypt() 177 if (!dh_cms_set_peerkey(pctx, alg, pubkey)) { in dh_cms_decrypt() 198 ASN1_BIT_STRING *pubkey; in dh_cms_encrypt() local 213 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &talg, &pubkey, in dh_cms_encrypt() 236 ASN1_STRING_set0(pubkey, penc, penclen); in dh_cms_encrypt() [all …]
|
D | cms_ec.c | 73 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in ecdh_cms_set_peerkey() argument 108 plen = ASN1_STRING_length(pubkey); in ecdh_cms_set_peerkey() 109 p = ASN1_STRING_get0_data(pubkey); in ecdh_cms_set_peerkey() 229 ASN1_BIT_STRING *pubkey; in ecdh_cms_decrypt() local 231 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &alg, &pubkey, in ecdh_cms_decrypt() 234 if (alg == NULL || pubkey == NULL) in ecdh_cms_decrypt() 236 if (!ecdh_cms_set_peerkey(pctx, alg, pubkey)) { in ecdh_cms_decrypt() 257 ASN1_BIT_STRING *pubkey; in ecdh_cms_encrypt() local 271 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &talg, &pubkey, in ecdh_cms_encrypt() 283 ASN1_STRING_set0(pubkey, penc, (int)enckeylen); in ecdh_cms_encrypt() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/cms/ |
D | cms_dh.c | 20 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in dh_cms_set_peerkey() argument 45 plen = ASN1_STRING_length(pubkey); in dh_cms_set_peerkey() 46 p = ASN1_STRING_get0_data(pubkey); in dh_cms_set_peerkey() 170 ASN1_BIT_STRING *pubkey; in dh_cms_decrypt() local 172 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &alg, &pubkey, in dh_cms_decrypt() 175 if (alg == NULL || pubkey == NULL) in dh_cms_decrypt() 177 if (!dh_cms_set_peerkey(pctx, alg, pubkey)) { in dh_cms_decrypt() 198 ASN1_BIT_STRING *pubkey; in dh_cms_encrypt() local 213 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &talg, &pubkey, in dh_cms_encrypt() 236 ASN1_STRING_set0(pubkey, penc, penclen); in dh_cms_encrypt() [all …]
|
D | cms_ec.c | 73 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in ecdh_cms_set_peerkey() argument 108 plen = ASN1_STRING_length(pubkey); in ecdh_cms_set_peerkey() 109 p = ASN1_STRING_get0_data(pubkey); in ecdh_cms_set_peerkey() 229 ASN1_BIT_STRING *pubkey; in ecdh_cms_decrypt() local 231 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &alg, &pubkey, in ecdh_cms_decrypt() 234 if (alg == NULL || pubkey == NULL) in ecdh_cms_decrypt() 236 if (!ecdh_cms_set_peerkey(pctx, alg, pubkey)) { in ecdh_cms_decrypt() 257 ASN1_BIT_STRING *pubkey; in ecdh_cms_encrypt() local 271 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &talg, &pubkey, in ecdh_cms_encrypt() 283 ASN1_STRING_set0(pubkey, penc, (int)enckeylen); in ecdh_cms_encrypt() [all …]
|
/third_party/openssl/test/ |
D | tls-provider.c | 45 unsigned char pubkey[XOR_KEY_SIZE]; member 280 secret[i] = pxorctx->key->privkey[i] ^ pxorctx->peerkey->pubkey[i]; in xor_derive() 366 memcpy(ct, ourkey->pubkey, XOR_KEY_SIZE); in xor_encapsulate() 414 memcpy(peerkey->pubkey, ct, XOR_KEY_SIZE); in xor_decapsulate() 491 memcpy(tokey->pubkey, fromkey->pubkey, XOR_KEY_SIZE); in xor_dup() 532 memcpy(p->data, key->pubkey, XOR_KEY_SIZE); in xor_get_params() 560 memcpy(key->pubkey, p->data, XOR_KEY_SIZE); in xor_set_params() 648 key->pubkey[i] = key->privkey[i] ^ private_constant[i]; in xor_gen() 663 unsigned char pubkey[XOR_KEY_SIZE]; in xor_import() local 664 void *pprivkey = privkey, *ppubkey = pubkey; in xor_import() [all …]
|
D | algorithmid_test.c | 23 static int test_spki_aid(X509_PUBKEY *pubkey, const char *filename) in test_spki_aid() argument 43 if (!TEST_true(X509_PUBKEY_get0_param(NULL, NULL, NULL, &alg, pubkey)) in test_spki_aid() 44 || !TEST_ptr(pkey = X509_PUBKEY_get0(pubkey))) in test_spki_aid() 105 X509_PUBKEY *pubkey = X509_get_X509_PUBKEY(cert); in test_x509_spki_aid() local 107 return test_spki_aid(pubkey, filename); in test_x509_spki_aid() 190 X509_PUBKEY *pubkey = NULL; in test_spki_file() local 200 if ((pubkey = PEM_read_bio_X509_PUBKEY(b, NULL, NULL, NULL)) == NULL) { in test_spki_file() 207 ret = test_spki_aid(pubkey, pubkey_filename); in test_spki_file() 210 X509_PUBKEY_free(pubkey); in test_spki_file()
|
/third_party/openssl/test/recipes/ |
D | 20-test_dgst.t | 25 my $pubkey = shift; 43 ok(run(app(['openssl', 'dgst', '-verify', $pubkey, 48 ok(!run(app(['openssl', 'dgst', '-verify', $pubkey, 57 my $pubkey = shift; 70 ok(run(app(['openssl', 'sha512', '-verify', $pubkey, 80 ok(run(app(['openssl', 'dgst', '-sha512', '-verify', $pubkey, 85 ok(!run(app(['openssl', 'dgst', '-sha512', '-verify', $pubkey,
|
/third_party/openssl/crypto/ec/curve448/ |
D | ed448.h | 43 uint8_t pubkey [EDDSA_448_PUBLIC_BYTES], 68 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], 94 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], 123 pubkey[EDDSA_448_PUBLIC_BYTES], 150 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES],
|
D | eddsa.c | 113 uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_derive_public_key() 148 ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa(pubkey, p); in ossl_c448_ed448_derive_public_key() 162 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_sign() 238 || !EVP_DigestUpdate(hashctx, pubkey, EDDSA_448_PUBLIC_BYTES) in ossl_c448_ed448_sign() 271 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_sign_prehash() 275 return ossl_c448_ed448_sign(ctx, signature, privkey, pubkey, hash, 64, 1, in ossl_c448_ed448_sign_prehash() 283 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_verify() 318 ossl_curve448_point_decode_like_eddsa_and_mul_by_ratio(pk_point, pubkey); in ossl_c448_ed448_verify() 337 || !EVP_DigestUpdate(hashctx, pubkey, EDDSA_448_PUBLIC_BYTES) in ossl_c448_ed448_verify() 367 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_verify_prehash() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/ec/curve448/ |
D | ed448.h | 43 uint8_t pubkey [EDDSA_448_PUBLIC_BYTES], 68 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], 94 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], 123 pubkey[EDDSA_448_PUBLIC_BYTES], 150 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES],
|
D | eddsa.c | 113 uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_derive_public_key() 148 ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa(pubkey, p); in ossl_c448_ed448_derive_public_key() 162 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_sign() 238 || !EVP_DigestUpdate(hashctx, pubkey, EDDSA_448_PUBLIC_BYTES) in ossl_c448_ed448_sign() 271 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_sign_prehash() 275 return ossl_c448_ed448_sign(ctx, signature, privkey, pubkey, hash, 64, 1, in ossl_c448_ed448_sign_prehash() 283 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_verify() 318 ossl_curve448_point_decode_like_eddsa_and_mul_by_ratio(pk_point, pubkey); in ossl_c448_ed448_verify() 337 || !EVP_DigestUpdate(hashctx, pubkey, EDDSA_448_PUBLIC_BYTES) in ossl_c448_ed448_verify() 367 const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], in ossl_c448_ed448_verify_prehash() [all …]
|