Lines Matching +full:key +full:- +full:up

2  * Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
3 * Copyright 2015-2016 Cryptography Research, Inc.
18 /* Number of bytes in an EdDSA public key. */
21 /* Number of bytes in an EdDSA private key. */
24 /* Number of bytes in an EdDSA private key. */
35 * EdDSA key generation. This function uses a different (non-Decaf) encoding.
37 * pubkey (out): The public key.
38 * privkey (in): The private key.
51 * privkey (in): The private key.
52 * pubkey (in): The public key.
57 * context (in): A "context" for this signature of up to 255 bytes.
60 * For Ed25519, it is unsafe to use the same key for both prehashed and
61 * non-prehashed messages, at least without some very careful protocol-level
78 * privkey (in): The private key.
79 * pubkey (in): The public key.
82 * context (in): A "context" for this signature of up to 255 bytes. Must be the
86 * For Ed25519, it is unsafe to use the same key for both prehashed and
87 * non-prehashed messages, at least without some very careful protocol-level
103 * Uses the standard (i.e. less-strict) verification formula.
106 * pubkey (in): The public key.
111 * context (in): A "context" for this signature of up to 255 bytes.
114 * For Ed25519, it is unsafe to use the same key for both prehashed and
115 * non-prehashed messages, at least without some very careful protocol-level
132 * Uses the standard (i.e. less-strict) verification formula.
135 * pubkey (in): The public key.
138 * context (in): A "context" for this signature of up to 255 bytes. Must be the
142 * For Ed25519, it is unsafe to use the same key for both prehashed and
143 * non-prehashed messages, at least without some very careful protocol-level
162 * is the whole point). So if you decode from EdDSA and re-encode to
168 * these ratios is always exactly the cofactor 4, so the cofactor ends up
199 * EdDSA to ECDH private key conversion
200 * Using the appropriate hash function, hash the EdDSA private key
201 * and keep only the lower bytes to get the ECDH private key
203 * x (out): The ECDH private key as in RFC7748
204 * ed (in): The EdDSA private key