Home
last modified time | relevance | path

Searched refs:otstype (Results 1 – 2 of 2) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dlms.c50 #define SIG_TYPE_OFFSET(otstype) (SIG_OTS_SIG_OFFSET + \ argument
51 MBEDTLS_LMOTS_SIG_LEN(otstype))
52 #define SIG_PATH_OFFSET(otstype) (SIG_TYPE_OFFSET(otstype) + \ argument
131 MBEDTLS_LMOTS_N_HASH_LEN(params->otstype)); in create_merkle_leaf_value()
259 uint32_t otstype = MBEDTLS_GET_UINT32_BE(key, PUBLIC_KEY_OTSTYPE_OFFSET); in mbedtls_lms_import_public_key() local
260 if (otstype != (uint32_t) MBEDTLS_LMOTS_SHA256_N32_W8) { in mbedtls_lms_import_public_key()
263 ctx->params.otstype = (mbedtls_lmots_algorithm_type_t) otstype; in mbedtls_lms_import_public_key()
289 MBEDTLS_PUT_UINT32_BE(ctx->params.otstype, key, PUBLIC_KEY_OTSTYPE_OFFSET); in mbedtls_lms_export_public_key()
328 if (ctx->params.otstype in mbedtls_lms_verify()
333 if (sig_size != MBEDTLS_LMS_SIG_LEN(ctx->params.type, ctx->params.otstype)) { in mbedtls_lms_verify()
[all …]
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dlms.h55 #define MBEDTLS_LMS_SIG_LEN(type, otstype) (MBEDTLS_LMOTS_Q_LEAF_ID_LEN + \ argument
56 MBEDTLS_LMOTS_SIG_LEN(otstype) + \
164 mbedtls_lmots_algorithm_type_t MBEDTLS_PRIVATE(otstype); /*!< The LM-OTS key type identifier as
366 mbedtls_lmots_algorithm_type_t otstype,