Searched refs:num_blocks (Results 1 – 4 of 4) sorted by relevance
| /optee_os/core/arch/arm/crypto/ |
| H A D | aes-gcm-ce.c | 67 static void pmull_ghash_update(int num_blocks, uint64_t dg[2], in pmull_ghash_update() argument 73 pmull_ghash_update_p64(num_blocks, dg, src, ghash_key, head); in pmull_ghash_update() 75 pmull_ghash_update_p8(num_blocks, dg, src, ghash_key, head); in pmull_ghash_update() 81 size_t num_blocks) in internal_aes_gcm_ghash_update() argument 90 pmull_ghash_update(num_blocks, dg, data, &state->ghash_key, head); in internal_aes_gcm_ghash_update() 99 const uint8_t *src, size_t num_blocks, uint8_t *dst) in encrypt_pl() argument 103 while (num_blocks) { in encrypt_pl() 116 num_blocks--; in encrypt_pl() 122 const uint8_t *src, size_t num_blocks, uint8_t *dst) in decrypt_pl() argument 124 while (num_blocks) { in decrypt_pl() [all …]
|
| /optee_os/core/crypto/ |
| H 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() 109 const uint8_t *src, size_t num_blocks, uint8_t *dst) in decrypt_pl() argument 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() [all …]
|
| /optee_os/core/pta/tests/ |
| H 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() 254 static TEE_Result htree_test_rewrite(struct test_aux *aux, size_t num_blocks, in htree_test_rewrite() argument 264 assert((w_unsync_begin + w_unsync_num) <= num_blocks); in htree_test_rewrite() 276 res = do_range(write_block, &ht, 0, num_blocks, salt); in htree_test_rewrite() 279 res = do_range(read_block, &ht, 0, num_blocks, salt); in htree_test_rewrite() 287 res = do_range_backwards(write_block, &ht, 0, num_blocks, salt); in htree_test_rewrite() [all …]
|
| /optee_os/core/include/crypto/ |
| H A D | internal_aes-gcm.h | 123 size_t num_blocks); 132 size_t num_blocks, void *dst);
|