Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dgetfattr.c35 ssize_t keys_len; local
45 while ((keys_len = lister(file, NULL, 0))) {
46 if (keys_len == -1) perror_msg("listxattr failed");
47 keys = xmalloc(keys_len);
48 if (lister(file, keys, keys_len) == keys_len) break;
52 if (keys_len == 0) return;
55 for (key = keys, key_count = 0; key-keys < keys_len; key += strlen(key)+1)
58 for (key = keys, i = 0; key-keys < keys_len; key += strlen(key)+1)
/external/mmc-utils/3rdparty/hmac_sha/
Dhmac_sha2.c477 unsigned int keys_len[7] = {20, 4, 20, 25, 20, 131, 131}; in main() local
483 keys[i] = malloc(keys_len[i]); in main()
490 memset(keys[0], 0x0b, keys_len[0]); in main()
492 memset(keys[2], 0xaa, keys_len[2]); in main()
493 for (i = 0; i < (int) keys_len[3]; i++) in main()
495 memset(keys[4], 0x0c, keys_len[4]); in main()
496 memset(keys[5], 0xaa, keys_len[5]); in main()
497 memset(keys[6], 0xaa, keys_len[6]); in main()
528 hmac_sha224(keys[i], keys_len[i], (unsigned char *) messages[i], in main()
531 hmac_sha256(keys[i], keys_len[i], (unsigned char *) messages[i], in main()
[all …]