Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c130 uint32_t outBuf[AES_BLOCK_WORDS]; in handleEncrypt() local
132 aesCbcEncr(&ctx, data + i, outBuf); in handleEncrypt()
137 fwrite(outBuf, AES_BLOCK_SIZE, 1, out); in handleEncrypt()
145 aesCbcEncr(&ctx, hash, outBuf); in handleEncrypt()
146 fwrite(outBuf, AES_BLOCK_SIZE, 1, out); in handleEncrypt()
147 aesCbcEncr(&ctx, hash + AES_BLOCK_WORDS, outBuf); in handleEncrypt()
148 err = fwrite(outBuf, AES_BLOCK_SIZE, 1, out) != 1; in handleEncrypt()
162 uint32_t outBuf[AES_BLOCK_WORDS]; in handleDecrypt() local
206 aesCbcDecr(&ctx, data + i, outBuf); in handleDecrypt()
210 sha2processBytes(&shaState, outBuf, size); in handleDecrypt()
[all …]