fixed memory bug
This commit is contained in:
parent
f9ed78a327
commit
feba89a3f7
|
@ -114,7 +114,6 @@ mic(const uint8_t *m, uint8_t m_len,
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_len > 0) {
|
if(m_len > 0) {
|
||||||
m = a + a_len;
|
|
||||||
pos = 0;
|
pos = 0;
|
||||||
while(pos < m_len) {
|
while(pos < m_len) {
|
||||||
for(i = 0; (pos + i < m_len) && (i < AES_128_BLOCK_SIZE); i++) {
|
for(i = 0; (pos + i < m_len) && (i < AES_128_BLOCK_SIZE); i++) {
|
||||||
|
|
Loading…
Reference in a new issue