Home
last modified time | relevance | path

Searched refs:field_len (Results 1 – 2 of 2) sorted by relevance

/external/openssl/crypto/ec/
Dec2_smpl.c505 size_t field_len, i, skip; in ec_GF2m_simple_point2oct() local
532 field_len = (EC_GROUP_get_degree(group) + 7) / 8; in ec_GF2m_simple_point2oct()
533 ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len; in ec_GF2m_simple_point2oct()
569 skip = field_len - BN_num_bytes(x); in ec_GF2m_simple_point2oct()
570 if (skip > field_len) in ec_GF2m_simple_point2oct()
582 if (i != 1 + field_len) in ec_GF2m_simple_point2oct()
590 skip = field_len - BN_num_bytes(y); in ec_GF2m_simple_point2oct()
591 if (skip > field_len) in ec_GF2m_simple_point2oct()
637 size_t field_len, enc_len; in ec_GF2m_simple_oct2point() local
672 field_len = (EC_GROUP_get_degree(group) + 7) / 8; in ec_GF2m_simple_oct2point()
[all …]
Decp_smpl.c773 size_t field_len, i, skip; in ec_GFp_simple_point2oct() local
800 field_len = BN_num_bytes(&group->field); in ec_GFp_simple_point2oct()
801 ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len; in ec_GFp_simple_point2oct()
834 skip = field_len - BN_num_bytes(x); in ec_GFp_simple_point2oct()
835 if (skip > field_len) in ec_GFp_simple_point2oct()
847 if (i != 1 + field_len) in ec_GFp_simple_point2oct()
855 skip = field_len - BN_num_bytes(y); in ec_GFp_simple_point2oct()
856 if (skip > field_len) in ec_GFp_simple_point2oct()
899 size_t field_len, enc_len; in ec_GFp_simple_oct2point() local
934 field_len = BN_num_bytes(&group->field); in ec_GFp_simple_oct2point()
[all …]