Searched refs:coordinate_size (Results 1 – 1 of 1) sorted by relevance
/mbedtls-3.7.0/library/ |
D | psa_util.c | 505 unsigned char *raw, size_t coordinate_size) in convert_der_to_raw_single_int() argument 537 if (unpadded_len > coordinate_size) { in convert_der_to_raw_single_int() 541 padding_len = coordinate_size - unpadded_len; in convert_der_to_raw_single_int() 556 size_t coordinate_size = PSA_BITS_TO_BYTES(bits); in mbedtls_ecdsa_der_to_raw() local 561 if (raw_size < coordinate_size * 2) { in mbedtls_ecdsa_der_to_raw() 572 memset(raw_tmp, 0, 2 * coordinate_size); in mbedtls_ecdsa_der_to_raw() 575 ret = convert_der_to_raw_single_int(p, data_len, raw_tmp, coordinate_size); in mbedtls_ecdsa_der_to_raw() 583 ret = convert_der_to_raw_single_int(p, data_len, raw_tmp + coordinate_size, in mbedtls_ecdsa_der_to_raw() 584 coordinate_size); in mbedtls_ecdsa_der_to_raw() 596 memcpy(raw, raw_tmp, 2 * coordinate_size); in mbedtls_ecdsa_der_to_raw() [all …]
|