Lines Matching refs:op
99 psa_hash_operation_t op; in create_merkle_leaf_value() local
104 op = psa_hash_operation_init(); in create_merkle_leaf_value()
105 status = psa_hash_setup(&op, PSA_ALG_SHA_256); in create_merkle_leaf_value()
110 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_leaf_value()
117 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_leaf_value()
122 status = psa_hash_update(&op, D_LEAF_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_leaf_value()
127 status = psa_hash_update(&op, pub_key, in create_merkle_leaf_value()
133 status = psa_hash_finish(&op, out, MBEDTLS_LMS_M_NODE_BYTES(params->type), in create_merkle_leaf_value()
140 psa_hash_abort(&op); in create_merkle_leaf_value()
173 psa_hash_operation_t op; in create_merkle_internal_value() local
178 op = psa_hash_operation_init(); in create_merkle_internal_value()
179 status = psa_hash_setup(&op, PSA_ALG_SHA_256); in create_merkle_internal_value()
184 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_internal_value()
191 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_internal_value()
196 status = psa_hash_update(&op, D_INTR_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_internal_value()
201 status = psa_hash_update(&op, left_node, in create_merkle_internal_value()
207 status = psa_hash_update(&op, right_node, in create_merkle_internal_value()
213 status = psa_hash_finish(&op, out, MBEDTLS_LMS_M_NODE_BYTES(params->type), in create_merkle_internal_value()
220 psa_hash_abort(&op); in create_merkle_internal_value()