Lines Matching refs:op

99     psa_hash_operation_t op;  in create_merkle_leaf_value()  local
107 op = psa_hash_operation_init(); in create_merkle_leaf_value()
108 status = psa_hash_setup(&op, PSA_ALG_SHA_256); in create_merkle_leaf_value()
113 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_leaf_value()
120 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_leaf_value()
125 status = psa_hash_update(&op, D_LEAF_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_leaf_value()
130 status = psa_hash_update(&op, pub_key, in create_merkle_leaf_value()
136 status = psa_hash_finish(&op, out, MBEDTLS_LMS_M_NODE_BYTES(params->type), in create_merkle_leaf_value()
143 psa_hash_abort(&op); in create_merkle_leaf_value()
176 psa_hash_operation_t op; in create_merkle_internal_value() local
181 op = psa_hash_operation_init(); in create_merkle_internal_value()
182 status = psa_hash_setup(&op, PSA_ALG_SHA_256); in create_merkle_internal_value()
187 status = psa_hash_update(&op, params->I_key_identifier, in create_merkle_internal_value()
194 status = psa_hash_update(&op, r_node_idx_bytes, 4); in create_merkle_internal_value()
199 status = psa_hash_update(&op, D_INTR_CONSTANT_BYTES, D_CONST_LEN); in create_merkle_internal_value()
204 status = psa_hash_update(&op, left_node, in create_merkle_internal_value()
210 status = psa_hash_update(&op, right_node, in create_merkle_internal_value()
216 status = psa_hash_finish(&op, out, MBEDTLS_LMS_M_NODE_BYTES(params->type), in create_merkle_internal_value()
223 psa_hash_abort(&op); in create_merkle_internal_value()