mbedtls_lmots_import_public_key() function
This function imports an LMOTS public key into a LMOTS context.
Arguments
ctx
The initialized LMOTS context store the key in.
key
The buffer from which the key will be read. #MBEDTLS_LMOTS_PUBLIC_KEY_LEN bytes will be read from this.
Return value
\c 0 on success. A non-zero error code on failure.
Notes
Before this function is called, the context must have been initialized. See IETF RFC8554 for details of the encoding of this public key.