Searched refs:q_leaf_identifier (Results 1 – 4 of 4) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | lms.c | 308 unsigned int q_leaf_identifier; in mbedtls_lms_verify() local 356 q_leaf_identifier = MBEDTLS_GET_UINT32_BE(sig, SIG_Q_LEAF_ID_OFFSET); in mbedtls_lms_verify() 358 if (q_leaf_identifier >= MERKLE_TREE_LEAF_NODE_AM(ctx->params.type)) { in mbedtls_lms_verify() 365 MBEDTLS_PUT_UINT32_BE(q_leaf_identifier, ots_params.q_leaf_identifier, 0); in mbedtls_lms_verify() 383 MERKLE_TREE_INTERNAL_NODE_AM(ctx->params.type) + q_leaf_identifier, in mbedtls_lms_verify() 391 q_leaf_identifier; in mbedtls_lms_verify() 710 uint32_t q_leaf_identifier; in mbedtls_lms_sign() local 735 q_leaf_identifier = ctx->q_next_usable_key; in mbedtls_lms_sign() 746 ret = mbedtls_lmots_sign(&ctx->ots_private_keys[q_leaf_identifier], in mbedtls_lms_sign() 760 MBEDTLS_PUT_UINT32_BE(q_leaf_identifier, sig, SIG_Q_LEAF_ID_OFFSET); in mbedtls_lms_sign() [all …]
|
| H A D | lmots.c | 141 status = psa_hash_update(&op, params->q_leaf_identifier, in create_digit_array_with_checksum() 254 params->q_leaf_identifier, in hash_digit_array() 333 status = psa_hash_update(&op, params->q_leaf_identifier, in public_key_from_hashed_digit_array() 418 memcpy(ctx->params.q_leaf_identifier, in mbedtls_lmots_import_public_key() 450 ctx->params.q_leaf_identifier, in mbedtls_lmots_export_public_key() 577 uint32_t q_leaf_identifier, in mbedtls_lmots_generate_private_key() argument 602 MBEDTLS_PUT_UINT32_BE(q_leaf_identifier, ctx->params.q_leaf_identifier, 0); in mbedtls_lmots_generate_private_key() 620 ctx->params.q_leaf_identifier, in mbedtls_lmots_generate_private_key()
|
| H A D | lmots.h | 228 uint32_t q_leaf_identifier,
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | lms.h | 96 unsigned char MBEDTLS_PRIVATE(q_leaf_identifier[MBEDTLS_LMOTS_Q_LEAF_ID_LEN]); /*!< Which
|