Move remaining text about DSA out of the specification
This commit is contained in:
parent
e38ab1ac4f
commit
a130219ac0
3 changed files with 26 additions and 13 deletions
|
@ -641,10 +641,6 @@ psa_status_t psa_destroy_key(psa_key_handle_t handle);
|
|||
* coefficient INTEGER, -- (inverse of q) mod p
|
||||
* }
|
||||
* ```
|
||||
* - For DSA private keys (#PSA_KEY_TYPE_DSA_KEYPAIR), the format is the
|
||||
* representation of the private key `x` as a big-endian byte string. The
|
||||
* length of the byte string is the private key size in bytes (leading zeroes
|
||||
* are not stripped).
|
||||
* - For elliptic curve key pairs (key types for which
|
||||
* #PSA_KEY_TYPE_IS_ECC_KEYPAIR is true), the format is
|
||||
* a representation of the private value as a `ceiling(m/8)`-byte string
|
||||
|
@ -726,10 +722,6 @@ psa_status_t psa_export_key(psa_key_handle_t handle,
|
|||
* - The byte 0x04;
|
||||
* - `x_P` as a `ceiling(m/8)`-byte string, big-endian;
|
||||
* - `y_P` as a `ceiling(m/8)`-byte string, big-endian.
|
||||
* - For DSA public keys (#PSA_KEY_TYPE_DSA_PUBLIC_KEY), the format is the
|
||||
* representation of the public key `y = g^x mod p` as a big-endian byte
|
||||
* string. The length of the byte string is the length of the base prime `p`
|
||||
* in bytes.
|
||||
* - For Diffie-Hellman key exchange public keys (key types for which
|
||||
* #PSA_KEY_TYPE_IS_DH_PUBLIC_KEY is true),
|
||||
* the format is the representation of the public key `y = g^x mod p` as a
|
||||
|
@ -3256,8 +3248,7 @@ psa_status_t psa_key_derivation_output_bytes(
|
|||
* and continue reading output from the operation to derive the other
|
||||
* two keys).
|
||||
* - Finite-field Diffie-Hellman keys (#PSA_KEY_TYPE_DH_KEYPAIR(\c group)
|
||||
* where \c group designates any Diffie-Hellman group),
|
||||
* DSA keys (#PSA_KEY_TYPE_DSA_KEYPAIR), and
|
||||
* where \c group designates any Diffie-Hellman group) and
|
||||
* ECC keys on a Weierstrass elliptic curve
|
||||
* (#PSA_KEY_TYPE_ECC_KEYPAIR(\c curve) where \c curve designates a
|
||||
* Weierstrass curve).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue