P_256_COORDINATE_BYTE_LENGTH = 32
P_384_COORDINATE_BYTE_LENGTH = 48
P_521_COORDINATE_BYTE_LENGTH = 66
ED25519_COORDINATE_BYTE_LENGTH = 32
ED448_COORDINATE_BYTE_LENGTH = 57

# The following Android keymaster constants are retrived from:
# https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h
KM_ORIGIN_GENERATED = 0
KM_PURPOSE_SIGN = 2
