Home
last modified time | relevance | path

Searched refs:hashes (Results 1 – 10 of 10) sorted by relevance

/optee_os-3.20.0/scripts/
A Dsign_helper_kms.py10 from cryptography.hazmat.primitives import hashes, serialization
47 hashes.HashAlgorithm]
61 if (isinstance(algorithm._algorithm, hashes.SHA256) or
62 isinstance(algorithm, hashes.SHA256)):
64 elif (isinstance(algorithm._algorithm, hashes.SHA384) or
65 isinstance(algorithm, hashes.SHA384)):
67 elif (isinstance(algorithm._algorithm, hashes.SHA512) or
68 isinstance(algorithm, hashes.SHA512)):
82 self, padding: AsymmetricPadding, algorithm: hashes.HashAlgorithm
A Dprint_tee_hash.py8 from cryptography.hazmat.primitives import hashes
69 h = hashes.Hash(hashes.SHA256(), default_backend())
A Dsign_encrypt.py42 from cryptography.hazmat.primitives import hashes
45 h = hashes.Hash(hashes.SHA512())
343 from cryptography.hazmat.primitives import hashes
361 self.chosen_hash = hashes.SHA256()
375 from cryptography.hazmat.primitives import hashes
377 h = hashes.Hash(self.chosen_hash, default_backend())
/optee_os-3.20.0/core/mm/
A Dfobj.c413 uint8_t *hashes; member
421 unsigned int num_pages, void *hashes, void *store) in rop_init() argument
423 rop->hashes = hashes; in rop_init()
433 assert(num_pages && hashes && store); in fobj_ro_paged_alloc()
439 rop_init(rop, &ops_ro_paged, num_pages, hashes, store); in fobj_ro_paged_alloc()
455 free(rop->hashes); in rop_uninit()
469 const uint8_t *hash = rop->hashes + page_idx * TEE_SHA256_HASH_SIZE; in rop_load_page_helper()
602 assert(num_pages && hashes && store); in fobj_ro_reloc_paged_alloc()
605 return fobj_ro_paged_alloc(num_pages, hashes, store); in fobj_ro_reloc_paged_alloc()
611 return fobj_ro_paged_alloc(num_pages, hashes, store); in fobj_ro_reloc_paged_alloc()
[all …]
/optee_os-3.20.0/core/include/mm/
A Dfobj.h87 struct fobj *fobj_ro_paged_alloc(unsigned int num_pages, void *hashes,
106 struct fobj *fobj_ro_reloc_paged_alloc(unsigned int num_pages, void *hashes,
/optee_os-3.20.0/core/lib/libtomcrypt/src/
A Dsub.mk3 subdirs-y += hashes
/optee_os-3.20.0/core/arch/arm/kernel/
A Dboot.c422 static struct fobj *ro_paged_alloc(tee_mm_entry_t *mm, void *hashes, in ro_paged_alloc() argument
431 return fobj_ro_reloc_paged_alloc(num_pages, hashes, reloc_offs, in ro_paged_alloc()
434 return fobj_ro_paged_alloc(num_pages, hashes, store); in ro_paged_alloc()
454 uint8_t *hashes = NULL; in init_runtime() local
475 hashes = malloc(hash_size); in init_runtime()
478 assert(hashes); in init_runtime()
479 asan_memcpy_unchecked(hashes, tmp_hashes, hash_size); in init_runtime()
514 const uint8_t *hash = hashes + n * TEE_SHA256_HASH_SIZE; in init_runtime()
567 fobj = ro_paged_alloc(mm, hashes, paged_store); in init_runtime()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl.h3114 const int *hashes );
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dssl_tls.c4712 const int *hashes ) in mbedtls_ssl_conf_sig_hashes() argument
4714 conf->sig_hashes = hashes; in mbedtls_ssl_conf_sig_hashes()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog1931 in configurations that omit certain hashes or public-key algorithms.
1969 * Improve testing in configurations that omit certain hashes or
3284 * md_list() now returns hashes strongest first

Completed in 41 milliseconds