Lines Matching refs:size
227 a->size = (socklen_t)sizeof(a->addr.sin6);
235 a->size = (socklen_t)sizeof(a->addr.sin);
242 a->size = (socklen_t)sizeof(a->addr.sin6);
245 a->size = (socklen_t)sizeof(a->addr.sin);
248 a->size = (socklen_t)s->size;
257 s->size = (unsigned char)sizeof(s->addr);
262 s->size = (socklen_t)sizeof(s->addr.ipv6);
269 s->size = (socklen_t)sizeof(s->addr.ipv4);
277 s->size = (socklen_t)sizeof(s->addr.sin6);
280 s->size = (socklen_t)sizeof(s->addr.sin);
283 s->size = (socklen_t)a->size;
966 pem_base64_decode(const uint8_t *data, size_t size) {
967 uint8_t *tbuf = coap_malloc_type(COAP_STRING, size);
975 for (i = 0; i < size; i++) {
1023 typedef coap_binary_t *(*asn1_callback)(const uint8_t *data, size_t size);
1026 asn1_verify_privkey(const uint8_t *data, size_t size) {
1029 if (size - 1 == DTLS_EC_KEY_SIZE && *data == '\000') {
1030 --size;
1035 if (size != DTLS_EC_KEY_SIZE)
1042 asn1_verify_pubkey(const uint8_t *data, size_t size) {
1047 if (size - 2 != 2 * DTLS_EC_KEY_SIZE)
1054 asn1_verify_curve(const uint8_t *data, size_t size) {
1060 if (size != sizeof(prime256v1_oid) ||
1061 memcmp(data, prime256v1_oid, size) != 0)
1068 asn1_verify_pkcs8_version(const uint8_t *data, size_t size) {
1070 if (size != 1 || *data != 0)
1077 asn1_verify_ec_identifier(const uint8_t *data, size_t size) {
1083 if (size != sizeof(ec_public_key_oid) ||
1084 memcmp(data, ec_public_key_oid, size) != 0)
1091 asn1_verify_ec_key(const uint8_t *data, size_t size) {
1094 if (size == 0)