Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 58) sorted by relevance

123

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes2.c92 !LTC_ASN1_IS_TYPE(s->next->child->child->next, LTC_ASN1_SEQUENCE) || in pbes2_extract()
93 !LTC_ASN1_IS_TYPE(s->next->child->next, LTC_ASN1_SEQUENCE) || in pbes2_extract()
94 !LTC_ASN1_IS_TYPE(s->next->child->next->child, LTC_ASN1_OBJECT_IDENTIFIER)) { in pbes2_extract()
116 lenc = s->next->child->next->child; in pbes2_extract()
122 !LTC_ASN1_IS_TYPE(lkdf->next->child->next, LTC_ASN1_INTEGER)) { in pbes2_extract()
126 liter = lkdf->next->child->next; in pbes2_extract()
127 loptseq = liter->next; in pbes2_extract()
134 loptseq = loptseq->next; in pbes2_extract()
147 res->iv = lenc->next; in pbes2_extract()
156 LTC_ASN1_IS_TYPE(lenc->next->child->next, LTC_ASN1_OCTET_STRING)) { in pbes2_extract()
[all …]
A Dpbes1.c97 if (!LTC_ASN1_IS_TYPE(s->next, LTC_ASN1_SEQUENCE) || in pbes1_extract()
98 !LTC_ASN1_IS_TYPE(s->next->child, LTC_ASN1_OCTET_STRING) || in pbes1_extract()
99 !LTC_ASN1_IS_TYPE(s->next->child->next, LTC_ASN1_INTEGER)) { in pbes1_extract()
111 res->salt = s->next->child; in pbes1_extract()
112 res->iterations = mp_get_int(s->next->child->next->data); in pbes1_extract()
/optee_os-3.20.0/core/mm/
A Dtee_mm.c85 nn->next = p->next; in tee_mm_add()
86 p->next = nn; in tee_mm_add()
101 entry = entry->next; in tee_mm_stats_allocated()
169 entry->next->size)) in tee_mm_alloc()
233 (offslo < e->next->offset + e->next->size)) || in fit_in_gap()
239 (e->next != NULL && (offshi > e->next->offset)) || in fit_in_gap()
277 offshi < entry->next->offset + entry->next->size) in tee_mm_alloc2()
280 while (entry->next != NULL && offslo > entry->next->offset) in tee_mm_alloc2()
315 while (entry->next != NULL && entry->next != p) in tee_mm_free()
318 if (!entry->next) in tee_mm_free()
[all …]
/optee_os-3.20.0/ta/pkcs11/src/
A Dserializer.c23 args->next = in; in serialargs_init()
62 args->next = orig_next; in alloc_and_get()
77 return alloc_and_get(args, args->next, NULL, 0, out, size); in serialargs_alloc_and_get()
83 void *ptr = args->next; in serialargs_get_ptr()
86 if (ADD_OVERFLOW((vaddr_t)args->next, size, &next_end)) in serialargs_get_ptr()
96 args->size, args->size - (args->next - args->start), size); in serialargs_get_ptr()
100 args->next += size; in serialargs_get_ptr()
112 char *orig_next = args->next; in serialargs_alloc_get_one_attribute()
133 char *orig_next = args->next; in serialargs_alloc_get_attributes()
152 return args->next < args->start + args->size; in serialargs_remaining_bytes()
A Dserializer.h21 char *next; member
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_pkcs8.c32 cur = cur->next; in s_der_flexi_sequence_cmp()
90 if (LTC_ASN1_IS_TYPE(seq->child->next, LTC_ASN1_OBJECT_IDENTIFIER)) { in ecc_import_pkcs8()
99 ltc_asn1_list *curve_oid = seq->child->next; in ecc_import_pkcs8()
105 else if ((err = s_der_flexi_sequence_cmp(seq->child->next, flexi_should)) == CRYPT_OK) { in ecc_import_pkcs8()
131 LTC_ASN1_IS_TYPE(field->child->next, LTC_ASN1_INTEGER) && in ecc_import_pkcs8()
133 LTC_ASN1_IS_TYPE(point->child->next, LTC_ASN1_OCTET_STRING)) { in ecc_import_pkcs8()
135 ltc_asn1_list *prime = field->child->next; in ecc_import_pkcs8()
139 …if ((err = mp_read_unsigned_bin(b, point->child->next->data, point->child->next->size)) != CRYPT_O… in ecc_import_pkcs8()
160 LTC_ASN1_IS_TYPE(p->child->next, LTC_ASN1_OCTET_STRING)) { in ecc_import_pkcs8()
161 ltc_asn1_list *lk = p->child->next; in ecc_import_pkcs8()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dmemory_buffer_alloc.c51 memory_header *next; member
114 cur = cur->next; in debug_chain()
195 cur = heap.first->next; in verify_chain()
218 cur = cur->next; in verify_chain()
323 new->next = cur->next; in buffer_alloc_calloc()
331 if( new->next != NULL ) in buffer_alloc_calloc()
348 cur->next = new; in buffer_alloc_calloc()
428 hdr->prev->next = hdr->next; in buffer_alloc_free()
440 if( hdr->next != NULL && hdr->next->alloc == 0 ) in buffer_alloc_free()
446 old = hdr->next; in buffer_alloc_free()
[all …]
A Dx509_crl.c284 if( cur_entry->next == NULL ) in x509_get_entries()
287 cur_entry = cur_entry->next; in x509_get_entries()
320 crl = crl->next; in mbedtls_x509_crl_parse_der()
326 if( crl->next == NULL ) in mbedtls_x509_crl_parse_der()
333 crl = crl->next; in mbedtls_x509_crl_parse_der()
683 entry = entry->next; in mbedtls_x509_crl_info()
728 name_cur = crl_cur->issuer.next; in mbedtls_x509_crl_free()
732 name_cur = name_cur->next; in mbedtls_x509_crl_free()
737 entry_cur = crl_cur->entry.next; in mbedtls_x509_crl_free()
753 crl_cur = crl_cur->next; in mbedtls_x509_crl_free()
[all …]
A Dssl_cache.c73 cur = cur->next; in mbedtls_ssl_cache_get()
182 cur = cur->next; in mbedtls_ssl_cache_set()
215 cache->chain = cur->next; in mbedtls_ssl_cache_set()
216 cur->next = NULL; in mbedtls_ssl_cache_set()
217 prv->next = cur; in mbedtls_ssl_cache_set()
235 prv->next = cur; in mbedtls_ssl_cache_set()
327 cur = cur->next; in mbedtls_ssl_cache_free()
A Dasn1parse.c322 mbedtls_asn1_sequence *next = seq->next; in mbedtls_asn1_sequence_free() local
325 seq = next; in mbedtls_asn1_sequence_free()
347 cur->next = in asn1_get_sequence_of_cb()
350 if( cur->next == NULL ) in asn1_get_sequence_of_cb()
353 cur = cur->next; in asn1_get_sequence_of_cb()
458 *head = cur->next; in mbedtls_asn1_free_named_data_list()
475 list = list->next; in mbedtls_asn1_find_named_data()
A Dx509_crt.c349 a = a->next; in x509_name_cmp()
350 b = b->next; in x509_name_cmp()
694 cur = cur->next; in x509_get_subject_alt_name()
705 cur->next = NULL; in x509_get_subject_alt_name()
867 cur->next = NULL; in x509_get_certificate_policies()
1352 crt = crt->next; in mbedtls_x509_crt_parse_der_internal()
1367 crt = crt->next; in mbedtls_x509_crt_parse_der_internal()
1869 cur = cur->next; in x509_info_subject_alt_name()
2012 cur = cur->next; in x509_info_ext_key_usage()
2041 cur = cur->next; in x509_info_cert_policies()
[all …]
A Dx509.c400 cur->next = NULL; in x509_get_attr_type_value()
458 cur->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_get_name()
460 if( cur->next == NULL ) in mbedtls_x509_get_name()
463 cur = cur->next; in mbedtls_x509_get_name()
472 cur->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_get_name()
474 if( cur->next == NULL ) in mbedtls_x509_get_name()
477 cur = cur->next; in mbedtls_x509_get_name()
760 name = name->next; in mbedtls_x509_dn_gets()
800 name = name->next; in mbedtls_x509_dn_gets()
/optee_os-3.20.0/core/drivers/crypto/caam/
A Dcaam_pwr.c46 while (SLIST_NEXT(elem, next)) in caam_pwr_add_backup()
47 elem = SLIST_NEXT(elem, next); in caam_pwr_add_backup()
49 SLIST_INSERT_AFTER(elem, newelem, next); in caam_pwr_add_backup()
51 SLIST_INSERT_HEAD(&data_list, newelem, next); in caam_pwr_add_backup()
64 SLIST_FOREACH(elem, &data_list, next) { in do_save_regs()
94 SLIST_FOREACH(elem, &data_list, next) { in do_restore_regs()
/optee_os-3.20.0/core/kernel/
A Dlockdep.c113 struct lockdep_bfs *next = NULL; in lockdep_bfs_queue_delete() local
430 struct lockdep_edge *next = NULL; in lockdep_node_delete() local
441 struct lockdep_node *next = NULL; in lockdep_graph_delete() local
452 struct lockdep_lock *next = NULL; in lockdep_queue_delete() local
464 struct lockdep_edge *next = NULL; in lockdep_node_destroy() local
484 next = STAILQ_NEXT(edge, link); in lockdep_node_destroy()
485 while (next) { in lockdep_node_destroy()
486 if (next->to == node) { in lockdep_node_destroy()
488 lockdep_free_edge(next); in lockdep_node_destroy()
490 edge = next; in lockdep_node_destroy()
[all …]
/optee_os-3.20.0/core/lib/zlib/
A Dinftrees.c55 code FAR *next; /* next available space in table */ local
202 next = *table; /* current table to fill in */
237 next[(huff >> drop) + fill] = here;
265 next += min; /* here min is 1 << curr */
287 (*table)[low].val = (unsigned short)(next - *table);
298 next[huff] = here;
A Dinflate.c291 static code *next; local
299 next = fixed;
300 lenfix = next;
307 distfix = next;
799 next += copy;
1408 unsigned next; local
1411 next = 0;
1415 else if (buf[next])
1419 next++;
1422 return next;
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/pkcs8/
A Dpkcs8_decode_flexi.c44 LTC_ASN1_IS_TYPE(l->child->child->next, LTC_ASN1_SEQUENCE) && in pkcs8_decode_flexi()
45 LTC_ASN1_IS_TYPE(l->child->next, LTC_ASN1_OCTET_STRING)) { in pkcs8_decode_flexi()
61 pbes.enc_data = l->child->next; in pkcs8_decode_flexi()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/x509/
A Dx509_decode_public_key_from_certificate.c17 && ((l)->next != NULL) \
18 && ((l)->next->type == LTC_ASN1_BIT_STRING)
96 l = l->next; in x509_decode_public_key_from_certificate()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dx509_crl.h60 struct mbedtls_x509_crl_entry *next; member
93 struct mbedtls_x509_crl *next; member
A Dasn1.h180 struct mbedtls_asn1_sequence *next; /**< The next entry in the sequence. */ member
191 struct mbedtls_asn1_named_data *next; /**< The next entry in the sequence. */ member
A Dssl_cache.h75 mbedtls_ssl_cache_entry *next; /*!< chain pointer */ member
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
A Dder_sequence_shrink.c36 in = in->next; in der_sequence_shrink()
A Dder_decode_sequence_flexi.c21 (*l)->next = XCALLOC(1, sizeof(ltc_asn1_list)); in s_new_element()
22 if ((*l)->next == NULL) { in s_new_element()
25 (*l)->next->prev = *l; in s_new_element()
26 *l = (*l)->next; in s_new_element()
490 XFREE(l->next); in s_der_decode_sequence_flexi()
491 l->next = NULL; in s_der_decode_sequence_flexi()
A Dder_sequence_free.c47 l = in->next; in der_sequence_free()
/optee_os-3.20.0/core/drivers/crypto/caam/include/
A Dcaam_pwr.h39 SLIST_ENTRY(backup_data) next; /* Link to next data */

Completed in 31 milliseconds

123