Home
last modified time | relevance | path

Searched refs:edkey (Results 1 – 2 of 2) sorted by relevance

/third_party/openssl/providers/implementations/signature/
Deddsa_sig.c34 static int s390x_ed25519_digestsign(const ECX_KEY *edkey, unsigned char *sig,
36 static int s390x_ed448_digestsign(const ECX_KEY *edkey, unsigned char *sig,
38 static int s390x_ed25519_digestverify(const ECX_KEY *edkey,
41 static int s390x_ed448_digestverify(const ECX_KEY *edkey,
91 ECX_KEY *edkey = (ECX_KEY *)vedkey; in eddsa_digest_signverify_init() local
103 if (edkey == NULL) { in eddsa_digest_signverify_init()
111 if (!ossl_ecx_key_up_ref(edkey)) { in eddsa_digest_signverify_init()
125 switch (edkey->type) { in eddsa_digest_signverify_init()
127 ret = ret && ossl_DER_w_algorithmIdentifier_ED25519(&pkt, -1, edkey); in eddsa_digest_signverify_init()
130 ret = ret && ossl_DER_w_algorithmIdentifier_ED448(&pkt, -1, edkey); in eddsa_digest_signverify_init()
[all …]
/third_party/openssl/crypto/ec/
Decx_meth.c809 const ECX_KEY *edkey = evp_pkey_get_legacy(EVP_MD_CTX_get_pkey_ctx(ctx)->pkey); in pkey_ecd_digestsign25519() local
811 if (edkey == NULL) { in pkey_ecd_digestsign25519()
825 if (ossl_ed25519_sign(sig, tbs, tbslen, edkey->pubkey, edkey->privkey, NULL, in pkey_ecd_digestsign25519()
836 const ECX_KEY *edkey = evp_pkey_get_legacy(EVP_MD_CTX_get_pkey_ctx(ctx)->pkey); in pkey_ecd_digestsign448() local
838 if (edkey == NULL) { in pkey_ecd_digestsign448()
852 if (ossl_ed448_sign(edkey->libctx, sig, tbs, tbslen, edkey->pubkey, in pkey_ecd_digestsign448()
853 edkey->privkey, NULL, 0, edkey->propq) == 0) in pkey_ecd_digestsign448()
863 const ECX_KEY *edkey = evp_pkey_get_legacy(EVP_MD_CTX_get_pkey_ctx(ctx)->pkey); in pkey_ecd_digestverify25519() local
865 if (edkey == NULL) { in pkey_ecd_digestverify25519()
873 return ossl_ed25519_verify(tbs, tbslen, sig, edkey->pubkey, in pkey_ecd_digestverify25519()
[all …]