Searched refs:num_blocks (Results 1 – 4 of 4) sorted by relevance
/optee_os/core/arch/arm/crypto/ |
A D | aes-gcm-ce.c | 81 size_t num_blocks) in internal_aes_gcm_ghash_update() argument 103 while (num_blocks) { in encrypt_pl() 116 num_blocks--; in encrypt_pl() 124 while (num_blocks) { in decrypt_pl() 131 num_blocks--; in decrypt_pl() 141 assert(num_blocks && !(num_blocks % 2)); in update_payload_2block() 176 size_t num_blocks, void *dst) in internal_aes_gcm_update_payload_blocks() argument 178 size_t nb = ROUNDDOWN(num_blocks, 2); in internal_aes_gcm_update_payload_blocks() 192 if (nb != num_blocks) { in internal_aes_gcm_update_payload_blocks() 214 size_t num_blocks, void *dst) in internal_aes_gcm_update_payload_blocks() argument [all …]
|
/optee_os/core/pta/tests/ |
A D | fs_htree.c | 223 size_t num_blocks, size_t salt) in do_range() argument 228 for (n = 0; n < num_blocks; n++) { in do_range() 240 size_t num_blocks, size_t salt) in do_range_backwards() argument 245 for (n = 0; n < num_blocks; n++) { in do_range_backwards() 246 res = fn(ht, num_blocks - 1 - n + begin, salt); in do_range_backwards() 435 struct test_aux *aux = aux_alloc(num_blocks); in test_write_read() 451 for (n = 0; n < num_blocks; n += 3) { in test_write_read() 467 size_t num_blocks, struct test_aux *aux, in test_corrupt_type() argument 565 aux = aux_alloc(num_blocks); in test_corrupt() 593 for (n = 0; n < num_blocks; n++) { in test_corrupt() [all …]
|
/optee_os/core/crypto/ |
A D | aes-gcm-sw.c | 39 size_t num_blocks) in internal_aes_gcm_ghash_update() argument 47 for (n = 0; n < num_blocks; n++) in internal_aes_gcm_ghash_update() 70 const uint8_t *src, size_t num_blocks, uint8_t *dst) in encrypt_pl() argument 75 for (n = 0; n < num_blocks; n++) { in encrypt_pl() 82 for (n = 0; n < num_blocks; n++) { in encrypt_pl() 114 for (n = 0; n < num_blocks; n++) { in decrypt_pl() 121 for (n = 0; n < num_blocks; n++) { in decrypt_pl() 135 size_t num_blocks, void *dst) in internal_aes_gcm_update_payload_blocks() argument 137 assert(!state->buf_pos && num_blocks); in internal_aes_gcm_update_payload_blocks() 140 encrypt_pl(state, ek, src, num_blocks, dst); in internal_aes_gcm_update_payload_blocks() [all …]
|
/optee_os/core/include/crypto/ |
A D | internal_aes-gcm.h | 123 size_t num_blocks); 132 size_t num_blocks, void *dst);
|
Completed in 8 milliseconds