am ab6327bc: am 20cb2310: Merge "KeyStore: Initialize IV correctly." into gingerbread
Merge commit 'ab6327bc9ab70f3b4c1f509d038474982772207e' * commit 'ab6327bc9ab70f3b4c1f509d038474982772207e': KeyStore: Initialize IV correctly.
This commit is contained in:
commit
ecefe37e48
@ -166,7 +166,7 @@ static int8_t encrypt_blob(char *name, AES_KEY *aes_key)
|
||||
int length;
|
||||
int fd;
|
||||
|
||||
if (read(the_entropy, vector, AES_BLOCK_SIZE) != AES_BLOCK_SIZE) {
|
||||
if (read(the_entropy, blob.vector, AES_BLOCK_SIZE) != AES_BLOCK_SIZE) {
|
||||
return SYSTEM_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user