Searched refs:otstype (Results 1 - 2 of 2) sorted by relevance
/third_party/mbedtls/library/ |
H A D | lms.c | 50 #define SIG_TYPE_OFFSET(otstype) (SIG_OTS_SIG_OFFSET + \ 51 MBEDTLS_LMOTS_SIG_LEN(otstype)) 52 #define SIG_PATH_OFFSET(otstype) (SIG_TYPE_OFFSET(otstype) + \ 128 MBEDTLS_LMOTS_N_HASH_LEN(params->otstype)); in create_merkle_leaf_value() 239 mbedtls_lmots_algorithm_type_t otstype; in mbedtls_lms_import_public_key() local 251 otstype = (mbedtls_lmots_algorithm_type_t) in mbedtls_lms_import_public_key() 253 if (otstype != MBEDTLS_LMOTS_SHA256_N32_W8) { in mbedtls_lms_import_public_key() 256 ctx->params.otstype = otstype; in mbedtls_lms_import_public_key() 554 mbedtls_lms_generate_private_key(mbedtls_lms_private_t *ctx, mbedtls_lms_algorithm_type_t type, mbedtls_lmots_algorithm_type_t otstype, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, const unsigned char *seed, size_t seed_size) mbedtls_lms_generate_private_key() argument [all...] |
/third_party/mbedtls/include/mbedtls/ |
H A D | lms.h | 67 #define MBEDTLS_LMS_SIG_LEN(type, otstype) (MBEDTLS_LMOTS_Q_LEAF_ID_LEN + \ 68 MBEDTLS_LMOTS_SIG_LEN(otstype) + \ 176 mbedtls_lmots_algorithm_type_t MBEDTLS_PRIVATE(otstype); /*!< The LM-OTS key type identifier as 366 * \param otstype The LMOTS parameter set identifier. 378 mbedtls_lmots_algorithm_type_t otstype,
|
Completed in 2 milliseconds