Searched refs:otstype (Results 1 – 2 of 2) sorted by relevance
50 #define SIG_TYPE_OFFSET(otstype) (SIG_OTS_SIG_OFFSET + \ argument51 MBEDTLS_LMOTS_SIG_LEN(otstype))52 #define SIG_PATH_OFFSET(otstype) (SIG_TYPE_OFFSET(otstype) + \ argument131 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() local260 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 …]
55 #define MBEDTLS_LMS_SIG_LEN(type, otstype) (MBEDTLS_LMOTS_Q_LEAF_ID_LEN + \ argument56 MBEDTLS_LMOTS_SIG_LEN(otstype) + \164 mbedtls_lmots_algorithm_type_t MBEDTLS_PRIVATE(otstype); /*!< The LM-OTS key type identifier as366 mbedtls_lmots_algorithm_type_t otstype,