Home
last modified time | relevance | path

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

/mbedtls-latest/library/
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
128 MBEDTLS_LMOTS_N_HASH_LEN(params->otstype)); in create_merkle_leaf_value()
243 mbedtls_lmots_algorithm_type_t otstype; in mbedtls_lms_import_public_key() local
255 otstype = (mbedtls_lmots_algorithm_type_t) in mbedtls_lms_import_public_key()
257 if (otstype != MBEDTLS_LMOTS_SHA256_N32_W8) { in mbedtls_lms_import_public_key()
260 ctx->params.otstype = otstype; in mbedtls_lms_import_public_key()
286 MBEDTLS_PUT_UINT32_BE(ctx->params.otstype, key, PUBLIC_KEY_OTSTYPE_OFFSET); in mbedtls_lms_export_public_key()
325 if (ctx->params.otstype in mbedtls_lms_verify()
[all …]
/mbedtls-latest/include/mbedtls/
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,