Searched refs:otstype (Results 1 – 2 of 2) sorted by relevance
52 #define SIG_TYPE_OFFSET(otstype) (SIG_OTS_SIG_OFFSET + \ argument53 MBEDTLS_LMOTS_SIG_LEN(otstype))54 #define SIG_PATH_OFFSET(otstype) (SIG_TYPE_OFFSET(otstype) + \ argument126 MBEDTLS_LMOTS_N_HASH_LEN(params->otstype) ); in create_merkle_leaf_value()228 mbedtls_lmots_algorithm_type_t otstype; in mbedtls_lms_import_public_key() local243 otstype = mbedtls_lms_network_bytes_to_unsigned_int( MBEDTLS_LMOTS_TYPE_LEN, in mbedtls_lms_import_public_key()245 if( otstype != MBEDTLS_LMOTS_SHA256_N32_W8 ) in mbedtls_lms_import_public_key()249 ctx->params.otstype = otstype; in mbedtls_lms_import_public_key()279 mbedtls_lms_unsigned_int_to_network_bytes( ctx->params.otstype, in mbedtls_lms_export_public_key()323 if( ctx->params.otstype in mbedtls_lms_verify()[all …]
67 #define MBEDTLS_LMS_SIG_LEN(type, otstype) (MBEDTLS_LMOTS_Q_LEAF_ID_LEN + \ argument68 MBEDTLS_LMOTS_SIG_LEN(otstype) + \175 mbedtls_lmots_algorithm_type_t MBEDTLS_PRIVATE(otstype); /*!< The LM-OTS key type identifier as377 mbedtls_lmots_algorithm_type_t otstype,