Searched refs:zero_block (Results 1 – 3 of 3) sorted by relevance
/system/extras/verity/ |
D | build_verity_tree.cpp | 311 unsigned char zero_block[block_size]; in main() local 312 memset(zero_block, 0, block_size); in main() 313 hash_block(md, zero_block, block_size, salt, salt_size, zero_block_hash, NULL); in main()
|
/system/keymaster/ |
D | ocb.c | 152 #define zero_block() _mm_setzero_si128() macro 190 #define zero_block() vec_splat_u32(0) macro 244 #define zero_block() vdupq_n_s8(0) macro 282 static inline block zero_block(void) { in zero_block() function 722 ctx->cached_Top = ctx->ad_checksum = zero_block(); in ae_init() 884 tmp.bl = zero_block(); in process_ad() 933 ctx->ad_offset = ctx->checksum = zero_block(); in ae_encrypt() 936 ctx->ad_checksum = zero_block(); in ae_encrypt() 1046 tmp.bl = zero_block(); in ae_encrypt() 1152 ctx->ad_offset = ctx->checksum = zero_block(); in ae_decrypt() [all …]
|
/system/extras/libfec/ |
D | fec_verity.cpp | 464 uint8_t zero_block[FEC_BLOCKSIZE]; in parse_table() local 465 memset(zero_block, 0, FEC_BLOCKSIZE); in parse_table() 467 if (verity_hash(f, zero_block, v->zero_hash) == -1) { in parse_table()
|