Key agreement size definitions for the PSA Crypto API. More...
Key agreement size definitions for the PSA Crypto API.
Definition in file sizes.h.
Go to the source code of this file.
#define | PSA_RAW_KEY_AGREEMENT_OUTPUT_MAX_SIZE /* implementation-defined value */ |
Sufficient output buffer size for psa_raw_key_agreement(), for any of the supported key types and key agreement algorithms. More... | |
#define | PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE(key_type, key_bits) /* implementation-defined value */ |
Sufficient output buffer size for psa_raw_key_agreement(). More... | |
#define PSA_RAW_KEY_AGREEMENT_OUTPUT_MAX_SIZE /* implementation-defined value */ |
Sufficient output buffer size for psa_raw_key_agreement(), for any of the supported key types and key agreement algorithms.
If the size of the output buffer is at least this large, it is guaranteed that psa_raw_key_agreement() will not fail due to an insufficient buffer size.
See also PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE().
#define PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE | ( | key_type, | |
key_bits | |||
) | /* implementation-defined value */ |
Sufficient output buffer size for psa_raw_key_agreement().
If the size of the output buffer is at least this large, it is guaranteed that psa_raw_key_agreement() will not fail due to an insufficient buffer size. The actual size of the output might be smaller in any given call.
See also PSA_RAW_KEY_AGREEMENT_OUTPUT_MAX_SIZE.
key_type | A supported key type. |
key_bits | The size of the key in bits. |