Searched refs:hashes (Results 1 – 10 of 10) sorted by relevance
/optee_os-3.20.0/scripts/ |
A D | sign_helper_kms.py | 10 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 D | print_tee_hash.py | 8 from cryptography.hazmat.primitives import hashes 69 h = hashes.Hash(hashes.SHA256(), default_backend())
|
A D | sign_encrypt.py | 42 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 D | fobj.c | 413 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 D | fobj.h | 87 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 D | sub.mk | 3 subdirs-y += hashes
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | boot.c | 422 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 D | ssl.h | 3114 const int *hashes );
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ssl_tls.c | 4712 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 D | ChangeLog | 1931 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