Searched refs:field_len (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/ec/ |
H A D | ec2_oct.c | 133 size_t field_len, i, skip; in ossl_ec_GF2m_simple_point2oct() local 161 POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ossl_ec_GF2m_simple_point2oct() 199 skip = field_len - BN_num_bytes(x); in ossl_ec_GF2m_simple_point2oct() 200 if (skip > field_len) { in ossl_ec_GF2m_simple_point2oct() 210 if (i != 1 + field_len) { in ossl_ec_GF2m_simple_point2oct() 218 if (skip > field_len) { in ossl_ec_GF2m_simple_point2oct() 263 size_t field_len, enc_len; in ossl_ec_GF2m_simple_oct2point() local 310 field_len = (m + 7) / 8; in ossl_ec_GF2m_simple_oct2point() 313 POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ossl_ec_GF2m_simple_oct2point() 335 if (!BN_bin2bn(buf + 1, field_len, x)) in ossl_ec_GF2m_simple_oct2point() [all …]
|
H A D | ecp_oct.c | 167 size_t field_len, i, skip; in ossl_ec_GFp_simple_point2oct() local 189 field_len = BN_num_bytes(group->field); in ossl_ec_GFp_simple_point2oct() 192 POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ossl_ec_GFp_simple_point2oct() 225 skip = field_len - BN_num_bytes(x); in ossl_ec_GFp_simple_point2oct() 226 if (skip > field_len) { in ossl_ec_GFp_simple_point2oct() 236 if (i != 1 + field_len) { in ossl_ec_GFp_simple_point2oct() 244 if (skip > field_len) { in ossl_ec_GFp_simple_point2oct() 282 size_t field_len, enc_len; in ossl_ec_GFp_simple_oct2point() local 315 POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ossl_ec_GFp_simple_oct2point() 334 if (!BN_bin2bn(buf + 1, field_len, x)) in ossl_ec_GFp_simple_oct2point() [all …]
|
Completed in 8 milliseconds