Function psa_crypto_sys::PSA_RAW_ECDH_KEY_AGREEMENT_OUTPUT_SIZE[][src]

pub unsafe fn PSA_RAW_ECDH_KEY_AGREEMENT_OUTPUT_SIZE(
    _key_type: psa_key_type_t,
    key_bits: usize
) -> usize

Retrieves the output size of an ECDH raw key agreement operation shared secret. Caller must ensure key type is compatible. Returns 0 if key size is too large. This does not match any PSA macro, it will be replaces by PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE once mbedTLS adds support for it.