#include <elf.h> #include <inttypes.h> #include <stdio.h> #include "symbol.h" size_t symbol__fprintf(struct symbol *sym, FILE *fp) { return fprintf(fp, " %" PRIx64 "-%" PRIx64 " %c %s\n", sym->start, sym->end, sym->binding == STB_GLOBAL ? 'g' : sym->binding == STB_LOCAL ? 'l' : 'w', sym->name); } size_t __symbol__fprintf_symname_offs(const struct symbol *sym, const struct addr_location *al, bool unknown_as_addr, bool print_offsets, FILE *fp) { unsigned long offset; size_t length; if (sym && sym->name) { length = fprintf(fp, "%s", sym->name); if (al && print_offsets) { if (al->addr < sym->end) offset = al->addr - sym->start; else offset = al->addr - al->map->start - sym->start; length += fprintf(fp, "+0x%lx", offset); } return length; } else if (al && unknown_as_addr) return fprintf(fp, "[%#" PRIx64 "]", al->addr); else return fprintf(fp, "[unknown]"); } size_t symbol__fprintf_symname_offs(const struct symbol *sym, const struct addr_location *al, FILE *fp) { return __symbol__fprintf_symname_offs(sym, al, false, true, fp); } size_t __symbol__fprintf_symname(const struct symbol *sym, const struct addr_location *al, bool unknown_as_addr, FILE *fp) { return __symbol__fprintf_symname_offs(sym, al, unknown_as_addr, false, fp); } size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp) { return __symbol__fprintf_symname_offs(sym, NULL, false, false, fp); } size_t dso__fprintf_symbols_by_name(struct dso *dso, enum map_type type, FILE *fp) { size_t ret = 0; struct rb_node *nd; struct symbol_name_rb_node *pos; for (nd = rb_first(&dso->symbol_names[type]); nd; nd = rb_next(nd)) { pos = rb_entry(nd, struct symbol_name_rb_node, rb_node); fprintf(fp, "%s\n", pos->sym.name); } return ret; } '>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/soc/mediatek/smi.h?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/soc/mediatek/smi.h?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/soc/mediatek/smi.h?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/soc/mediatek/smi.h'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='11e3b725cfc282efe9d4a354153e99d86a16af08'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/soc?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/soc/mediatek?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>mediatek</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/soc/mediatek/smi.h?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>smi.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='11e3b725cfc282efe9d4a354153e99d86a16af08'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Ard Biesheuvel <ard.biesheuvel@linaro.org></td><td class='right'>2017-01-17 13:46:29 +0000</td></tr> <tr><th>committer</th><td>Herbert Xu <herbert@gondor.apana.org.au></td><td class='right'>2017-01-23 22:41:33 +0800</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/soc/mediatek/smi.h?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>11e3b725cfc282efe9d4a354153e99d86a16af08</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/soc/mediatek/smi.h?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>8b5b9e0e1bcae1ab98ee652ffb7b13b05c209bd6</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/soc/mediatek/smi.h?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>include/soc/mediatek/smi.h</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/soc/mediatek/smi.h?h=nds-private-remove&id=d6040764adcb5cb6de1489422411d701c158bb69'>d6040764adcb5cb6de1489422411d701c158bb69</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/soc/mediatek/smi.h?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08&id2=d6040764adcb5cb6de1489422411d701c158bb69'>diff</a>)</td></tr></table> <div class='commit-subject'>crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes</div><div class='commit-msg'>Update the ARMv8 Crypto Extensions and the plain NEON AES implementations in CBC and CTR modes to return the next IV back to the skcipher API client. This is necessary for chaining to work correctly. Note that for CTR, this is only done if the request is a round multiple of the block size, since otherwise, chaining is impossible anyway. Cc: <stable@vger.kernel.org> # v3.16+ Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&id=11e3b725cfc282efe9d4a354153e99d86a16af08'>Diffstat</a> (limited to 'include/soc/mediatek/smi.h')</div><table summary='diffstat' class='diffstat'>