Lines Matching defs:status
96 psa_status_t status;
140 status = check_ecc_parameters(PSA_KEY_TYPE_ECC_GET_FAMILY(type), &curve_bits);
141 if (status != PSA_SUCCESS) {
149 status = PSA_ERROR_NOT_SUPPORTED;
153 status = mbedtls_to_psa_error(
155 if (status != PSA_SUCCESS) {
162 status = mbedtls_to_psa_error(
166 if (status != PSA_SUCCESS) {
171 status = mbedtls_to_psa_error(
173 if (status != PSA_SUCCESS) {
178 status = mbedtls_to_psa_error(
183 if (status != PSA_SUCCESS) {
190 if (status != PSA_SUCCESS) {
195 return status;
215 psa_status_t status;
219 status = mbedtls_psa_ecp_load_representation(attributes->type,
224 if (status != PSA_SUCCESS) {
238 status = mbedtls_psa_ecp_export_key(attributes->type,
248 return status;
257 psa_status_t status;
263 status = mbedtls_to_psa_error(
267 if (status != PSA_SUCCESS) {
268 return status;
272 status = mbedtls_to_psa_error(
278 if (status != PSA_SUCCESS) {
282 return status;
284 status = mbedtls_to_psa_error(
286 return status;
295 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
298 status = mbedtls_psa_ecp_load_representation(
301 if (status != PSA_SUCCESS) {
302 return status;
305 status = mbedtls_psa_ecp_export_key(
313 return status;
324 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
349 status = mbedtls_to_psa_error(
355 return status;
371 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
377 status = mbedtls_psa_ecp_load_representation(attributes->type,
382 if (status != PSA_SUCCESS) {
383 return status;
457 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
464 status = mbedtls_psa_ecp_load_representation(attributes->type,
469 if (status != PSA_SUCCESS) {
470 return status;
478 status = PSA_ERROR_INVALID_SIGNATURE;
482 status = mbedtls_to_psa_error(mbedtls_mpi_read_binary(&r,
485 if (status != PSA_SUCCESS) {
489 status = mbedtls_to_psa_error(mbedtls_mpi_read_binary(&s,
492 if (status != PSA_SUCCESS) {
496 status = mbedtls_psa_ecp_load_public_part(ecp);
497 if (status != PSA_SUCCESS) {
501 status = mbedtls_to_psa_error(mbedtls_ecdsa_verify(&ecp->grp, hash,
510 return status;
528 psa_status_t status;
534 status = mbedtls_psa_ecp_load_representation(
540 if (status != PSA_SUCCESS) {
541 return status;
549 status = mbedtls_psa_ecp_load_representation(
555 if (status != PSA_SUCCESS) {
559 status = mbedtls_to_psa_error(
561 if (status != PSA_SUCCESS) {
564 status = mbedtls_to_psa_error(
566 if (status != PSA_SUCCESS) {
570 status = mbedtls_to_psa_error(
576 if (status != PSA_SUCCESS) {
580 status = PSA_ERROR_CORRUPTION_DETECTED;
583 if (status != PSA_SUCCESS) {
591 return status;