Skip to main content
Version: Next

aes128

Standalone Functions

extract_close_to_uniformly_random_256_bits_from_ecdh_shared_secret_using_poseidon2

extract_close_to_uniformly_random_256_bits_from_ecdh_shared_secret_using_poseidon2(shared_secret, );

Parameters

NameType
shared_secretPoint

extract_close_to_uniformly_random_256_bits_from_ecdh_shared_secret_using_sha256

extract_close_to_uniformly_random_256_bits_from_ecdh_shared_secret_using_sha256(shared_secret, );

TODO(#10537): Consider nuking this function.

Parameters

NameType
shared_secretPoint

derive_aes_symmetric_key_and_iv_from_ecdh_shared_secret

derive_aes_symmetric_key_and_iv_from_ecdh_shared_secret(shared_secret, randomness_extraction_fn);

Parameters

NameType
shared_secretPoint
randomness_extraction_fnfn(Point

derive_aes_symmetric_key_and_iv_from_ecdh_shared_secret_using_sha256

derive_aes_symmetric_key_and_iv_from_ecdh_shared_secret_using_sha256(shared_secret, );

TODO(#10537): Consider nuking this function.

Parameters

NameType
shared_secretPoint

derive_aes_symmetric_key_and_iv_from_ecdh_shared_secret_using_poseidon2

derive_aes_symmetric_key_and_iv_from_ecdh_shared_secret_using_poseidon2(shared_secret, );

TODO(#10537): This function is currently unused. Consider using it instead of the sha256 one.

Parameters

NameType
shared_secretPoint