Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c65 uint32_t padLen = 0; in handleEncrypt() local
90 padLen = AES_BLOCK_SIZE - ((bufUsed - sizeof(*image)) % AES_BLOCK_SIZE); in handleEncrypt()
92 if (padLen) { in handleEncrypt()
93 reallocOrDie(buf, bufUsed + padLen); in handleEncrypt()
94 rand_bytes(buf + bufUsed, padLen); in handleEncrypt()
95 bufUsed += padLen; in handleEncrypt()