Lines Matching defs:coordinate_size
491 * coordinate_size bytes and it must be zeroed before
493 * \param coordinate_size Size (in bytes) of a single coordinate in raw
507 unsigned char *raw, size_t coordinate_size)
539 if (unpadded_len > coordinate_size) {
543 padding_len = coordinate_size - unpadded_len;
558 size_t coordinate_size = PSA_BITS_TO_BYTES(bits);
563 if (raw_size < coordinate_size * 2) {
566 if (2 * coordinate_size > sizeof(raw_tmp)) {
577 memset(raw_tmp, 0, 2 * coordinate_size);
580 ret = convert_der_to_raw_single_int(p, data_len, raw_tmp, coordinate_size);
588 ret = convert_der_to_raw_single_int(p, data_len, raw_tmp + coordinate_size,
589 coordinate_size);
601 memcpy(raw, raw_tmp, 2 * coordinate_size);
602 *raw_len = 2 * coordinate_size;